dapper.schemas package

Submodules

dapper.schemas.elm module

Canonical ELM target schema & helpers.

Everything here is dataset-agnostic. Adapters should map their raw/source variables into these canonical names before handing data to writers.

dapper.schemas.elm.elm_range(var)[source]

Return canonical recommended range for a variable.

Return type:

tuple[float, float]

Parameters:

var (str)

dapper.schemas.elm.elm_required_vars(dformat)[source]

Return the list of canonical vars required by a given ELM format.

Return type:

list[str]

Parameters:

dformat (str)

dapper.schemas.elm.elm_units(var)[source]

Return canonical units for a variable.

Return type:

str

Parameters:

var (str)

dapper.schemas.elm.is_nonnegative(var)[source]

True if var should be clipped to >= 0 after conversion.

Return type:

bool

Parameters:

var (str)

Module contents

dapper module: schemas.__init__.