eoio.readers.radcalnet.reader module#

eoio.readers.radcalnet.reader#

In situ data reader implementation for RadCalNet.

Classes#

RADCALNETFileTypeError

Error for an incurrect file being passed to the radcalnet reader

RadCalNetReader(path[, vars_sel, subset, ...])

RadCalNetInputReader(path[, vars_sel, ...])

Functions#

exception eoio.readers.radcalnet.reader.RADCALNETFileTypeError[source]#

Bases: ValueError

Error for an incurrect file being passed to the radcalnet reader

class eoio.readers.radcalnet.reader.RadCalNetInputReader(path: Path | str, vars_sel: Dict[str, Any] | None = None, subset: Dict[str, Any] | None = None, read_params: Dict[str, Any] | None = None)[source]#

Bases: RadCalNetReader

aux_def: Dict[str, List[str]] = {'all': ['P', 'T', 'WV', 'O3', 'AOD', 'Ang', 'Type']}#
static get_extension() str[source]#

Return the file/folder extension of the uncompressed file/folder (needed for decompressing as compressed filename might not have this extension)

class eoio.readers.radcalnet.reader.RadCalNetReader(path: Path | str, vars_sel: Dict[str, Any] | None = None, subset: Dict[str, Any] | None = None, read_params: Dict[str, Any] | None = None)[source]#

Bases: BaseReader

all_subset: Dict[str, Any] = {'angle': {'saa': ['min', 'max', 'nearest', 'tolerance'], 'sza': ['min', 'max', 'nearest', 'tolerance']}, 'datetime': ['min', 'max', 'nearest', 'tolerance_days', 'tolerance_hours', 'tolerance_minutes'], 'time_of_day_local': 'min/max/nearest/tolerance_hours/tolerance_minutes', 'time_of_day_utc': 'min/max/nearest/tolerance_hours/tolerance_minutes', 'wavelength': ['min', 'max', 'nearest', 'tolerance']}#
aux_def: Dict[str, List[str]] = {'all': ['P', 'T', 'WV', 'O3', 'AOD', 'Ang', 'Type', 'esd', 'solar_zenith_angle', 'solar_azimuth_angle']}#
default_read_params: Dict[str, Any] = {'include_uncertainties': 'true', 'metadata_level': 'all'}#
default_subset: Dict[str, Any] = {'angle': None, 'datetime': None, 'time_of_day_local': None, 'time_of_day_utc': {'max': '14:00', 'min': '08:00'}, 'wavelength': {'max': 2500, 'min': 400}}#
default_vars_sel = {'aux': 'all', 'mask': None, 'meas': 'all'}#
static get_extension() str[source]#

Return the file/folder extension of the uncompressed file/folder (needed for decompressing as compressed filename might not have this extension)

meas_def: Dict[str, List[str]] = {'all': ['reflectance']}#
open_dataset() Dataset[source]#

Read the product and return an xarray.Dataset.

uncertainty_vars: List[str] = ['reflectance_uncertainty', 'P_unc', 'T_unc', 'WV_unc', 'O3_unc', 'AOD_unc', 'Ang_unc']#