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

Merge remote-tracking branch 'origin/master' into consistent_config

parents 0e88b899 2999475a
No related branches found
No related tags found
No related merge requests found
...@@ -166,11 +166,11 @@ def archive_filteroutput(time): ...@@ -166,11 +166,11 @@ def archive_filteroutput(time):
) )
try: # not necessary for next forecast run try: # not necessary for next forecast run
for iens in range(1, exp.n_ens + 1): ftypes = ['preassim', 'postassim']
copy( for ftype in ftypes:
cluster.dart_rundir + "/postassim_member_" + str(iens).zfill(4) + ".nc", for iens in range(1, exp.n_ens + 1):
archive_assim + "/postassim_member_" + str(iens).zfill(4) + ".nc", fname = "/"+ftype+"_member_" + str(iens).zfill(4) + ".nc"
) copy(cluster.dartrundir + fname, archive_assim + fname)
for f in ["output_mean.nc", "output_sd.nc"]: # copy mean and sd to archive for f in ["output_mean.nc", "output_sd.nc"]: # copy mean and sd to archive
copy(cluster.dart_rundir + "/" + f, archive_assim + "/" + f) copy(cluster.dart_rundir + "/" + f, archive_assim + "/" + f)
...@@ -431,7 +431,7 @@ def prepare_inflation_2(time, prior_init_time): ...@@ -431,7 +431,7 @@ def prepare_inflation_2(time, prior_init_time):
if os.path.isfile(f_prior): if os.path.isfile(f_prior):
copy(f_prior, f_new) copy(f_prior, f_new)
print(f_prior, 'copied to', f_new) print(f_prior, 'copied to', f_new)
else: else: # no prior inflation file at the first assimilation
warnings.warn(f_prior + ' does not exist. Using default file instead.') warnings.warn(f_prior + ' does not exist. Using default file instead.')
copy(f_default, f_new) copy(f_default, f_new)
...@@ -546,7 +546,7 @@ def main(time, prior_init_time, prior_valid_time, prior_path_exp): ...@@ -546,7 +546,7 @@ def main(time, prior_init_time, prior_valid_time, prior_path_exp):
print("prepare prior ensemble") print("prepare prior ensemble")
prepare_prior_ensemble(time, prior_init_time, prior_valid_time, prior_path_exp) prepare_prior_ensemble(time, prior_init_time, prior_valid_time, prior_path_exp)
print(" 1) get observations with specified obs-error") print(" get observations with specified obs-error")
oso = get_obsseq_out(time) oso = get_obsseq_out(time)
# is any observation error parametrized? # is any observation error parametrized?
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment