/[MITgcm]/MITgcm/pkg/mnc/mnc_cw_readwrite.template
ViewVC logotype

Log of /MITgcm/pkg/mnc/mnc_cw_readwrite.template

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


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

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Jan 21 01:48:05 2010 UTC (14 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD, checkpoint62b, checkpoint62c, checkpoint62d, checkpoint62e, checkpoint62f, checkpoint62g, checkpoint62h, checkpoint62i, checkpoint62j, checkpoint62k, checkpoint62l, checkpoint62m, checkpoint62n, checkpoint62o, checkpoint62p, checkpoint62q, checkpoint62r, checkpoint62s, checkpoint62t, checkpoint62u, checkpoint62v, checkpoint62w, checkpoint62x, checkpoint62y, checkpoint62z, checkpoint63, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint64, checkpoint64a, checkpoint64b, checkpoint64c, checkpoint64d, checkpoint64e, checkpoint64f, checkpoint64g, checkpoint64h, checkpoint64i, checkpoint64j, checkpoint64k, checkpoint64l, checkpoint64m, checkpoint64n, checkpoint64o, checkpoint64p, checkpoint64q, checkpoint64r, checkpoint64s, checkpoint64t, checkpoint64u, checkpoint64v, checkpoint64w, checkpoint64x, checkpoint64y, checkpoint64z, checkpoint65, checkpoint65a, checkpoint65b, checkpoint65c, checkpoint65d, checkpoint65e, checkpoint65f, checkpoint65g, checkpoint65h, checkpoint65i, checkpoint65j, checkpoint65k, checkpoint65l, checkpoint65m, checkpoint65n, checkpoint65o, checkpoint65p, checkpoint65q, checkpoint65r, checkpoint65s, checkpoint65t, checkpoint65u, checkpoint65v, checkpoint65w, checkpoint65x, checkpoint65y, checkpoint65z, checkpoint66a, checkpoint66b, checkpoint66c, checkpoint66d, checkpoint66e, checkpoint66f, checkpoint66g, checkpoint66h, checkpoint66i, checkpoint66j, checkpoint66k, checkpoint66l, checkpoint66m, checkpoint66n, checkpoint66o
Changes since 1.42: +123 -108 lines
Diff to previous 1.42
remove unused variables


Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu May 22 12:21:19 2008 UTC (15 years, 11 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint59r, checkpoint60, checkpoint61, checkpoint61a, checkpoint61b, checkpoint61c, checkpoint61d, checkpoint61e, checkpoint61f, checkpoint61g, checkpoint61h, checkpoint61i, checkpoint61j, checkpoint61k, checkpoint61l, checkpoint61m, checkpoint61n, checkpoint61o, checkpoint61p, checkpoint61q, checkpoint61r, checkpoint61s, checkpoint61t, checkpoint61u, checkpoint61v, checkpoint61w, checkpoint61x, checkpoint61y, checkpoint61z, checkpoint62, checkpoint62a
Changes since 1.41: +3 -3 lines
Diff to previous 1.41
replace mnc_common.h and mnc_id_header.h with corresponding upper case
versions


Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu May 22 08:29:59 2008 UTC (15 years, 11 months ago) by mlosch
Branch: MAIN
Changes since 1.40: +16 -2 lines
Diff to previous 1.40
replace a dmv(2) with a rmv(2) to have a real*4 parameter where we
need one; add some commented code


Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Tue Aug 22 03:15:46 2006 UTC (17 years, 8 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58r_post, checkpoint58s_post, checkpoint58t_post, checkpoint58u_post, checkpoint58v_post, checkpoint58w_post, checkpoint58x_post, checkpoint58y_post, checkpoint59, checkpoint59a, checkpoint59b, checkpoint59c, checkpoint59d, checkpoint59e, checkpoint59f, checkpoint59g, checkpoint59h, checkpoint59i, checkpoint59j, checkpoint59k, checkpoint59l, checkpoint59m, checkpoint59n, checkpoint59o, checkpoint59p, checkpoint59q
Changes since 1.39: +54 -2 lines
Diff to previous 1.39
add conditional reading of variables per request of Jean-Michel


Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Fri Aug 4 15:14:25 2006 UTC (17 years, 8 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint58n_post
Changes since 1.38: +3 -9 lines
Diff to previous 1.38
undo previous ci since, after discussion with JMC, it isn't necessary


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Fri Aug 4 14:57:36 2006 UTC (17 years, 8 months ago) by edhill
Branch: MAIN
Changes since 1.37: +9 -3 lines
Diff to previous 1.37
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


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Fri Mar 10 16:09:31 2006 UTC (18 years, 1 month ago) by edhill
Branch: MAIN
CVS Tags: checkpoint58b_post, checkpoint58c_post, checkpoint58d_post, checkpoint58e_post, checkpoint58f_post, checkpoint58g_post, checkpoint58h_post, checkpoint58i_post, checkpoint58j_post, checkpoint58k_post, checkpoint58l_post, checkpoint58m_post
Changes since 1.36: +4 -3 lines
Diff to previous 1.36
fix a bunch of formatted internal writes that need explicit string lengths
  for certain compilers (eg. PGI)


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri Mar 10 05:50:23 2006 UTC (18 years, 1 month ago) by edhill
Branch: MAIN
Changes since 1.35: +26 -16 lines
Diff to previous 1.35
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)


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Fri Feb 24 20:39:10 2006 UTC (18 years, 2 months ago) by edhill
Branch: MAIN
Changes since 1.34: +136 -41 lines
Diff to previous 1.34
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


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sat Sep 24 03:44:54 2005 UTC (18 years, 7 months ago) by edhill
Branch: MAIN
CVS Tags: checkpint57u_post, checkpoint57t_post, checkpoint57v_post, checkpoint57w_post, checkpoint57x_post, checkpoint57y_post, checkpoint57y_pre, checkpoint57z_post, checkpoint58, checkpoint58a_post
Changes since 1.33: +13 -6 lines
Diff to previous 1.33
 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


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Mon Sep 19 02:24:40 2005 UTC (18 years, 7 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57s_post
Changes since 1.32: +17 -8 lines
Diff to previous 1.32
 o fix two bugs:
   - the f_or_t flag was set wrong
   - the file name (fname) was not set properly


Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Sep 10 18:30:07 2005 UTC (18 years, 7 months ago) by edhill
Branch: MAIN
Changes since 1.31: +167 -10 lines
Diff to previous 1.31
 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


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Jun 27 20:19:52 2005 UTC (18 years, 10 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57j_post, checkpoint57k_post, checkpoint57l_post, checkpoint57m_post, checkpoint57n_post, checkpoint57o_post, checkpoint57p_post, checkpoint57q_post, checkpoint57r_post
Changes since 1.30: +12 -4 lines
Diff to previous 1.30
 o add a flag (off by default) that includes nIter0 in the MNC file names


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Fri Jun 24 19:43:52 2005 UTC (18 years, 10 months ago) by edhill
Branch: MAIN
Changes since 1.29: +16 -18 lines
Diff to previous 1.29
 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


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Feb 28 17:53:29 2005 UTC (19 years, 2 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57e_post, checkpoint57f_post, checkpoint57f_pre, checkpoint57g_post, checkpoint57g_pre, checkpoint57h_done, checkpoint57h_post, checkpoint57h_pre, checkpoint57i_post
Changes since 1.28: +4 -4 lines
Diff to previous 1.28
 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


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Jan 24 04:40:35 2005 UTC (19 years, 3 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57c_post, checkpoint57c_pre, checkpoint57d_post, eckpoint57e_pre
Changes since 1.27: +70 -51 lines
Diff to previous 1.27
 o this needs more testing but it does seem to fix the MNC pickup problem
   reported by Martin and Baylor


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Fri Dec 17 21:28:25 2004 UTC (19 years, 4 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57b_post
Changes since 1.26: +5 -5 lines
Diff to previous 1.26
 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!


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Fri Dec 17 04:50:05 2004 UTC (19 years, 4 months ago) by edhill
Branch: MAIN
Changes since 1.25: +9 -7 lines
Diff to previous 1.25
 o small cleanups -- preparing for coordinate variables


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Nov 14 03:34:35 2004 UTC (19 years, 5 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint56, checkpoint56a_post, checkpoint56b_post, checkpoint56c_post, checkpoint57, checkpoint57a_post, checkpoint57a_pre
Changes since 1.24: +4 -1 lines
Diff to previous 1.24
 o if file capacity is reached, close it and empty it from the lookup
   tables


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Oct 22 21:30:31 2004 UTC (19 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint55i_post, checkpoint55j_post
Changes since 1.23: +26 -8 lines
Diff to previous 1.23
 o fix internal buffer overrun and add check so it never happens again
   without a proper error message


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Thu Oct 21 13:38:45 2004 UTC (19 years, 6 months ago) by edhill
Branch: MAIN
Changes since 1.22: +54 -3 lines
Diff to previous 1.22
 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


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Wed Oct 20 21:26:14 2004 UTC (19 years, 6 months ago) by edhill
Branch: MAIN
Changes since 1.21: +6 -4 lines
Diff to previous 1.21
 o add a sequence number to the output file names in preparation for
   automatic handling of the 2GB NetCDF file size limitation


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 18:25:50 2004 UTC (19 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint55f_post, checkpoint55g_post, checkpoint55h_post
Changes since 1.20: +3 -5 lines
Diff to previous 1.20
after Baylor investigation, this might fix the seg.fault problem.


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Fri Oct 8 17:03:21 2004 UTC (19 years, 6 months ago) by edhill
Branch: MAIN
Changes since 1.19: +65 -10 lines
Diff to previous 1.19
 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


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Thu Oct 7 01:48:08 2004 UTC (19 years, 6 months ago) by edhill
Branch: MAIN
Changes since 1.18: +66 -1 lines
Diff to previous 1.18
 o fixes for passing scalars to mnc_cw_*


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri Sep 10 12:19:30 2004 UTC (19 years, 7 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint54f_post, checkpoint55, checkpoint55a_post, checkpoint55b_post, checkpoint55c_post, checkpoint55d_post, checkpoint55d_pre, checkpoint55e_post
Changes since 1.17: +3 -1 lines
Diff to previous 1.17
 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


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri Apr 2 16:12:48 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
CVS Tags: checkpoint52m_post, checkpoint52n_post, checkpoint53, checkpoint53a_post, checkpoint53b_post, checkpoint53b_pre, checkpoint53c_post, checkpoint53d_post, checkpoint53d_pre, checkpoint53f_post, checkpoint53g_post, checkpoint54, checkpoint54a_post, checkpoint54a_pre, checkpoint54b_post, checkpoint54c_post, checkpoint54d_post, checkpoint54e_post
Changes since 1.16: +8 -7 lines
Diff to previous 1.16
 o more comments for the api_reference (protex)


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Mar 29 22:12:06 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
 o delete extra ,


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Mar 29 03:33:51 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
Changes since 1.14: +32 -22 lines
Diff to previous 1.14
 o new "poster children" for the API reference:
   - generic_advdiff
   - mnc


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Wed Mar 24 15:29:33 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
Changes since 1.13: +92 -85 lines
Diff to previous 1.13
 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


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Wed Mar 24 03:38:50 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
Changes since 1.12: +17 -5 lines
Diff to previous 1.12
 o fix off-by-one indexing error


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Tue Mar 23 05:24:44 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
Changes since 1.11: +11 -7 lines
Diff to previous 1.11
 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


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Mar 22 05:10:10 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
Changes since 1.10: +10 -4 lines
Diff to previous 1.10
 o C code to create a directory (eg. "mnc_20040322_0001") with a name
   based on the creation date and a sequence number


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sun Mar 21 03:44:23 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
Changes since 1.9: +34 -4 lines
Diff to previous 1.9
 o finish implementation of the separate unlimited-dim handling for the
   MNC_CW_*_R_* and MNC_CW_*_W_* functions


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Fri Mar 19 03:28:36 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
Changes since 1.8: +43 -41 lines
Diff to previous 1.8
 o edit all MNC subroutines so that myThid is the _last_ argument


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Wed Mar 10 05:50:16 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
CVS Tags: checkpoint52l_post, checkpoint52l_pre
Changes since 1.7: +26 -21 lines
Diff to previous 1.7
 o fix bug: too many files open
 o add some testing code for pickups


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Mar 9 14:43:16 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
CVS Tags: hrcube5
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
 o bug fixes


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Mon Mar 8 21:15:49 2004 UTC (20 years, 1 month ago) by edhill
Branch: MAIN
Changes since 1.5: +193 -41 lines
Diff to previous 1.5
 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


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Feb 26 22:31:58 2004 UTC (20 years, 2 months ago) by edhill
Branch: MAIN
Changes since 1.4: +155 -6 lines
Diff to previous 1.4
 o fix the calling sequence for MNC
 o add coordinates to the variables within the "state" file
 o reads still unfinished


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Thu Feb 5 05:42:07 2004 UTC (20 years, 2 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint52j_post, checkpoint52j_pre, checkpoint52k_post, hrcube4, hrcube_3
Changes since 1.3: +11 -12 lines
Diff to previous 1.3
 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


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Thu Feb 5 00:13:47 2004 UTC (20 years, 2 months ago) by edhill
Branch: MAIN
Changes since 1.2: +124 -50 lines
Diff to previous 1.2
 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


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Wed Feb 4 05:45:09 2004 UTC (20 years, 2 months ago) by edhill
Branch: MAIN
Changes since 1.1: +133 -23 lines
Diff to previous 1.1
 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


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Jan 31 04:13:09 2004 UTC (20 years, 3 months ago) by edhill
Branch: MAIN
 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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.22