read

HOAPS.read(filename, **kwargs)[source]

Read and parse a NetCDF file and load it to a xarray.Dataset

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

  • **kwargs – Additional key word arguments that are allowed for the NetCDF4 class.

Returns:

A xarray.Dataset object.