-
Notifications
You must be signed in to change notification settings - Fork 19
MAPL3 MAPL_ResourceGet
Darian Boggs edited this page Jan 25, 2024
·
2 revisions
MAPL3 will use the new ESMF_HConfig
type to store resource values that previously the ESMF_Config
type stored.
-
MAPL_ResourceGet
(MRG) =>ESMF_HConfigAs
... - MRG gets value if
keystring
exists inhconfig
. - If
hconfig
does not containkeystring
,- return
default
if it is present in input arguments. - throw error otherwise.
- return
- New module for low level
- High level in
MAPL_Generic
- Low-level returns a non-optional string for the parameter.
- Return information about hconfig vs default value.
- High-level tracks component.
- High-level tracks which resources have been queried already.
- YAML value (file) does not change.
-
HConfig
value does not change. - Program value can change.
- Program value is recorded for checkpoint.