iris.experimental.ugrid

Ugrid functions.

In this module:

iris.experimental.ugrid.ugrid(location, name)[source]

Create a cube from an unstructured grid.

Args:

  • location:

    A string whose value represents the path to a file or URL to an OpenDAP resource conforming to the Unstructured Grid Metadata Conventions for Scientific Datasets https://github.com/ugrid-conventions/ugrid-conventions

  • name:

    A string whose value represents a cube loading constraint of first the standard name if found, then the long name if found, then the variable name if found, before falling back to the value of the default which itself defaults to “unknown”

Returns

An instance of iris.cube.Cube decorated with an instance of pyugrid.ugrid.Ugrid bound to an attribute of the cube called “mesh”