File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 3
3
4
4
"""Utilities to handle NUOPC configuration files.
5
5
6
- The `nuopc.runconfig` files use by the CESM driver, and thus by ACCESS-OM3, are a mixture of two file formats: Resource
7
- Files and Fortran Namelists.
8
-
9
- At the top-level, one has the Resource Files as implemented in ESMF. From the ESMF documentation:
6
+ The `nuopc.runconfig` files used by the CESM driver, and thus by the NUOPC-based ACCESS models, are a mixture of formats.
7
+ At the top-level, one has the Resource Files as implemented in ESMF. From the ESMF documentation:
10
8
11
9
A Resource File (RF) is a text file consisting of list of label-value pairs. There is a limit of 1024 characters per
12
10
line and the Resource File can contain a maximum of 200 records. Each label should be followed by some data, the
50
48
See https://earthsystemmodeling.org/docs/release/ESMF_8_6_0/ESMF_refdoc/node6.html#SECTION06090000000000000000 for
51
49
further details.
52
50
53
- The CESM driver then uses tables as defined in Resource Files to store Fortran Namelists instead of simple values:
51
+ The CESM driver then uses tables as defined in Resource Files to store lists of key-value pairs instead of simple values:
54
52
55
53
DRIVER_attributes::
56
54
Verbosity = off
69
67
ocn2glc_levels = 1:10:19:26:30:33:35
70
68
::
71
69
70
+ This format of key-value pairs does not seem to be documented and, although it resembles Fortran namlists, it is not.
71
+ For example, the keys are case-sensitive, which is not the case in Fortran namelists. The format used to store arrays
72
+ of values is also not the same as in Fortran namelists.
72
73
"""
73
74
74
75
from pathlib import Path
You can’t perform that action at this time.
0 commit comments