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:
1to10, avoiding0,5and6to avoid conflicts withstderr,stdinandstdout.Input data files: Constants namelist files are units
10to20. NetCDF file units are dealt with by the UniData NetCDF-Fortran library.Output data files:
100to110.Checkpoint files:
500to510.
If you absolutely need to change these variables, they are set in src/DefaultsModule.f90