satpy.readers.hdfeos_base module

Base HDF-EOS reader.

class satpy.readers.hdfeos_base.HDFEOSBaseFileReader(filename, filename_info, filetype_info, **kwargs)[source]

Bases: BaseFileHandler

Base file handler for HDF EOS data for both L1b and L2 products.

Initialize the base reader.

property end_time

Get the end time of the dataset.

load_dataset(dataset_name, is_category=False)[source]

Load the dataset from HDF EOS file.

property metadata_platform_name

Platform name from the internal file metadata.

classmethod read_mda(attribute)[source]

Read the EOS metadata.

property start_time

Get the start time of the dataset.

class satpy.readers.hdfeos_base.HDFEOSGeoReader(filename, filename_info, filetype_info, **kwargs)[source]

Bases: HDFEOSBaseFileReader

Handler for the geographical datasets.

Initialize the geographical reader.

DATASET_NAMES = {'latitude': 'Latitude', 'longitude': 'Longitude', 'satellite_azimuth_angle': ('SensorAzimuth', 'Sensor_Azimuth'), 'satellite_zenith_angle': ('SensorZenith', 'Sensor_Zenith'), 'solar_azimuth_angle': ('SolarAzimuth', 'SolarAzimuth'), 'solar_zenith_angle': ('SolarZenith', 'Solar_Zenith')}
property geo_resolution

Resolution of the geographical data retrieved in the metadata.

get_dataset(dataset_id: DataID, dataset_info: dict) DataArray[source]

Get the geolocation dataset.

get_interpolated_dataset(name1, name2, resolution, offset=0)[source]

Load and interpolate datasets.

static is_geo_loadable_dataset(dataset_name: str) bool[source]

Determine if this dataset should be loaded as a Geo dataset.

static read_geo_resolution(metadata)[source]

Parse metadata to find the geolocation resolution.

satpy.readers.hdfeos_base.interpolate(clons, clats, csatz, src_resolution, dst_resolution)[source]

Interpolate two parallel datasets jointly.