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

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

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


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

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Tue Feb 18 15:25:09 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint48g_post, checkpoint48h_post, checkpoint48i_post, checkpoint49, checkpoint50, checkpoint50a_post, checkpoint50b_post, checkpoint50b_pre, checkpoint50c_post, checkpoint50c_pre, checkpoint50d_post, checkpoint50d_pre
Changes since 1.20: +4 -9 lines
Diff to previous 1.20
o compute locally the pressure for use in EOS: UNESCO, JMD95P or MDJWF
o store total Potential in totPhyHyd for diagnostic & EOS funct. of P
o fix restart and overlap Pb when using Z-coord and EOS funct. of P


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Feb 18 05:33:54 2003 UTC (21 years, 2 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint48f_post
Changes since 1.19: +6 -2 lines
Diff to previous 1.19
Merging from release1_p12:
o Modifications for using pkg/exf with pkg/seaice
  - improved description of the various forcing configurations
  - added basic radiation bulk formulae to pkg/exf
  - units/sign fix for evap computation in exf_getffields.F
  - updated verification/global_with_exf/results/output.txt
o Added pkg/sbo for computing IERS Special Bureau for the Oceans
  (SBO) core products, including oceanic mass, center-of-mass,
  angular, and bottom pressure (see pkg/sbo/README.sbo).
o Lower bound for viscosity/diffusivity in pkg/kpp/kpp_routines.F
  to avoid negative values in shallow regions.
  - updated verification/natl_box/results/output.txt
  - updated verification/lab_sea/results/output.txt
o MPI gather, scatter: eesupp/src/gather_2d.F and scatter_2d.F
o Added useSingleCpuIO option (see PARAMS.h).
o Updated useSingleCpuIO option in mdsio_writefield.F to
  work with multi-field files, e.g., for single-file pickup.
o pkg/seaice:
  - bug fix in growth.F: QNET for no shortwave case
  - added HeffFile for specifying initial sea-ice thickness
  - changed SEAICE_EXTERNAL_FLUXES wind stress implementation
o Added missing /* */ to CPP comments in pkg/seaice, pkg/exf,
  kpp_transport_t.F, forward_step.F, and the_main_loop.F
o pkg/seaice:
  - adjoint-friendly modifications
  - added a SEAICE_WRITE_PICKUP at end of the_model_main.F


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Wed Sep 18 16:38:02 2002 UTC (21 years, 7 months ago) by mlosch
Branch: MAIN
CVS Tags: branch-exfmods-tag, checkpoint46g_post, checkpoint46h_post, checkpoint46h_pre, checkpoint46i_post, checkpoint46j_post, checkpoint46j_pre, checkpoint46k_post, checkpoint46l_post, checkpoint46l_pre, checkpoint46m_post, checkpoint46n_post, checkpoint47, checkpoint47a_post, checkpoint47b_post, checkpoint47c_post, checkpoint47d_post, checkpoint47d_pre, checkpoint47e_post, checkpoint47f_post, checkpoint47g_post, checkpoint47h_post, checkpoint47i_post, checkpoint47j_post, checkpoint48, checkpoint48a_post, checkpoint48b_post, checkpoint48c_post, checkpoint48c_pre, checkpoint48d_post, checkpoint48d_pre, checkpoint48e_post
Branch point for: branch-exfmods-curt
Changes since 1.18: +10 -3 lines
Diff to previous 1.18
o Include a new diagnostic variable phiHydLow for the ocean model
  - in z-coordinates, it is the bottom pressure anomaly
  - in p-coordinates, it is the sea surface elevation
  - in both cases, these variable have global drift, reflecting the mass
    drift in z-coordinates and the volume drift in p-coordinates
  - included time averaging for phiHydLow, be aware of the drift!
o depth-dependent computation of Bo_surf for pressure coordinates
  in the ocean (buoyancyRelation='OCEANICP')
  - requires a new routine (FIND_RHO_SCALAR) to compute density with only
    Theta, Salinity, and Pressure in the parameter list. This routine is
    presently contained in find_rho.F. This routine does not give the
    correct density for 'POLY3', which would be a z-dependent reference
    density.
o cleaned up find_rho
  - removed obsolete 'eqn' from the parameter list.
o added two new verification experiments: gop and goz
  (4x4 degree global ocean, 15 layers in pressure and height coordinates)


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed Aug 7 16:55:52 2002 UTC (21 years, 8 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint46b_post, checkpoint46c_post, checkpoint46c_pre, checkpoint46d_post, checkpoint46d_pre, checkpoint46e_post, checkpoint46e_pre, checkpoint46f_post, checkpoint46g_pre
Changes since 1.17: +4 -2 lines
Diff to previous 1.17
o Added new equation of state -> JMD95Z and JMD95P
  - EOS of Jackett and McDougall, 1995, JPO
  - moved all EOS parameters into EOS.h
  - new routines ini_eos.F, store_pressure.F
o Added UNESCO EOS, but not recommended because it requires
  in-situ temperature (see JMD95)
o Modified formatting for knudsen2.f in utils/knudsen2 and added
  unesco.f to be used with POLY3


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Mar 4 17:26:41 2002 UTC (22 years, 2 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint44f_post, checkpoint44g_post, checkpoint44h_post, checkpoint44h_pre, checkpoint45, checkpoint45a_post, checkpoint45b_post, checkpoint45c_post, checkpoint45d_post, checkpoint46, checkpoint46a_post, checkpoint46a_pre, checkpoint46b_pre
Changes since 1.16: +12 -9 lines
Diff to previous 1.16
Added PTRACERS package

This allows an arbitrary number of passive tracers to be integrated
forward simultaneously with the dynamicaly model.
 + Implemented so far:
    - basic forward algorithm (time-stepping, advection, diffusion, convection)
    - I/O and checkpointing
    - GM/Redi  *but*  using the GM/Redi coefficient of Salt
 + Not implemented so far:
    - KPP
    - OBCS
 + No specific example supplied (yet) but global_ocean.90x40x15 has the
   necessary data.ptracer file. Simply use -enable=ptracers and uncomment
   line in data.pkg. PTRACER01 then reproduces Salt exactly.
 + This package is disabled by default since it increases storage.


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Jan 30 04:12:12 2002 UTC (22 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint44b_post, checkpoint44b_pre, checkpoint44e_post, checkpoint44e_pre, checkpoint44f_pre, chkpt44a_post, chkpt44a_pre, chkpt44c_post, chkpt44c_pre, chkpt44d_post, release1_final_v1
Branch point for: release1_final
Changes since 1.15: +18 -2 lines
Diff to previous 1.15
small changes associated with NonLin_FreeSurf option :
* initialization (ini_psurf.F);
* dump hFac fields (write_state.F);
* avoid unnecessary re-computation (forward_step.F initialise_varia.F calc_surf_dr.F);


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Wed Sep 26 18:09:16 2001 UTC (22 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint41, checkpoint42, checkpoint43, checkpoint43a-release1mods, checkpoint44, ecco-branch-mod1, ecco-branch-mod2, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5, ecco_c44_e16, ecco_c44_e17, ecco_c44_e18, ecco_c44_e19, ecco_c44_e20, ecco_c44_e21, ecco_c44_e22, ecco_c44_e23, ecco_c44_e24, ecco_c44_e25, ecco_ice1, release1-branch-end, release1-branch_branchpoint, release1-branch_tutorials, release1_b1, release1_beta1
Branch point for: c24_e25_ice, ecco-branch, release1, release1-branch, release1_coupled
Changes since 1.14: +49 -46 lines
Diff to previous 1.14
Bringing comments up to data and formatting for document extraction.


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Aug 14 00:20:49 2001 UTC (22 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40, checkpoint40pre7, checkpoint40pre8, checkpoint40pre9
Changes since 1.13: +8 -3 lines
Diff to previous 1.13
Moved TR1.h headers between ifdef ALLOW_PASSIVE_TRACER.


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Fri Jul 13 14:26:57 2001 UTC (22 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre2, checkpoint40pre3, checkpoint40pre4, checkpoint40pre5, checkpoint40pre6
Changes since 1.12: +6 -2 lines
Diff to previous 1.12
o Added grdchk package handling
o Added passive tracer handling


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri Jun 29 17:14:49 2001 UTC (22 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint40pre1
Changes since 1.11: +4 -8 lines
Diff to previous 1.11
Moved cg3d_x into DYNVARS.h and renamed it to phi_nh.
 - cg3d and cg2d now look more similar
 - output formatted to fit Chris's tastes (I think)


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Apr 10 22:35:26 2001 UTC (23 years ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint38, checkpoint39
Changes since 1.10: +7 -8 lines
Diff to previous 1.10
See doc/tag-index and doc/notes_c37_adj.txt
Preparation for stand-alone autodifferentiability.


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu Mar 8 20:07:43 2001 UTC (23 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: c37_adj, checkpoint37, pre38-close, pre38tag1
Branch point for: pre38
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
change output file name : Eta. instead of PS. (as model variable name)


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 16:51:02 2001 UTC (23 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.8: +4 -5 lines
Diff to previous 1.8
separate the state variable "eta" from the 2D solver solution cg2d_x


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Wed Feb 14 22:50:10 2001 UTC (23 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint36
Changes since 1.7: +3 -3 lines
Diff to previous 1.7
move the IO at the end of a time step


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 16:57:46 2001 UTC (23 years, 2 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint35
Changes since 1.6: +4 -4 lines
Diff to previous 1.6
Moved I/O of wVel outside of N-H CPP regions


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Feb 4 14:38:48 2001 UTC (23 years, 2 months ago) by cnh
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5
Made sure each .F and .h file had
the CVS keywords Header and Name at its start.
Most had header but very few currently have Name, so
lots of changes!


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Thu Nov 30 20:02:41 2000 UTC (23 years, 5 months ago) by adcroft
Branch: MAIN
CVS Tags: branch-atmos-merge-freeze, branch-atmos-merge-phase1, branch-atmos-merge-phase2, branch-atmos-merge-phase3, branch-atmos-merge-phase4, branch-atmos-merge-phase5, branch-atmos-merge-phase6, branch-atmos-merge-phase7, branch-atmos-merge-shapiro, branch-atmos-merge-start, branch-atmos-merge-zonalfilt, checkpoint33, checkpoint34
Branch point for: branch-atmos-merge
Changes since 1.4: +55 -4 lines
Diff to previous 1.4
Restored to default format of output. Still supply option for
alternate method (multiple records per variable/file) but since
it's broken (see comments in file) this is not publicized nor
supported. :)


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Mon Nov 13 16:32:58 2000 UTC (23 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint32
Changes since 1.3: +20 -22 lines
Diff to previous 1.3
Rescaling of forcing fields done immediately after reading fields.


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Mon Mar 27 22:25:45 2000 UTC (24 years, 1 month ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint26, checkpoint27, checkpoint28, checkpoint29, checkpoint30, checkpoint31
Changes since 1.2: +1 -8 lines
Diff to previous 1.2
Removed unused variables and fixed some unitialized variables.


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Jul 30 15:43:00 1999 UTC (24 years, 9 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint24, checkpoint25
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Changed some erroneous declarations of myCurrentTime (sometimes myTime)
from REAL to _RL. This probably was caught before because most people
are using -r8 compile option in conjuction with REAL4_IS_SLOW which
converts everything to real*8.  Spotted by C.E.


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Wed May 5 18:32:35 1999 UTC (25 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint21, checkpoint22, checkpoint23
Implemented new I/O package (mdsio.F). This package does parallel
I/O in much the same way as dfile.F used to except it uses "direct
access" rather than (f77) unformatted sequential access.

Problems with dfile.F package included:
  o unnecessary memory use (each process had two global sized buffers)
  o inability to read the files it had written without post-processing
  o "tiled" files were tiled by process/thread rather than actual tiles
  o created huge numbers of files with no alternatives

Features of the mdsio.F package:
  o direct-access binary writes
  o no excessive memory use
  o ability to read/write from multiple record files
  o "tiled" files are based on "WRAPPER" tiles so that the number
    and content of files is independent of the number of threads
    and/or processes
  o option to create single "global" files rather than "tiled" files
  o ability to read both "global" and "tiled" files
    [Caveat: the tiling of files must match the model tiles]
  o checkpoints now use a single file per model section
    ie.  one file for the hydrostatic model core, one file
    for the non-hydrostatic extensions and one file for the C-D
    extensions
  o the mid-level I/O routines now is broken into more source files
    read_write_fld.F supplies basic I/O routines with the same interface
                     as the original I/O package
    read_write_rec.F supplies I/O routines which allow multiple records
    write_state.F    writes the model state
    checkpoint.F     supplies the read/write checkpoint routines

All the example input data has had to be modified to be direct-access.
Otherwise only routines that used I/O have been affected and not
all of those have been due to the continuity of arguments in
the read_write_fld.F routines.

What needs to be done?  We have to create a suite of conversion
utilities for users with old-style data. Also supply the option
for using old-style I/O, not just for die-hards but for reading
data too extensive to be converted. And more...


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