From c83b650f5da23258d6375f63533dda45cd6f0755 Mon Sep 17 00:00:00 2001 From: lkugler <lukas.kugler@gmail.com> Date: Tue, 23 May 2023 11:07:01 +0200 Subject: [PATCH] consistency obskind --- dartwrf/create_obsseq.py | 2 +- dartwrf/workflows.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dartwrf/create_obsseq.py b/dartwrf/create_obsseq.py index 5348d19..c5998d1 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 1eb4560..1a66087 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 ') -- GitLab