satpy.readers.core.hrit module
HRIT/LRIT format reader.
This module is the base module for all HRIT-based formats. Here, you will find the common building blocks for hrit reading.
One of the features here is the on-the-fly decompression of hrit files when compressed hrit files are encountered (files finishing with .C_).
- class satpy.readers.core.hrit.HRITFileHandler(filename, filename_info, filetype_info, hdr_info)[source]
Bases:
BaseFileHandlerHRIT standard format reader.
Initialize the reader.
- _get_hd(hdr_info, verbose=False)[source]
Open the file, read and get the basic file header info and set the mda dictionary.
- property end_time
Get end time.
- get_xy_from_linecol(line, col, offsets, factors)[source]
Get the intermediate coordinates from line & col.
Intermediate coordinates are actually the instruments scanning angles.
- property observation_end_time
Get observation end time.
- property observation_start_time
Get observation start time.
- property start_time
Get start time.
- class satpy.readers.core.hrit.HRITSegment(filename, mda)[source]
Bases:
objectAn HRIT segment with data.
Set up the segment.
- satpy.readers.core.hrit.decompress_file(infile)[source]
Decompress an XRIT data file and return the decompressed buffer.
- Return type: