From 39ee37e504e5da8fd437e0b54a0310baf7ac9d40 Mon Sep 17 00:00:00 2001 From: Wouter Peters <wouter.peters@wur.nl> Date: Tue, 11 Jun 2013 14:11:23 +0000 Subject: [PATCH] other filename to be read --- gridded/da/analysis/expand_mixingratios.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gridded/da/analysis/expand_mixingratios.py b/gridded/da/analysis/expand_mixingratios.py index 8094202..72dba2f 100755 --- a/gridded/da/analysis/expand_mixingratios.py +++ b/gridded/da/analysis/expand_mixingratios.py @@ -29,12 +29,12 @@ def write_mixing_ratios(dacycle): Write Sample information to NetCDF files. These files are organized by site and have an unlimited time axis to which data is appended each cycle. - The needed information is obtained from the sampleinfo.nc files and the original input data files from ObsPack. + The needed information is obtained from the sample_auxiliary.nc files and the original input data files from ObsPack. The steps are: (1) Create a directory to hold timeseries output files - (2) Read the sampleinfo.nc file for this cycle and get a list of original files they were obtained from + (2) Read the sample_auxiliary.nc file for this cycle and get a list of original files they were obtained from (3) For each file, copy the original data file from ObsPack (if not yet present) (4) Open the copied file, find the index of each observation, fill in the simulated data @@ -56,7 +56,7 @@ def write_mixing_ratios(dacycle): # Step (1): Get the posterior sample output data file for this cycle - infile = os.path.join(dacycle['dir.output'], 'sampleinfo_%s.nc' % dacycle['time.sample.stamp']) + infile = os.path.join(dacycle['dir.output'], 'sample_auxiliary_%s.nc' % dacycle['time.sample.stamp']) ncf_in = io.ct_read(infile, 'read') -- GitLab