Regridding Restarts for Fortuna 2.4: Difference between revisions

Line 205: Line 205:
== Bootstrapping for a Complete Set of Restarts ==
== Bootstrapping for a Complete Set of Restarts ==


The above procedure produces all the necessary restart files for the model to run, but others are needed for proper function.  The model can produce them starting from the minimal set created by the regridding procedure; this requires some modification of the <code>AGCM.rc</code> file in your experiment home directory (probably under your account home directory).   
The above procedure produces all the necessary restart files for the model to run, but others are needed for proper function.  The model can produce them starting from the minimal set created by the regridding procedure; this requires some modification of the <code>AGCM.rc</code> file in your experiment home directory.   


In <code>AGCM.rc</code> -- you probably want to keep a copy of the default version for normal runs -- and using <code>turb_import_rst</code> as an example, comment out the lines referring to <code>RESTART</code>:
In <code>AGCM.rc</code>, using <code>turb_import_rst</code> as an example, add a "-" to the beginning of the filename of the restarts to be bootstrapped:


  TURBULENCE_IMPORT_RESTART_FILE:        turb_import_rst
  TURBULENCE_IMPORT_RESTART_FILE:        turb_import_rst
Line 214: Line 214:
  TURBULENCE_IMPORT_CHECKPOINT_TYPE:      binary
  TURBULENCE_IMPORT_CHECKPOINT_TYPE:      binary


  #TURBULENCE_IMPORT_RESTART_FILE:        turb_import_rst
  TURBULENCE_IMPORT_RESTART_FILE:        -turb_import_rst
  #TURBULENCE_IMPORT_RESTART_TYPE:        binary
  TURBULENCE_IMPORT_RESTART_TYPE:        binary
  TURBULENCE_IMPORT_CHECKPOINT_FILE:      turb_import_checkpoint
  TURBULENCE_IMPORT_CHECKPOINT_FILE:      turb_import_checkpoint
  TURBULENCE_IMPORT_CHECKPOINT_TYPE:      binary
  TURBULENCE_IMPORT_CHECKPOINT_TYPE:      binary


Running the model for a model day using this modified <code>AGCM.rc</code> will produce a full set of restart files, which can be used with the default model configuration.
This will have the effect that when the model starts, it will look for that restart file and use it if it finds it, and will otherwise bootstrap the restart file.  Running the model for a model day using this modified <code>AGCM.rc</code> will produce a full set of restart files, which can be used with the default model configuration.


'''Back to [[GEOS-5 Documentation for Fortuna 2.4]]'''
'''Back to [[GEOS-5 Documentation for Fortuna 2.4]]'''