satpy.readers.viirs_compact module

Compact viirs format.

This is a reader for the Compact VIIRS format shipped on Eumetcast for the VIIRS SDR. The format is compressed in multiple ways, notably by shipping only tie-points for geographical data. The interpolation of this data is done using dask operations, so it should be relatively performant.

For more information on this format, the reader can refer to the Compact VIIRS SDR Product Format User Guide that can be found on this EARS page.

class satpy.readers.viirs_compact.VIIRSCompactFileHandler(filename, filename_info, filetype_info)[source]

Bases: satpy.readers.file_handlers.BaseFileHandler

A file handler class for VIIRS compact format.

Initialize the reader.

angles(azi_name, zen_name)[source]

Generate the angle datasets.

property end_time

Get the end time.


Expand angle and navigation datasets.

property expansion_coefs

Compute the expansion coefficients.


Get the bounding box of the data.

get_dataset(key, info)[source]

Load a dataset.


Generate the navigation datasets.

read_dataset(dataset_key, info)[source]

Read a dataset.

read_geo(key, info)[source]

Read angles.

property start_time

Get the start time.

satpy.readers.viirs_compact.convert_from_angles(azi, zen)[source]

Convert the angles to cartesian coordinates.

satpy.readers.viirs_compact.convert_to_angles(x, y, z)[source]

Convert the cartesian coordinates to angles.

satpy.readers.viirs_compact.expand(data, coefs, scans, scan_size)[source]

Perform the expansion in numpy domain.

satpy.readers.viirs_compact.expand_arrays(arrays, scans, c_align, c_exp, scan_size=16, tpz_size=16, nties=200, track_offset=0.5, scan_offset=0.5)[source]

Expand data according to alignment and expansion.

satpy.readers.viirs_compact.get_coefs(c_align, c_exp, tpz_size, nb_tpz, v_track, scans, scan_size, scan_offset)[source]

Compute the coeffs in numpy domain.