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

iris.fileformats.nimrod#

Provides NIMROD file format capabilities.

class iris.fileformats.nimrod.NimrodField(from_file=None)[source]#

Bases: object

A data field from a NIMROD file.

Capable of converting itself into a Cube

References

Met Office (2003): Met Office Rain Radar Data from the NIMROD System. NCAS British Atmospheric Data Centre, date of citation. https://catalogue.ceda.ac.uk/uuid/82adec1f896af6169112d09cc1174499

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

Example:

with open("nimrod_file", "rb") as infile:
    field = NimrodField(infile)
read(infile)[source]#

Read the next field from the given file object.

iris.fileformats.nimrod.load_cubes(filenames, callback=None)[source]#

Load cubes from a list of NIMROD filenames.

Parameters:
  • filenames – List of NIMROD filenames to load.

  • callback (optional) – A function which can be passed on to iris.io.run_callback().

Notes

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