Parent Directory | Revision Log | Revision Graph
Links to HEAD: | (view) (download) (annotate) |
Links to checkpoint61m: | (view) (download) (annotate) |
Sticky Tag: |
replace mnc_common.h and mnc_id_header.h with corresponding upper case versions
replace a dmv(2) with a rmv(2) to have a real*4 parameter where we need one; add some commented code
add conditional reading of variables per request of Jean-Michel
undo previous ci since, after discussion with JMC, it isn't necessary
overload the meaning of negative bi,bj values so that they specify "use the -bi,-bj values to compute the tile number but do not use the bi,bj values for offsets when reading" -- this allows one to "fake" the writing of per-tile information when no actual bi,bj values exist
fix a bunch of formatted internal writes that need explicit string lengths for certain compilers (eg. PGI)
various mnc cleanups and improvements: + shrink lookup tables by factor of ~4 + better error reporting when running out of lookup space + able to handle longer path/file names (up to 500 chars)
add missing-value capability to MNC: + currently off by default for everything + compiles and runs with GNU, Intel, & PGI + includes code to skip attributes writing for all but the initial write of any variable within any netCDF file
o fix the MNC file size limit bug reported by Steph today - thoroughly tested with dic_example - correctly does "per-file-basename" increments of the filename iteration numbers (when necessary due to the max file size limit) as as requested by JMC and CNH during our last [and hopefully final! ;-)] discussion of this issue a week ago
o fix two bugs: - the f_or_t flag was set wrong - the file name (fname) was not set properly
o various changes to mnc including: - all files use the new "BASENAME[[.ITER].{t|f}NUM].nc" format - output can now be grouped so that all files within a group change the ITER portion of their names in lock-step together - can now read ("global") PER-FACE (in addition to PER-TILE) files and works with both EXCH1 and EXCH2 (but needs more testing) - writing works for all verification test cases w/ g77 on Linux
o add a flag (off by default) that includes nIter0 in the MNC file names
o when reading with MNC, first try a file name without a sequence number and, if that fails, then try adding a '.0000' sequence number to the file name - requested by Baylor and Daniel
o fix obscure MNC bug involving conversion between reals and integers - it caused no problems with certain (eg. gcc, ifc) compilers but the new version is now more standards-compliant
o this needs more testing but it does seem to fix the MNC pickup problem reported by Martin and Baylor
o add CF-style coordinate variables to MNC - just a first cut: numbers are meaningless on the cubesphere and missing along the T axis but otherwise it works!
o small cleanups -- preparing for coordinate variables
o if file capacity is reached, close it and empty it from the lookup tables
o fix internal buffer overrun and add check so it never happens again without a proper error message
o give MNC the ability to create additional files rather than exceeding a specified file size limit - run-time configurable (in data.mnc) as "MNC_MAX_FSIZE" - the default is just less than 2GB which is a practical limit on many systems (eg. Baylor's and Helen's recent problems) - tested and works on Linux/g77 -- needs testing elsewhere
o add a sequence number to the output file names in preparation for automatic handling of the 2GB NetCDF file size limitation
after Baylor investigation, this might fix the seg.fault problem.
o add ability of MNC to write local and "partial" (eg. 2D slices where the full 3D field is never actually stored) arrays to NetCDF files with the correct (that is, the complete multi-dimensional) set of array indicies - used in mom_vecinv() to write the diagFreq output - tested (demonstrated) in verification/aim.5l_cs
o fixes for passing scalars to mnc_cw_*
o overhaul of IO so that we now have flags for MDSIO and/or MNC - all verification tests compile and run with linux_ia32_g77 - defaults are compatible with current input files--nothing should change if you were not previously using MNC - MNC output has been added in numerous places (eg. timeave) but there are still a few writes not yet do-able with MNC (this is in progress) - flags now allow for either/or/both use of MDSIO and MNC and documentation will soon follow - numerous small formatting cleanups for ProTeX
o more comments for the api_reference (protex)
o delete extra ,
o new "poster children" for the API reference: - generic_advdiff - mnc
o in the MNC_CW_xxx_[R|W]_yyy calls, move the yyy=[R|D|I] part to a string variable within the argument list so that the output types are now run-time selectable o fix a bug in the initialization order -- ini_mnc_io() must be called after grid initialization
o fix off-by-one indexing error
o per AJA & JMC request, re-write the MNC directory creation code: - directory names (strings) are passed, encoded using integers - everything is run-time optional with flags in "data.mnc" - tested and works but would benefit from some cleanup
o C code to create a directory (eg. "mnc_20040322_0001") with a name based on the creation date and a sequence number
o finish implementation of the separate unlimited-dim handling for the MNC_CW_*_R_* and MNC_CW_*_W_* functions
o edit all MNC subroutines so that myThid is the _last_ argument
o fix bug: too many files open o add some testing code for pickups
o bug fixes
o initial (working) version of MNC that reads pickup files - tested with global_ocean.cs32x15 - has bugs in the checking of in-memory vs. NetCDF variable sizes
o fix the calling sequence for MNC o add coordinates to the variables within the "state" file o reads still unfinished
o fix indexing error in mnc_cw_readwrite.template o add function calls to initialise_fixed.F and write_state.F o add global attributes for w2/exch2
o getting closer to a usable MNC package through the "cw" layer: - numerous bug fixes - global attributes added - improved handling of the unlimited dimension - "cw" can handle variables with up to 7 dimensions - added list of pre-defined grid types
o working (though incomplete) version of the "wrapper": - 149 pre-defined grids: - all "meaningful" X,Y,Z,T combinations - X,Y with or without halos - Horiz: centered, U, V, and corner (vorticity) grids - Vert: centered or interface - just two function calls to write a variable using one of the pre-defined grids o tile numbering scheme for both cube and XY grids o read, write, and append NetCDF files o checks for (acceptable) re-definition of dims, grids, and vars o numerous small bug fixes o warning: the two mnc_model_* files are now broken/obsolete and will soon be removed
o more work on the file-independent layer ("wrapper")
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
ViewVC Help | |
Powered by ViewVC 1.1.22 |