lagrangian.reader.NetCDF.open

NetCDF.open(self: lagrangian.core.reader.NetCDF, path: str) → None

Opens a NetCDF grid in read-only.

Parameters

path (str) – Path to the NetCDF grid

Raises

RuntimeError – If the function can not find the definition of longitudes or latitudes in the file.