xdas.DataArray.from_netcdf#

classmethod DataArray.from_netcdf(fname, group=None)[source]#

Lazily read a data array from a NetCDF file.

Parameters:
  • fname (str) – The path of the file to open.

  • group (str, optional) – The location of the data array within the file. Root by default

Returns:

The openend data array.

Return type:

DataArray