Skip to content

Commit

Permalink
CCN long name without spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus committed Jun 30, 2016
1 parent 1f83c91 commit 3d6b8bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions L0_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion L1_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 3d6b8bc

Please sign in to comment.