satpy.readers.generic_image module

Reader for generic image (e.g. gif, png, jpg, tif, geotiff, …).

Returns a dataset without calibration. Includes coordinates if available in the file (eg. geotiff). If nodata values are present (and rasterio is able to read them), it will be preserved as attribute _FillValue in the returned dataset. In case that nodata values should be used to mask pixels (that have equal values) with np.nan, it has to be enabled in the reader yaml file (key nodata_handling per dataset with value "nan_mask").

class satpy.readers.generic_image.GenericImageFileHandler(filename, filename_info, filetype_info)[source]

Bases: satpy.readers.file_handlers.BaseFileHandler

Handle reading of generic image files.

Initialize filehandler.

property end_time

Return end time.


Get area definition of the image.

get_dataset(key, info)[source]

Get a dataset from the file.


Read the image.

property start_time

Return start time.