Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The namelist NAMRES controls model restarts (see ifs/namelist/namres.h). The most useful variables in this namelist are: NFFRES and NRESTS.

NFFRES can be used to set a regular restart frequency. NRESTS can be used to set specific restart times.

NFRRES : frequency of restart file writes (restart file interval). Use this to set a regular restart frequency. e.g. restart files created every 24hrs.

...

The first value for NRESTS must indicate the number of valid entries in therestarts required and be of the same sign as the rest of the entries. See examples below.

Examples

Code Block
languagenone
titleExample 1: Regular output frequency
 &NAMRES
       NFRRES=-24,
 /

...

In this example, the first entry (-3) is negative so all times are in hours (which are also negative) . It also indicates 3 restart write times are requested. The restart files will be created . As all values are negative (first value must all be negative), the units are hours. This would produce restart files at 48hrs, 120hrs and 192hrs. Note the restart files do not need to be created at equally spaced intervals if using a list of restart times in NRESTS.

The value of NFRRES is normally set to 1 in this caseif using NRESTS. If NFRRES is set > 1 it 's assumed to is multiplied to the restart time. In the above example, if NFRRES was changed to 2, the model would still give 3 restart files but this time at 96hrs, 240hrs and 384hrs.

Files created

Restart files

...