lime_tbx.business.lime_algorithms.lime.esi module

This module calculates the extra-terrestrial solar irradiance.

It exports the following functions:
  • get_esi_per_nms - Calculates the expected solar extra-terrestrial irradiance

for a given wavelengths in nanometers. Based on Wehrli 1985 data, passed through some filters. * get_esi - Calculates the expected solar extra-terrestrial irradiance for a specific SRF, based in the TSIS spectrum. * get_esi - Calculates the expected uncertainties of the calculation of the expected solar extra-terrestrial irradiance for a specific SRF, based in the TSIS spectrum.

lime_tbx.business.lime_algorithms.lime.esi.get_esi(srf_type: str) ndarray[source]

Gets the expected extraterrestrial solar irradiance of a concrete SRF. Returns the data in Wm⁻²/nm.

It uses TSIS data.

Parameters:

srf_type (str) – Name of the srf. Can be ‘cimel’, ‘asd’, ‘interpolated_gaussian’ or ‘interpolated_triangle’. It can also be ‘cimel_wehrli’ and ‘asd_wehrli’, although that option won’t be available in the toolbox GUI.

Returns:

The expected extraterrestrial solar irradiance in Wm⁻²/nm Array of arrays, each inner array has two elements: The wavelength and its related solar irradiance. Example: [[wavelength_0, esi_0], [wavelength_1, esi_1] … ]

Return type:

np.ndarray of float

lime_tbx.business.lime_algorithms.lime.esi.get_esi_per_nms(wavelengths_nm: ndarray) ndarray[source]

Gets the expected extraterrestrial solar irradiance at some concrete wavelengths Returns the data in Wm⁻²/nm.

It uses Wehrli 1985 data passed through different filters, the same data used in AEMET’s RimoApp and others.

Parameters:

wavelengths_nm (np.array of float) – Wavelengths (in nanometers) of which the extraterrestrial solar irradiance will be obtained

Returns:

The expected extraterrestrial solar irradiance in Wm⁻²/nm

Return type:

np.ndarray of float

lime_tbx.business.lime_algorithms.lime.esi.get_u_esi(srf_type: str) ndarray[source]

Gets the expected extraterrestrial solar irradiance uncertainties of a concrete SRF. Returns the data in Wm⁻²/nm.

It uses TSIS data.

Parameters:

srf_type (str) – Name of the srf. Can be ‘cimel’, ‘asd’, ‘interpolated_gaussian’ or ‘interpolated_triangle’. It can also be ‘cimel_wehrli’ and ‘asd_wehrli’, although that option won’t be available in the toolbox GUI.

Returns:

The expected extraterrestrial solar irradiance in Wm⁻²/nm

Return type:

np.ndarray of float