diff --git a/dartwrf/create_obsseq.py b/dartwrf/create_obsseq.py index 5348d191dd35165b82ad6e4b3cc9b8f4a5459c66..c5998d1cf7ff799f11814d70b9224e0648771c92 100755 --- a/dartwrf/create_obsseq.py +++ b/dartwrf/create_obsseq.py @@ -14,7 +14,7 @@ from dartwrf import utils ##################### # 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 lat0 = 45. diff --git a/dartwrf/workflows.py b/dartwrf/workflows.py index 1eb4560bab326306b6f412a19541830b889c5ebd..1a66087042d27bc828e5fbe1f754ba246196204f 100644 --- a/dartwrf/workflows.py +++ b/dartwrf/workflows.py @@ -121,7 +121,7 @@ class WorkFlows(object): 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 # shutil.copy('config/'+server_config, 'config/cluster.py') # whatever server, the config name is always the same! @@ -141,7 +141,7 @@ class WorkFlows(object): Returns: 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) os.system(cmd) @@ -259,7 +259,7 @@ class WorkFlows(object): if not os.path.exists(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 ') +prior_init_time.strftime('%Y-%m-%d_%H:%M ') +prior_valid_time.strftime('%Y-%m-%d_%H:%M ')