lagrangian.reader.NetCDF.load

NetCDF.load(self: lagrangian.core.reader.NetCDF, name: str, unit: str = '') → None

Load into memory grid data

Parameters
  • varname (str) – name of the NetCDF grid who contains grid data

  • unit (str) – Unit of data loaded into memory. If the parameter is undefined or contains an empty string, the object will not do unit conversion(i.e. the unit of the data loaded into memory is the unit defined in the NetCDF file)