satpy.readers.hrit_base 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.hrit_base.HRITFileHandler(filename, filename_info, filetype_info, hdr_info)[source]
Bases:
BaseFileHandler
HRIT standard format reader.
Initialize the reader.
- 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.hrit_base.HRITSegment(filename, mda)[source]
Bases:
object
An HRIT segment with data.
Set up the segment.
- satpy.readers.hrit_base.decompress(infile)[source]
Decompress an XRIT data file and return the decompressed buffer.