Regridding restarts for Fortuna 2.1: Difference between revisions

Line 210: Line 210:
== 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.tmpl</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 (probably under your account home directory).   


In <code>AGCM.tmpl</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> -- 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>:


  TURBULENCE_IMPORT_RESTART_FILE:        turb_import_rst
  TURBULENCE_IMPORT_RESTART_FILE:        turb_import_rst
Line 224: Line 224:
  TURBULENCE_IMPORT_CHECKPOINT_TYPE:      binary
  TURBULENCE_IMPORT_CHECKPOINT_TYPE:      binary


Running the model for a model day using this modified <code>AGCM.tmpl</code> will produce a full set of restart files, which can be used with the default model configuration.
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.