icclim._core.model.in_file_dictionary#

Contains the InFileDictionary class.

Module Contents#

class icclim._core.model.in_file_dictionary.InFileDictionary[source]#

Dictionary grouping in_files and var_name functionnalities.

study[source]#

Study input file.

Type:

InFileBaseType

thresholds[source]#

Thresholds to apply to the study input file.

Type:

NotRequired[Threshold | None]

Examples

threshold = build_threshold(operator=">", value=["per-1.nc", "per-2.nc"])
in_files = {
    "tasmax": {
        "study": "tasmax-store.zarr",
        "threshold": threshold,
    },
    "pr": "pr.nc",
    "tasmin": {"study": "tasmin.nc"},
}

Notes

It also allows to use a different input for thresholds such as percentiles.