Input/output units#
The following conventions are used when reading and writing from files in the model. It is worth bearing these in mind if extending the model, to make sure you avoid conflicts. Not all units within these ranges are used, but they are given as ranges to ensure future changes to the model aren’t breaking changes.
Config files:
1
to10
, avoiding0
,5
and6
to avoid conflicts withstderr
,stdin
andstdout
.Input data files: Constants namelist files are units
10
to20
. NetCDF file units are dealt with by the UniData NetCDF-Fortran library.Output data files:
100
to110
.Checkpoint files:
500
to510
.
If you absolutely need to change these variables, they are set in src/DefaultsModule.f90