cape.pylava.options.runinputsopts: LAVA-Cart input file options

This module provides the class RunInputsOpts, which governs the section "RunInputs" in the CAPE-LAVA JSON file.

class cape.pylava.options.runinputsopts.RunInputsOpts(*args, **kw)

Dictionary-based interface for LAVA-Cart run.inputs file

select_runinputs_phase(j: int = 0, **kw)

Sample namelist at particular conditions

Call:
>>> d = opts.select_namelist(i)
Inputs:
opts: Options

Options interface

j: {0} | int

Phase index

Outputs:
d: dict

Namelist sampled for phase and case indices

Versions:
  • 2015-10-18 @ddalle: v1.0

  • 2023-05-16 @ddalle: v2.0; pyfun > select_namelist