pyrtlib.utils.constants#

pyrtlib.utils.constants(name: Optional[str] = None) Union[Tuple[float, str], List]#

This routine will provide values and units for all the universal constants necessary to pyrtlib.

Parameters:

name (Optional[str], optional) – String specifying which constant is needed. Defaults to None.

string

description

‘avogadro’

Avogadro number [mol-1]

‘boltzmann’

Boltzmann constant [J K-1]

‘EarthRadius’

Earth radius [km]

‘light’

Light speed [m s-1]

‘Np2dB’

Neper to Decibel [dB/Np]

‘planck’

Planck constant [J Hz-1]

‘Rdry’

Gas constant of dry air [J kg-1 K-1]

‘Rwatvap’

Gas constant of water vapor [J kg-1 K-1]

‘R’

Gas constant [J mol-1 K-1]

‘Tcosmicbkg’

Cosmic Background Temperature [K]

Raises:

ValueError – Raises error wheter no costant available.

Returns:

Union[Tuple[float, str], List] Numerical Value of the asked constant and string specifying which units are used

References

Note

# +/- 0.017 [K] Cosmic Background Temperature (see ref. 2) Tcosmicbkg = 2.736;

Examples using pyrtlib.utils.constants#

Performing Downwelling Brightness Temperature calculation with Ozone

Performing Downwelling Brightness Temperature calculation with Ozone

Uncertainty Example

Uncertainty Example