konrad.surface.Surface.from_netcdf

classmethod Surface.from_netcdf(ncfile, timestep=- 1, **kwargs)[source]

Create a surface model from a netCDF file.

Parameters
  • ncfile (str) – Path to netCDF file.

  • timestep (int) – Timestep to read (default is last timestep).