Log of /MITgcm_contrib/gael/matlab_class/gcmfaces_IO/grid_load.m
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.22 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Nov 19 15:22:43 2016 UTC
(8 years, 7 months ago)
by
gforget
Branch:
MAIN
CVS Tags:
checkpoint66a
Changes since
1.21: +10 -10 lines
Diff to
previous 1.21
- grid_load.m: remove call to gcmfaces_lines_zonal and gcmfaces_lines_transp
- calc_MeridionalTransport.m, calc_mermean_T.m, calc_overturn.m, calc_zonmean_T.m,
calc_zonmedian_T.m, gcmfaces_section.m, diags_display.m, diags_grid_parms.m, figureL.m,
example_transports_disp.m: call gcmfaces_lines_zonal and / or gcmfaces_lines_transp to
initialize LATS_MASKS, LONS_MASKS, or LINES_MASKS if needed.
Revision
1.21 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Nov 18 15:45:11 2016 UTC
(8 years, 7 months ago)
by
gforget
Branch:
MAIN
Changes since
1.20: +11 -14 lines
Diff to
previous 1.20
- 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).
Revision
1.19 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 13 16:24:07 2016 UTC
(9 years, 6 months ago)
by
gforget
Branch:
MAIN
Changes since
1.18: +1 -1 lines
Diff to
previous 1.18
- replace sample_analysis/line_greatC_TUV_MASKS_v4.m
with gcmfaces_calc/gcmfaces_lines_pairs.m
Revision
1.15 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 10 17:05:58 2016 UTC
(9 years, 6 months ago)
by
gforget
Branch:
MAIN
Changes since
1.14: +68 -31 lines
Diff to
previous 1.14
- convert2gcmfaces.m: treat case when mygrid.fileFormat is 'nctiles'
- grid_load.m: assume llc90 is used if no input parameters; treat case
when mygrid.fileFormat is 'nctiles' (when nctiles_grid is found).
- check_mygrid.m: compare two versions of mygrid.
Revision
1.13 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jul 8 21:09:03 2014 UTC
(11 years ago)
by
gforget
Branch:
MAIN
Changes since
1.12: +7 -5 lines
Diff to
previous 1.12
- grid_load.m : added input parameter
% omitNativeGrid is a flag (0 by default) to bypass (when flag 1)
% grid_load_native and grid_load_native_RAZ calls (that can
% complement mygrid based upon e.g. tile*.mitgrid files)
- read_nctiles.m : speed up (avoid recomputing grid information)
Revision
1.12 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jun 19 16:04:36 2013 UTC
(12 years ago)
by
gforget
Branch:
MAIN
Changes since
1.11: +31 -0 lines
Diff to
previous 1.11
- convert2widefaces.m : use missVal as defined in grid_load (0 except for grid itself)
- convert2widefaces.m : add fourth dimension.
- grid_load.m : define missVal for use in convert2widefaces.m
- grid_load.m : fix cropped grid if needed.
- grid_load_native.m : add doWarn switch, allow interative spec of grid file names.
Revision
1.10 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Sep 14 03:39:07 2012 UTC
(12 years, 10 months ago)
by
gforget
Branch:
MAIN
Changes since
1.9: +13 -3 lines
Diff to
previous 1.9
- added gcmfaces_IO/grid_load_native_RAZ.m : load RAZfull from native grid file, including an
extra line and column, or derive it as exch_Z(RAZ). RAZfull is used in calc_UV_curl.m
- gcmfaces_IO/grid_load.m : finish previous modif for 'cube' and 'straight' formats
Revision
1.9 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Sep 11 15:15:19 2012 UTC
(12 years, 10 months ago)
by
gforget
Branch:
MAIN
Changes since
1.8: +95 -33 lines
Diff to
previous 1.8
- convert2widefaces.m (new routine)
allows for use MITgcm outputs with removed/truncated faces.
- convert2gcmfaces.m
use pre-defined mygrid.facesSize (from grid_load.m)
if mygrid.facesExpand then call convert2widefaces.m (new routine)
- grid_load.m
added optional argument memoryLimit (set to >0 to save memory/space)
added definition of mygrid.ioSize, facesSize, and facesExpand
They are used in convert2gcmfaces.m and convert2widefaces.m
They may be read from [dirGrid 'grid.specs.mat'] but in all
standard setups they will be determined automatically.
added gcmfaces_lines_zonal and gcmfaces_lines_transp calls (from basic_diags_ecco)
Revision
1.7 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Aug 5 21:50:01 2011 UTC
(13 years, 11 months ago)
by
gforget
Branch:
MAIN
Changes since
1.6: +5 -4 lines
Diff to
previous 1.6
- replace hard coded dimensions with generic ones (for mygrid.gcm2facesFast)
Revision
1.6 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jul 5 17:51:13 2011 UTC
(14 years ago)
by
gforget
Branch:
MAIN
Changes since
1.5: +17 -2 lines
Diff to
previous 1.5
- introduce mygrid.gcm2facesFast that speeds up convert2gcmfaces.
- mygrid.gcm2facesFast is originally set up to false in grid_load;
then the grid is loaded, which allows the computation of
mygrid.gcm2faces, mygrid.faces2gcmSize and mygrid.faces2gcm;
at this point mygrid.gcm2facesFast is set to true, and any
other call to convert2gcmfaces will use the faster approach.
Revision
1.5 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jun 21 21:18:48 2011 UTC
(14 years ago)
by
gforget
Branch:
MAIN
Changes since
1.4: +26 -10 lines
Diff to
previous 1.4
- convert2gcmfaces remove the complicated logic (incl. fileFormat part)
remove the nFaces argument
get fileFormat and nFaces from mygrid.
- grid_load remove the isempty(mygrid) test and load grid each time instead
remove the rest of the complicated logic at the beginning
set the list of arguments to dirGrid,nFaces,fileFormat
add dirGrid,nFaces,fileFormat to mygrid for later use
- rdmds2gcmfaces remove the complicated logic (incl. fileFormat part)
remove nFaces argument accordingly
now all arguments (varargin) are simply passed to rdmds
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.