Releases: MITgcm/gcmfaces
Releases · MITgcm/gcmfaces
update to documentation, files handling, lsqminnorm
- sphinx documentation setting updates by @gaelforget
- update URLs by @gaelforget
- Make read_nctiles.m backward compatible with Release3_alt by @owang01
- Replace mldivide with lsqminnorm in diffsmooth2D_div_inv.m by @owang01
- Replace mldivide with lsqminnorm in diffsmooth2D_div_inv.m by @owang01
- removed trailing * in rdmds calls by @emmomp
- Update read_nctiles.m to use dir for recursive file search by @owang01
- Update read_nctile.m to improve performance of reading V4r4 files by @owang01
update `read_nctiles` + various lagrangian, vorticity, and divergence tools
v1.5.0 bug fix (?)
improvements of nctiles & interp workflow
- add option to loop over input files instead of reading them all
- add ability to provide a custom time axis (via the new
grid_add_time.m
) - add option to write coordinate as 1D vectors (e.g. for interpolated output)
- other improvements implemented by @lmilechin
Improved nctiles & interp workflow + other IO related changes
Nctilesdev (#3) * - add dirDiags as input argument (interp2nctiles.m, process2interp.m) - add dimlist, dimname, and clmbnds optional arguments (write2nctiles.m) - revise handling of directories and time loop (process2interp.m, process2nctiles.m) - rename dirModel,fileModel,fldModel as dirDiags,fileDiags,selectFld (process2nctiles.m) - revise handling of doClim option and time axis using clmbnds (process2nctiles.m, write2nctiles.m) - add possibility to rename variables on the fly using filRename (process2nctiles.m) - rename coordinates as 't','k','j','i' (previously 'i1','i2','i3','i4') via dimlist, dimname being passed as arguments to write2nctiles.m (process2nctiles.m). - set 'xtype' to 'float' for main variable to reduce file sizes (process2nctiles.m). - revise handling of dimension, file, and variable names (write2nctiles.m). * Changes in grid_load.m (XW etc.), gcmfaces_loc_tile.m (tile numbering), nctiles I/O (dimensions etc.). - grid_load.m: (re)assign RF(nr+1) and DRC(nr+1) if needed; compute XW/YW, XS/YS from XC/YC. - gcmfaces_loc_tile.m: switch to ordering convention that is consistent with MITgcm/pkg/exch2. - read_nctiles.m: add nctiles_old_tile_order switch so that the user can revert to the old ordering if needed (only matters for smaller tile sizes). - gcmfaces_IO/write2nctiles.m: add itile, ntile attributes (their presence will notably indicate that the new tile ordering convention was used); revisit the handling of dimlist in the doCreate 1/0 phases (needed after previous commit). - process2nctiles.m: fix bug introduced in previous commit (tim in doClim case & handling of filRename); revisit set_grid_diag function to use predefined dimension names that distinguish C,W,S and C,L,U points (e.g., {'t','kc','jc','ic'} for tracer fields) and set the longitude/latitude variables accordingly (e.g., use XW/YW for velocity components). - interp2nctiles.m: comment out adhoc DRC, DRF, mskC definitions to avoid putting these in the netcdf files. - write2nctiles.m: add itile, mtile attributes; clean up the two stage handling of dimlist, dimname, dimvec. * - interp2nctiles.m : update to match revised process2nctiles.m argument handling. - process2interp.m : go directly from mds output to interpolation (rather than via nctiles first); revise handling of input arguments (see help section for detail). - process2nctiles.m : revise handling of input arguments (see help section for detail); use rdmds_meta.m in place of embeded duplicate (read_meta function). - rdmds_search_subdirs.m (new) : searches for fileDiags within the subdirectories of dirDiags (now used in process2interp.m and process2nctiles.m) * - process2UVSTAR.m (new) computes bolus velocity from GM_PsiX,Y - process2UEVN.m get dirDiags,fileDiags via function arguments (as now done in process*.m), use rdmds_search_subdirs (to identify subDir), and calc_UV_zonmer (no masking unlike before). * changes related to rdmds_meta.m and process2interp.m - deal with adding '*' to file name within rdmds_meta.m (not in caller) - add possibility to rely on interp_precomputed.mat in process2interp.m * improve treatment of missing_value, _FillValue, scale_factor (new), and add_offset (new)
Add sphinx documentation contents
The docs/
directory now includes several rst files, bibliography, and figures.
In addition for this release:
- new overloaded functions single.m and double.m
- refinements to the
gcmfaces_diags/
workflows
Shift to sphinx-based documentation via readthedocs
- documentation is now made available via http://gcmfaces.readthedocs.io/en/latest/
- documentation contents remain to be merged to master branch under github.
- this release also involves a few minor code changes and one new routine (calc_UV_zonmer.m).
- this release took place just before retiring the old, cvs repository and documentation.
various updates, improvements, and additions
v1.0.2 revise links and references (#5)
synchronized with MITgcm checkpoint66c
- grid_load_native.m: allow for grid_cs32.face00*.bin
Initial release of gcmfaces Matlab toolbox via github
Initial release of gcmfaces Matlab toolbox via github