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
nodata_handling per dataset with value
- class satpy.readers.generic_image.GenericImageFileHandler(filename, filename_info, filetype_info)[source]
Handle reading of generic image files.
- property end_time
Return end time.
- property start_time
Return start time.
- satpy.readers.generic_image._handle_nodatavals(data, nodata_handling)[source]
Mask data with np.nan or only set ‘attr_FillValue’.