read

HDF4.read(file_info, fields=None, mapping=None)[source]

Read and parse HDF4 files and load them to a xarray.Dataset

Parameters:
  • file_info – Path and name of the file as string or FileInfo object.

  • fields – Field names that you want to extract from this file as a list.

  • mapping – A dictionary that maps old field names to new field names. If given, fields must contain the old field names.

Returns:

A xarray.Dataset object.