Skip to content
Snippets Groups Projects
Commit c83b650f authored by lkugler's avatar lkugler
Browse files

consistency obskind

parent d8faacf5
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ from dartwrf import utils ...@@ -14,7 +14,7 @@ from dartwrf import utils
##################### #####################
# Global variables # Global variables
from config.obskind import obs_kind_nrs # DART internal indices from dartwrf.obskind import obs_kind_nrs # DART internal indices
# position on earth for RTTOV ray geometry # position on earth for RTTOV ray geometry
lat0 = 45. lat0 = 45.
......
...@@ -121,7 +121,7 @@ class WorkFlows(object): ...@@ -121,7 +121,7 @@ class WorkFlows(object):
txt += '}' txt += '}'
f.write(txt) f.write(txt)
_dict_to_py(_obskind_read(), self.cluster.scripts_rundir+'/config/obskind.py') _dict_to_py(_obskind_read(), self.cluster.scripts_rundir+'/obskind.py')
# probably not needed # probably not needed
# shutil.copy('config/'+server_config, 'config/cluster.py') # whatever server, the config name is always the same! # shutil.copy('config/'+server_config, 'config/cluster.py') # whatever server, the config name is always the same!
...@@ -141,7 +141,7 @@ class WorkFlows(object): ...@@ -141,7 +141,7 @@ class WorkFlows(object):
Returns: Returns:
None None
""" """
cmd = self.cluster.python+' '+self.cluster.dartwrf_dir+'/dartwrf/prepare_wrfrundir.py '+init_time.strftime('%Y-%m-%d_%H:%M') cmd = self.cluster.python+' '+self.cluster.scripts_rundir+'/prepare_wrfrundir.py '+init_time.strftime('%Y-%m-%d_%H:%M')
print(cmd) print(cmd)
os.system(cmd) os.system(cmd)
...@@ -259,7 +259,7 @@ class WorkFlows(object): ...@@ -259,7 +259,7 @@ class WorkFlows(object):
if not os.path.exists(prior_path_exp): if not os.path.exists(prior_path_exp):
raise IOError('prior_path_exp does not exist: '+prior_path_exp) raise IOError('prior_path_exp does not exist: '+prior_path_exp)
cmd = (self.cluster.python+' '+self.cluster.dartwrf_dir+'/dartwrf/assim_synth_obs.py ' cmd = (self.cluster.python+' '+self.cluster.scripts_rundir+'/assim_synth_obs.py '
+assim_time.strftime('%Y-%m-%d_%H:%M ') +assim_time.strftime('%Y-%m-%d_%H:%M ')
+prior_init_time.strftime('%Y-%m-%d_%H:%M ') +prior_init_time.strftime('%Y-%m-%d_%H:%M ')
+prior_valid_time.strftime('%Y-%m-%d_%H:%M ') +prior_valid_time.strftime('%Y-%m-%d_%H:%M ')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment