esm_pism Package¶
plugin
Module¶
-
esm_pism.plugin.
pism_assemble_command
(config)[source]¶ Puts together the final PISM command used to launch the model
-
esm_pism.plugin.
pism_override_file
(config)[source]¶ Generates a PISM Overrides file.
Opens the
pism_config.nc
file in your YAML (see below), or uses the default found in the model directory undershare/pism/pism_config.nc
. This is used to determine which override keys are valid. A new file is written which is used during your simulation.Alternatively, you can provide an override file to use, in which case that one will be used rather than generating a new one.
Warning
It is currently not possible to provide both an override file and extend it!
Example
In your YAML, you can specify:
pism: # This config file will be used as a template rather than the # one in model_dir! config_file: "/some/path/to/a/config/file" overrides_kv_pairs: "frontal_melt.given.period": 3
Alternatively:
pism: overrides_file: "/some/path/to/an/overrides/file.nc"