[MITgcm-cvs] CVS Commit MITgcm_contrib/gael/matlab_class/gcmfaces_IO

Gael Forget gforget at baudelaire.csail.mit.edu
Fri Nov 18 10:45:11 EST 2016


Update of /u/gcmpack/MITgcm_contrib/gael/matlab_class/gcmfaces_IO
In directory baudelaire:/srv/scratch/gforget/MITgcm_contrib/gael/matlab_class/gcmfaces_IO

Modified Files:
	grid_load.m grid_load_native.m grid_load_native_RAZ.m 
Log Message:

- grid_load.m: done ask for grid location is XC.meta is found in current directory; if native
  grid files are found then always call grid_load_native + omit re-initialization of mygrid
  to conserve Depth, hFacC, etc + use new grid_load_native.m option (call with no arg).
- grid_load_native.m: if called without input argument then use dirGrid, nFaces, and format
  from pre-loaded mygrid; test for tile*.mitgrid; rename useChrisFormat as alsoDoTheOldWay;
  avoid re-initializing variables; clean-up warning statements.
- grid_load_native_RAZ.m: use fread directly to avoid relying on file size that with recent
  Matlab versions becomes a problem in the case when tile*.mitgrid are symbolically linked
  (issue reported by U. Strobach).





More information about the MITgcm-cvs mailing list