CFVariableRegistry

class CFVariableRegistry[source]

Bases: object

Container of CFVariable instances supporting aliases and ad hoc generation of CFVariable copies with properties modified by the coordinate cell methods. Integrated with the xarray accessor via cfvariable.

Methods Summary

__call__(name[, accessor, longitude, …])

Return a copy of a variable with optional name and unit modifications based on the coordinate reduction methods and optional pairing to an existing ClimoDataArrayAccessor.

alias(*args)

Define alias(es) for an existing CFVariable.

define(name, *args[, aliases, parents])

Define a CFVariable instance.

get(key[, default])

Get the variable if present, otherwise return a default value.