meteodatalab.operators.radiation

Radiation related operators.

Functions

compute_athd_s(athb_s, tsurf)

Compute incoming longwave radiation at surface level.

compute_swdown(diffuse, direct)

Compute downward shortwave radiation.

meteodatalab.operators.radiation.compute_athd_s(athb_s: DataArray, tsurf: DataArray) DataArray[source]

Compute incoming longwave radiation at surface level.

Parameters:
  • athb_s (xarray.DataArray) – Net long-wave radiation flux at surface [W m-2]

  • tsurf (xarray.DataArray) – Temperature at surface [K]

Returns:

Average downward longwave radiation at the surface [W m-2]

Return type:

xarray.DataArray

meteodatalab.operators.radiation.compute_swdown(diffuse: DataArray, direct: DataArray) DataArray[source]

Compute downward shortwave radiation.

Parameters:
  • diffuse (xarray.DataArray) – incoming diffuse shortwave radiation.

  • direct (xarray.DataArray) – incoming direct shortwave radiation.

Returns:

downward shortwave radiation at surface level.

Return type:

xarray.DataArray