read

AVHRR_GAC_HDF.read(file_info, mask_and_scale=True, interpolate_packed_pixels=True, max_nans_interpolation=10, **kwargs)[source]

Read and parse MHS AAPP HDF5 files and load them to xarray

Parameters
  • file_info – Path and name of the file as string or FileInfo object. This can also be a tuple/list of file names or a path with asterisk.

  • mask_and_scale – Where the data contains missing values, it will be masked with NaNs. Furthermore, data with scaling attributes will be scaled with them.

  • interpolate_packed_pixels – Geo-location data is packed and must be interpolated to use them as reference for each pixel.

  • max_nans_interpolation – How many NaN values are allowed in latitude and longitudes before raising an error?

  • **kwargs – Additional keyword arguments that are valid for NetCDF4.

Returns

A xrarray.Dataset object.