/[MITgcm]/MITgcm/model/src/write_grid.F
ViewVC logotype

Log of /MITgcm/model/src/write_grid.F

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


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

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Mon Aug 22 22:06:01 2016 UTC (7 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD, checkpoint65z, checkpoint66a, checkpoint66b, checkpoint66c, checkpoint66d, checkpoint66e, checkpoint66f, checkpoint66g, checkpoint66h, checkpoint66i, checkpoint66j, checkpoint66k, checkpoint66l, checkpoint66m, checkpoint66n, checkpoint66o
Changes since 1.39: +9 -6 lines
Diff to previous 1.39
always output phiRef in binary files (since missing from MNC grid files)


Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Tue Sep 9 22:31:12 2014 UTC (9 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint65d, checkpoint65e, checkpoint65f, checkpoint65g, checkpoint65h, checkpoint65i, checkpoint65j, checkpoint65k, checkpoint65l, checkpoint65m, checkpoint65n, checkpoint65o, checkpoint65p, checkpoint65q, checkpoint65r, checkpoint65s, checkpoint65t, checkpoint65u, checkpoint65v, checkpoint65w, checkpoint65x, checkpoint65y
Changes since 1.38: +4 -1 lines
Diff to previous 1.38
Include explicitly AUTODIFF_OPTIONS.h (in case we don't use ECCO_CPPOPTIONS.h)


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Fri Jul 26 14:22:22 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64l, checkpoint64m, checkpoint64n, checkpoint64o, checkpoint64p, checkpoint64q, checkpoint64r, checkpoint64s, checkpoint64t, checkpoint64u, checkpoint64v, checkpoint64w, checkpoint64x, checkpoint64y, checkpoint64z, checkpoint65, checkpoint65a, checkpoint65b, checkpoint65c
Changes since 1.37: +2 -2 lines
Diff to previous 1.37
extend length of drC & recip_drC from Nr to Nr+1.


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sun Feb 17 02:24:57 2013 UTC (11 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64d, checkpoint64e, checkpoint64f, checkpoint64g, checkpoint64h, checkpoint64i, checkpoint64j, checkpoint64k
Changes since 1.36: +3 -1 lines
Diff to previous 1.36
write to file new projection array for model C-grid velocity


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri Jul 6 21:44:39 2012 UTC (11 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63q, checkpoint63r, checkpoint63s, checkpoint64, checkpoint64a, checkpoint64b, checkpoint64c
Changes since 1.35: +2 -2 lines
Diff to previous 1.35
move #include "AD_CONFIG.h" after the other included OPTIONS files


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Fri Jun 1 03:19:53 2012 UTC (11 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63n, checkpoint63o, checkpoint63p
Changes since 1.34: +13 -5 lines
Diff to previous 1.34
also write rSurf & rLow at 3 grid-cell locations (debugLevel >=3)


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Tue Feb 28 00:35:24 2012 UTC (12 years, 2 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint63k, checkpoint63l, checkpoint63m
Changes since 1.33: +2 -1 lines
Diff to previous 1.33
the_main_loop.F :
- if not mitgcmuv_ad : no need for checkpointing loops or
tape definitions, so we remove them. This alleviates the
need for (nchklev_1*nchklev_2 .lt. nTimeSteps) in fwd runs.
- add AD_CONFIG.h and test for ifdef ADJOINT_RUN.

write_grid.F :
bug fix; AD_CONFIG.h was not included, even though
we were testing for ifdef ADJOINT_RUN.


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Tue Mar 29 02:25:55 2011 UTC (13 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62v, checkpoint62w, checkpoint62x, checkpoint62y, checkpoint62z, checkpoint63, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63h, checkpoint63i, checkpoint63j
Changes since 1.32: +4 -1 lines
Diff to previous 1.32
add code (but commented out) to write interior mask with halo regions.


Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Sep 11 21:24:52 2010 UTC (13 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62k, checkpoint62l, checkpoint62m, checkpoint62n, checkpoint62o, checkpoint62p, checkpoint62q, checkpoint62r, checkpoint62s, checkpoint62t, checkpoint62u
Changes since 1.31: +11 -1 lines
Diff to previous 1.31
first check-in of sigma (and hybrid-sigma) coordinate code


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu Dec 17 23:48:26 2009 UTC (14 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62, checkpoint62a, checkpoint62b, checkpoint62c, checkpoint62d, checkpoint62e, checkpoint62f, checkpoint62g, checkpoint62h, checkpoint62i, checkpoint62j
Changes since 1.30: +9 -4 lines
Diff to previous 1.30
write 2-D "interior" mask (when using OBCS)


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Fri Dec 4 15:08:23 2009 UTC (14 years, 4 months ago) by mlosch
Branch: MAIN
Changes since 1.29: +4 -3 lines
Diff to previous 1.29
add coordinate arrays only when we are going to create a netcdf file
to begin with


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Nov 24 14:54:15 2009 UTC (14 years, 5 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint61z
Changes since 1.28: +22 -1 lines
Diff to previous 1.28
add horizontal grid coordinates (XC,YC) and (XG,YG) to netcdf output
for complex grids, for now only to "state", "adstate", "adexf", "adseaice"


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Jun 8 03:40:42 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61p, checkpoint61q, checkpoint61r, checkpoint61s, checkpoint61t, checkpoint61u, checkpoint61v, checkpoint61w, checkpoint61x, checkpoint61y
Changes since 1.27: +4 -3 lines
Diff to previous 1.27
local common block no longer needed


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Feb 3 22:59:39 2009 UTC (15 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61i, checkpoint61j, checkpoint61k, checkpoint61l, checkpoint61m, checkpoint61n, checkpoint61o
Changes since 1.26: +11 -20 lines
Diff to previous 1.26
use simple interface S/R WRITE_GLVEC_RS to replace MDSIO_WRITEVEC_LOC calls.


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Dec 30 02:14:05 2008 UTC (15 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61h
Changes since 1.25: +7 -7 lines
Diff to previous 1.25
change name of S/R MDSWRITEVEC_LOC_RS to MDS_WRITEVEC_LOC


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Oct 26 11:09:46 2008 UTC (15 years, 6 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint61f, checkpoint61g
Changes since 1.24: +1 -43 lines
Diff to previous 1.24
the previous fix of REAL4_IS_SLOW works, but involves unnecessary
code, replace all mnc_cw_rl_w with mnc_cw_rs_w


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sat Oct 25 20:39:30 2008 UTC (15 years, 6 months ago) by mlosch
Branch: MAIN
Changes since 1.23: +43 -1 lines
Diff to previous 1.23
fix REAL4_IS_SLOW: write _RS variables as RS-netcdf variables when
REAL4_IS_SLOW is undefined


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Jun 1 03:48:32 2008 UTC (15 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint61a, checkpoint61b, checkpoint61c, checkpoint61d, checkpoint61e
Changes since 1.22: +22 -5 lines
Diff to previous 1.22
write 1-D array "phiRef" to binary file.


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Fri Feb 8 13:01:25 2008 UTC (16 years, 2 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint59n, checkpoint59o, checkpoint59p, checkpoint59q, checkpoint59r
Changes since 1.21: +3 -3 lines
Diff to previous 1.21
add the computation of the cos/sin(angle between model north and
geographical north). I put the new routine into
rotate_spherical_polar_grid.F, and so far the only place where it is
called is from ini_spherical_polar_grid.F. But I guess it could also
be called elsewhere (whenever AngleCosN and AngleSinN are not read or
incorrect[=0]).


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Fri Aug 4 01:27:31 2006 UTC (17 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58n_post, 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, mitgcm_mapl_00
Changes since 1.20: +24 -27 lines
Diff to previous 1.20
- put back tmpfld in a local common block (was commented by ...)
- all threads call WRITE_FLD S/R (needed if using SingleCpuIO) ;
- add barrier before writing tmpfld.


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Nov 8 23:01:10 2005 UTC (18 years, 5 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint57x_post, checkpoint57y_post, checkpoint57y_pre, checkpoint57z_post, checkpoint58, checkpoint58a_post, 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.19: +3 -3 lines
Diff to previous 1.19
Removing gratuitous _BEGIN_MASTER statements so that singleCpuIO make work
multi-threaded.


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Oct 30 21:17:27 2005 UTC (18 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57w_post
Changes since 1.18: +32 -20 lines
Diff to previous 1.18
MDS output: - write RF,RC,DRF & DRC to binary file;
- fixed arrays: do not write time-step in meta file.


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Oct 24 18:16:07 2005 UTC (18 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.17: +37 -27 lines
Diff to previous 1.17
consolidate the previous modif using writegrid_mnc flag.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Oct 20 20:23:15 2005 UTC (18 years, 6 months ago) by edhill
Branch: MAIN
Changes since 1.16: +9 -4 lines
Diff to previous 1.16
 o extend outputTypesInclusive so that it includes the grid data


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Sep 17 03:17:05 2005 UTC (18 years, 7 months ago) by edhill
Branch: MAIN
CVS Tags: checkpint57u_post, checkpoint57s_post, checkpoint57t_post, checkpoint57v_post
Changes since 1.15: +2 -1 lines
Diff to previous 1.15
 o fix mnc checkpoint writing problem reported by Baylor -- now works
   correctly with all the MLAdjust inputs


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Sep 10 18:30:06 2005 UTC (18 years, 7 months ago) by edhill
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14
 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.14 - (view) (download) (annotate) - [select for diffs]
Tue Sep 6 17:50:56 2005 UTC (18 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57r_post
Changes since 1.13: +2 -1 lines
Diff to previous 1.13
dump rAz to file (was already in mnc grid-file ; added in mdsio format)


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Tue Sep 6 02:16:10 2005 UTC (18 years, 7 months ago) by edhill
Branch: MAIN
Changes since 1.12: +3 -83 lines
Diff to previous 1.12
 o make MNC variable initialization happen earlier


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Jul 13 00:41:44 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57l_post, checkpoint57m_post, checkpoint57n_post, checkpoint57o_post, checkpoint57p_post, checkpoint57q_post
Changes since 1.11: +22 -8 lines
Diff to previous 1.11
read cos & sin of grid-direction orientation angle (relative to W-E, S-N dir.)
 from file horizGridFile ; write to grid-file output.


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Feb 23 05:17:36 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, checkpoint57j_post, checkpoint57k_post, eckpoint57e_pre
Changes since 1.10: +4 -2 lines
Diff to previous 1.10
 o add more "Z" dimensions and associated coordinate vars to MNC


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Feb 22 17:09:24 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.9: +26 -28 lines
Diff to previous 1.9
comment out inacurate xU,yU,xV,yV ; correct rAw,s,z dimensions in MNC file


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Feb 16 01:55:06 2005 UTC (19 years, 2 months ago) by edhill
Branch: MAIN
Changes since 1.8: +9 -9 lines
Diff to previous 1.8
 o change MNC grid point locations for certain grid quantities


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Dec 14 23:00:53 2004 UTC (19 years, 4 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint57b_post, checkpoint57c_post, checkpoint57c_pre, checkpoint57d_post
Changes since 1.7: +24 -24 lines
Diff to previous 1.7
o changes per discussion of AM, JMC, & EH3 today:
  - move redundant "grid" variables out of "state" -- in preparation of
    creating proper CF-style coordinate variables and in recognition
    that any/all grid variables can be easily copied (eg. w/NCO) from
    the grid files into any of the other NetCDF files
  - *always* output grid variables with MDSIO (this will eventually be
    changed)
  - output MNC grid file if useMNC is true


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Nov 2 18:06:36 2004 UTC (19 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint55j_post, checkpoint56, checkpoint56a_post, checkpoint56b_post, checkpoint56c_post, checkpoint57, checkpoint57a_post, checkpoint57a_pre
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
 o remove bogus trailing semicolons as reported by Baylor


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Wed Oct 13 04:37:37 2004 UTC (19 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint55f_post, checkpoint55g_post, checkpoint55h_post, checkpoint55i_post
Changes since 1.5: +4 -1 lines
Diff to previous 1.5
 o I am *sick* of moving these variables around.  But Jean-Michel has
   all but threatened a hissy fit if they aren't removed from PARAMS.h.
   So now here they are *back* in MNC_PARAMS.h where they were just a
   few days ago.


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Oct 10 06:08:48 2004 UTC (19 years, 6 months ago) by edhill
Branch: MAIN
Changes since 1.4: +1 -4 lines
Diff to previous 1.4
 o move useMNC and related runtime switches to PARAMS.h


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


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed Sep 22 21:19:44 2004 UTC (19 years, 7 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint55c_post, checkpoint55d_post, checkpoint55d_pre, checkpoint55e_post
Changes since 1.2: +24 -24 lines
Diff to previous 1.2
 o make the MNC_CW_ADD_VATTR_* subroutines all take scalar arguments
   which simplifies the calls and passes the ifc check-bounds test


Revision 1.2 - (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
Changes since 1.1: +152 -185 lines
Diff to previous 1.1
 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.1 - (view) (download) (annotate) - [select for diffs]
Thu May 13 15:40:53 2004 UTC (19 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: 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
Slight re-arrangment to satisfy JMC opinions on file names!
 o ini_mnc_io.F has been split and replaced by
     ini_model_io.F - responsible for setting units/flags for model-state i/o
     write_grid.F   - responsible for writing the grid variables to file
 o the passing of flags to MDSIO has been moved from ini_parms to ini_model_io
 o ini_depths and ini_masks_etc no longer do I/O which is now in write_grid


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