Logo Iris 1.12

Previous topic

iris.fileformats.name

Next topic

iris.fileformats.netcdf

This Page

iris.fileformats.name_loaders

NAME file format loading functions.

In this module:

iris.fileformats.name_loaders.load_NAMEIII_field(filename)

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)

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)

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)

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)

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)

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)

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)

Bases: tuple

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

count(value) → integer -- return number of occurrences of value
index(value[, start[, stop]]) → integer -- 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