module documentation

Generate a LIVVkit Extensions (LEX) config based on template information and defaults.

Function args Parse command line arguments.
Function gen_cfg Generate and write LIVVext configuration file from template and parameters.
Function main Load machine defaults, determine analyses to be written, fill in LIVVext template.
Function parse_sets Parse comma separated strings of sets / icesheets to analyse.
Constant ALL_SETS Undocumented
Constant ALL_SHEETS Undocumented
def args(): (source)

Parse command line arguments.

Returns
argparse.Namespaceargs - Parsed command line arguments
def gen_cfg(cfg_template, params, cfg_out): (source)

Generate and write LIVVext configuration file from template and parameters.

Parameters
cfg_template:pathlib.PathPath to input Jinja2 template
params:dictParameters which are passed to the template
cfg_out:pathlib.PathPath to which the completed template is written
Returns
pathlib.Pathcfg_out - Path to which the completed template is written
def main(): (source)

Load machine defaults, determine analyses to be written, fill in LIVVext template.

def parse_sets(sheets, sets): (source)

Parse comma separated strings of sets / icesheets to analyse.

ALL_SETS: str = (source)

Undocumented

Value
'cmb,smb,energy_racmo,energy_era5,energy_merra2,energy_ceres'
ALL_SHEETS: str = (source)

Undocumented

Value
'gis,ais'