Logo Iris 1.12

Previous topic

iris.experimental.fieldsfile

Next topic

iris.experimental.regrid

This Page

iris.experimental.raster

Experimental module for importing/exporting raster data from Iris cubes using the GDAL library.

See also: GDAL - Geospatial Data Abstraction Library.

TODO: If this module graduates from experimental the (optional) GDAL
dependency should be added to INSTALL

In this module:

iris.experimental.raster.export_geotiff(cube, fname)

Writes cube data to raster file format as a PixelIsArea GeoTiff image.

Args:
  • cube (Cube): The 2D regularly gridded cube slice to be exported.

    The cube must have regular, contiguous bounds.

  • fname (string): Output file name.

Note

For more details on GeoTiff specification and PixelIsArea, see: http://www.remotesensing.org/geotiff/spec/geotiff2.5.html#2.5.2.2