From 3d6b8bcb6416201cfb17f0eb43ad2aa325266953 Mon Sep 17 00:00:00 2001 From: Jesus Date: Thu, 30 Jun 2016 11:25:23 +0100 Subject: [PATCH] CCN long name without spaces --- L0_processing.py | 6 +++--- L1_processing.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/L0_processing.py b/L0_processing.py index 2117c02..df26f6b 100644 --- a/L0_processing.py +++ b/L0_processing.py @@ -13,7 +13,7 @@ """ import sys -dir_scripts='/nfs/see-fs-01_users/eejvt/svn_test/official'#Change this to the downloaded folder +dir_scripts='/nfs/see-fs-01_users/eejvt/UKCA_postproc'#Change this to the downloaded folder sys.path.append(dir_scripts) import UKCA_lib as ukl import numpy as np @@ -35,12 +35,12 @@ reload(vd) -orog_file = '/nfs/a107/earkpr/ACID-PRUFF/Masaru/OAT5/teafw/ppfiles/n96_hadgem1_qrparm.orog_new.pp'#leeds foe-linux orog_file = '/group_workspaces/jasmin2/gassp/jvergaratemprado/n96_hadgem1_qrparm.orog_new.pp'#jasmin +orog_file = '/nfs/a107/earkpr/ACID-PRUFF/Masaru/OAT5/teafw/ppfiles/n96_hadgem1_qrparm.orog_new.pp'#leeds foe-linux #plt.interactive(0) #files_directory_UKCA='/nfs/a107/earkpr/DataVisualisation/UKCA/' files_directory_UKCA='/nfs/a201/'+username+'/UKCA_TEST_FILES/' -run='tebxd/' +run='tebxe/' files_directory=files_directory_UKCA+run pp_files=glob(files_directory+'*pp') date=pp_files[0][len(files_directory)+len(run)+3:-3] diff --git a/L1_processing.py b/L1_processing.py index 8fd94f9..19abc3a 100644 --- a/L1_processing.py +++ b/L1_processing.py @@ -268,6 +268,6 @@ def save_cube(cube): Rcrit=critical_diameter_per_mode[mode_name]/2. CCN_per_mode[mode_name]=N-ukl.lognormal_cummulative(N,Rcrit,rbar,sigma) CCN=CCN+CCN_per_mode[mode_name] - CCN.long_name='Cloud condensation nuclei at a supersaturation of %1.4f'%supersaturation + CCN.long_name='Cloud_condensation_nuclei_at_a_supersaturation_of_%1.4f'%supersaturation CCN._var_name='ccn'+str(supersaturation) save_cube(CCN)