Skip to content
Snippets Groups Projects
Commit e4091cc4 authored by weihe's avatar weihe
Browse files

removed argument from add_model_data_mismatch

parent 48b6bd1a
No related branches found
No related tags found
No related merge requests found
...@@ -320,9 +320,9 @@ def sample_step(dacycle, samples, statevector, obsoperator, lag, advance=False): ...@@ -320,9 +320,9 @@ def sample_step(dacycle, samples, statevector, obsoperator, lag, advance=False):
# Add model-data mismatch to all samples, this *might* use output from the ensemble in the future?? # Add model-data mismatch to all samples, this *might* use output from the ensemble in the future??
samples.add_model_data_mismatch(dacycle.dasystem['obs.sites.rc'],dacycle['co.filter']) samples.add_model_data_mismatch(dacycle.dasystem['obs.sites.rc'])
nprocs=2 nprocs=8
procs=[] procs=[]
out_q = mp.Queue() out_q = mp.Queue()
for proc in range(nprocs): for proc in range(nprocs):
...@@ -345,7 +345,7 @@ def sample_step(dacycle, samples, statevector, obsoperator, lag, advance=False): ...@@ -345,7 +345,7 @@ def sample_step(dacycle, samples, statevector, obsoperator, lag, advance=False):
resultdict.update(out_q.get()) resultdict.update(out_q.get())
for proc in procs: for proc in procs:
proc.join() proc.join()
# Read forecast model samples that were written to NetCDF files by each member. Add them to the exisiting # Read forecast model samples that were written to NetCDF files by each member. Add them to the exisiting
# Observation object for each sample loop. This data fill be written to file in the output folder for each sample cycle. # Observation object for each sample loop. This data fill be written to file in the output folder for each sample cycle.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment