earthkit.meteo.solar.toa_incident_solar_radiation¶
- earthkit.meteo.solar.toa_incident_solar_radiation(begin_date: DateLike, end_date: DateLike, latitudes: ArrayLike, longitudes: ArrayLike, *, intervals_per_hour: int = 1, integration_order: int = 3)¶
- earthkit.meteo.solar.toa_incident_solar_radiation(begin_date: DateLike, end_date: DateLike, latitudes: xarray.DataArray, longitudes: xarray.DataArray, *, intervals_per_hour: int = 1, integration_order: int = 3) xarray.DataArray
Compute the time-integrated incident solar radiation at the top of the atmosphere (TOA).
- Parameters:
begin_date (
datetime.datetime | numpy.datetime64) – Start of the integration interval.end_date (
datetime.datetime | numpy.datetime64) – End of the integration interval.latitudes (
array-like | xarray.DataArray) – Latitude (degrees).longitudes (
array-like | xarray.DataArray) – Longitude (degrees).intervals_per_hour (
int, optional) – Number of sub-intervals per hour used in the numerical integration.integration_order (
int, optional) – Order of the integration scheme.
- Returns:
Time-integrated incident solar radiation at TOA.
- Return type:
array-like | xarray.DataArray
Implementations¶
toa_incident_solar_radiation()calls one of the following implementations depending on the type of the input arguments:earthkit.meteo.solar.array.toa_incident_solar_radiation()otherwiseearthkit.meteo.solar.xarray.toa_incident_solar_radiation()when any input is xarray.DataArray
The function returns an object of the same type as the input arguments.