Logo Iris 1.12

Previous topic

iris.fileformats.netcdf

Next topic

iris.fileformats.nimrod_load_rules

This Page

iris.fileformats.nimrod

Provides NIMROD file format capabilities.

In this module:

iris.fileformats.nimrod.load_cubes(filenames, callback=None)

Loads cubes from a list of NIMROD filenames.

Args:

  • filenames - list of NIMROD filenames to load

Kwargs:

Note

The resultant cubes may not be in the same order as in the files.

↑ top ↑

A data field from a NIMROD file.

Capable of converting itself into a Cube

class iris.fileformats.nimrod.NimrodField(from_file=None)

Bases: object

Create a NimrodField object and optionally read from an open file.

Example:

with open("nimrod_file", "rb") as infile:
    field = NimrodField(infile)
read(infile)

Read the next field from the given file object.