sen2nbar.c_factor.c_factor

sen2nbar.c_factor.c_factor(sun_zenith: DataArray, view_zenith: DataArray, relative_azimuth: DataArray) DataArray[source]

Computes the c-factor.

The mathematical formulation of the c-factor can be found in Equation 4 of Roy et al., 2008 [1] and Equation 7 of Roy et al., 2016 [2].

Parameters:
  • sun_zenith (xarray.DataArray) – Sun Zenith angles in degrees.

  • view_zenith (xarray.DataArray) – Sensor Zenith angles in degrees.

  • relative_azimuth (xarray.DataArray) – Relative Azimuth angles in degrees.

Returns:

c-factor.

Return type:

xarray.DataArray

References