ibicus.variables module

Variable module - Standard definitions of climatic variables.

The variables below represent all variables currently recognized by the package and mapped onto default arguments by some of the debiasers using the from_variable() classmethod of a debiaser. However by setting class parameters oneself it is possible to use debiasers for other variables than the one below.

hurs

Daily mean near-surface relative humidity, unit: %

pr

Daily mean precipitation flux, unit: kg m-2 s-1

prsnratio

Daily mean snowfall flux / Daily mean precipitation flux, unit: 1

psl

Daily mean surface air pressure, unit: Pa

rlds

Daily mean surface downwelling longwave radiation, unit: W m-2

rsds

Daily mean surface downwelling shortwave radiation, unit: W m-2

sfcwind

Daily mean near-surface wind speed, unit: m s-1

tas

Daily mean near-surface air temperature, unit: K

tasmin

Daily minimum near-surface air temperature, unit: K

tasmax

Daily maximum near-surface air temperature, unit: K

tasrange

Daily near-surface air temperature range (tasmax-tasmin), unit: K

tasskew

Daily near-surface air temperature skew (tas-tasmin)/tasrange, unit: 1

ibicus.debias Variable-class

class ibicus.variables.Variable(name='unknown', unit='unknown', reasonable_physical_range=None)

Provides an abstract interface for climatic variables

It stores some essential attributes of the variable and is mainly used for internal purposes, however defining new ones is also possible.

Examples

>>> hurs = Variable(name="Daily mean near-surface relative humidity", unit="%").
Attributes:
namestr

Name of climatic variable.

unitstr

Unit of climatic variable.

reasonable_physical_rangelist

List of upper and lower bound of expectable reasonable physical range of climatic variable.