iris.fileformats.name_loaders

NAME file format loading functions.

In this module:

iris.fileformats.name_loaders.load_NAMEIII_field(filename)[source]

Load a NAME III grid output file returning a generator of iris.cube.Cube instances.

Args:

  • filename (string):

    Name of file to load.

Returns

A generator iris.cube.Cube instances.

↑ top ↑

iris.fileformats.name_loaders.load_NAMEIII_timeseries(filename)[source]

Load a NAME III time series file returning a generator of iris.cube.Cube instances.

Args:

  • filename (string):

    Name of file to load.

Returns

A generator iris.cube.Cube instances.

↑ top ↑

iris.fileformats.name_loaders.load_NAMEIII_trajectory(filename)[source]

Load a NAME III trajectory file returning a generator of iris.cube.Cube instances.

Args:

  • filename (string):

    Name of file to load.

Returns

A generator iris.cube.Cube instances.

↑ top ↑

iris.fileformats.name_loaders.load_NAMEIII_version2(filename)[source]

Load a NAME III version 2 file returning a generator of iris.cube.Cube instances.

Args:

  • filename (string):

    Name of file to load.

Returns

A generator iris.cube.Cube instances.

↑ top ↑

iris.fileformats.name_loaders.load_NAMEII_field(filename)[source]

Load a NAME II grid output file returning a generator of iris.cube.Cube instances.

Args:

  • filename (string):

    Name of file to load.

Returns

A generator iris.cube.Cube instances.

↑ top ↑

iris.fileformats.name_loaders.load_NAMEII_timeseries(filename)[source]

Load a NAME II Time Series file returning a generator of iris.cube.Cube instances.

Args:

  • filename (string):

    Name of file to load.

Returns

A generator iris.cube.Cube instances.

↑ top ↑

iris.fileformats.name_loaders.read_header(file_handle)[source]

Return a dictionary containing the header information extracted from the the provided NAME file object.

Args:

  • file_handle (file-like object):

    A file-like object from which to read the header information.

Returns

A dictionary containing the extracted header information.

↑ top ↑

NAMECoord(name, dimension, values)

class iris.fileformats.name_loaders.NAMECoord(_cls, name, dimension, values)

Create new instance of NAMECoord(name, dimension, values)

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

dimension

Alias for field number 1

name

Alias for field number 0

values

Alias for field number 2