earthkit.meteo.solar.solar_declination_angle

earthkit.meteo.solar.solar_declination_angle(date: DateLike) tuple[float, float]
earthkit.meteo.solar.solar_declination_angle(date: xarray.DataArray) tuple[xarray.DataArray, xarray.DataArray]

Compute the solar declination angle and time correction.

Parameters:

date (datetime.datetime | numpy.datetime64 | xarray.DataArray) – Date/time.

Returns:

Tuple of

  • solar declination angle (degrees)

  • time correction (degrees)

Return type:

(float, float) | (xarray.DataArray, xarray.DataArray)

Implementations

solar_declination_angle() calls one of the following implementations depending on the type of the input arguments:

The function returns an object of the same type as the input arguments.