SolarIrradiance#

class hgrs.auxdata.SolarIrradiance(wl=None)[source]#

Bases: object

static Gamma2sigma(Gamma)[source]#

Function to convert FWHM (Gamma) to standard deviation (sigma)

convolve(F0, fwhm, info={})[source]#

Convolve with spectral response of sensor based on full width at half maximum of each band :param F0: xarray solar irradiance to convolve, coord=wl :param fwhm: xarray with data=fwhm containing full width at half maximum in nm, and coords=wl :param info: optional parameter to feed the attributes of the output xarray :return:

interp(wl=[440, 550, 660, 770, 880])[source]#

Interpolation on new wavelengths :param wl: wavelength in nm :return: update variables of the class

read_gueymard()[source]#

Open Thuillier data and convert them into xarray in mW/m2/nm :return:

read_kurucz()[source]#

Open Kurucz data and convert them into xarray in mW/m2/nm :return:

read_thuillier()[source]#

Open Thuillier data and convert them into xarray in mW/m2/nm :return:

read_tsis()[source]#

Open TSIS data and convert them into xarray in mW/m2/nm :return: