You are viewing the latest unreleased documentation 3.10.0.dev23. You can switch to a stable version.

iris.experimental.ugrid.save#

Extension to Iris’ NetCDF saving to allow Mesh saving in UGRID format.

Eventual destination: iris.fileformats.netcdf.

iris.experimental.ugrid.save.save_mesh(mesh, filename, netcdf_format='NETCDF4')[source]#

Save mesh(es) to a netCDF file.

Parameters:
  • mesh (iris.experimental.ugrid.Mesh or iterable) – Mesh(es) to save.

  • filename (str) – Name of the netCDF file to create.

  • netcdf_format (str, default="NETCDF4") – Underlying netCDF file format, one of ‘NETCDF4’, ‘NETCDF4_CLASSIC’, ‘NETCDF3_CLASSIC’ or ‘NETCDF3_64BIT’. Default is ‘NETCDF4’ format.