/[MITgcm]/MITgcm_contrib/gael/matlab_class/gcmfaces_IO/grid_load.m
ViewVC logotype

Log of /MITgcm_contrib/gael/matlab_class/gcmfaces_IO/grid_load.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Wed Mar 7 20:07:07 2018 UTC (7 years, 4 months ago) by zhc
Branch: MAIN
CVS Tags: HEAD, checkpoint66o
Changes since 1.24: +7 -5 lines
Diff to previous 1.24
to accomodate more LLCs


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Wed Jun 14 13:58:15 2017 UTC (8 years, 1 month ago) by gforget
Branch: MAIN
Changes since 1.23: +5 -3 lines
Diff to previous 1.23
- bug fix


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Dec 11 00:34:20 2016 UTC (8 years, 7 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint66b, checkpoint66c, checkpoint66d, checkpoint66e, checkpoint66f
Changes since 1.22: +0 -2 lines
Diff to previous 1.22
- avoid redundant grid reloads


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.20 - (view) (download) (annotate) - [select for diffs]
Sun Jan 17 14:34:22 2016 UTC (9 years, 6 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65t, checkpoint65u, checkpoint65v, checkpoint65w, checkpoint65x
Changes since 1.19: +13 -4 lines
Diff to previous 1.19
- revise treatment of case when neither ''nctiles_grid/''
  nor ''GRID/'' was readily found


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.18 - (view) (download) (annotate) - [select for diffs]
Tue Jan 12 19:27:31 2016 UTC (9 years, 6 months ago) by gforget
Branch: MAIN
Changes since 1.17: +4 -2 lines
Diff to previous 1.17
- grid_load.m: avoid pb with ncload when directory name contains blanks


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Jan 11 21:25:32 2016 UTC (9 years, 6 months ago) by gforget
Branch: MAIN
Changes since 1.16: +11 -8 lines
Diff to previous 1.16
- move place holders definition.


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Jan 11 17:28:25 2016 UTC (9 years, 6 months ago) by gforget
Branch: MAIN
Changes since 1.15: +6 -2 lines
Diff to previous 1.15
- use full path, point to nctiles_grid if no grid was found


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.14 - (view) (download) (annotate) - [select for diffs]
Tue Sep 16 17:47:04 2014 UTC (10 years, 10 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65p, checkpoint65q, checkpoint65r
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
- bug fix.


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.11 - (view) (download) (annotate) - [select for diffs]
Fri Dec 28 21:43:23 2012 UTC (12 years, 6 months ago) by gforget
Branch: MAIN
Changes since 1.10: +5 -0 lines
Diff to previous 1.10
- add call to grid_load_native_RAZ, to get RAZ incl. 'extra line and column'


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.8 - (view) (download) (annotate) - [select for diffs]
Tue Sep 11 15:13:33 2012 UTC (12 years, 10 months ago) by gforget
Branch: MAIN
Changes since 1.7: +20 -20 lines
Diff to previous 1.7
- redo tabulations.


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


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Mon Feb 7 01:45:38 2011 UTC (14 years, 5 months ago) by gforget
Branch: MAIN
Changes since 1.3: +13 -7 lines
Diff to previous 1.3
- when AngleCS/SN are missing, set them to 1/0 and issue a warning.


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Nov 2 15:28:19 2010 UTC (14 years, 8 months ago) by gforget
Branch: MAIN
Changes since 1.2: +2 -0 lines
Diff to previous 1.2
add dirGrid in mygrid structure


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Feb 14 17:29:53 2010 UTC (15 years, 5 months ago) by gforget
Branch: MAIN
Changes since 1.1: +7 -3 lines
Diff to previous 1.1
add masks in mygrid


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Wed Feb 10 14:46:48 2010 UTC (15 years, 5 months ago) by gforget
Branch: MAIN
matlab_class: backward compatibility routines


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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.22