JayFeng0225 / cfmip-obs-sim

Automatically exported from code.google.com/p/cfmip-obs-sim
0 stars 0 forks source link

Enhancement: proper 'append' mode in off-line version. #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
CMOR codifies the start and end dates in the filename. Once the CMOR interface 
is closed, the 'append' mode copies the file, which is very inefficient if a 
long time series is processed.

Original issue reported on code.google.com by alejandr...@metoffice.gov.uk on 17 Aug 2013 at 1:51

GoogleCodeExporter commented 8 years ago
The 1D and 2D writing routines have been split into several routines. Now, the 
CMOR interface is initialised in the first iteration (first input file), and 
left open during the entire process. Then, a writing routine is called every 
step. In the last step, the CMOR interface is closed after writing the data.

Original comment by alejandr...@metoffice.gov.uk on 17 Aug 2013 at 1:51

GoogleCodeExporter commented 8 years ago
Changes made between revisions 74 and 77.

Original comment by alejandr...@metoffice.gov.uk on 17 Aug 2013 at 1:59