iris.fileformats.dot#
Provides Creation and saving of DOT graphs for a iris.cube.Cube
.
In this module:
- iris.fileformats.dot.cube_text(cube)[source]#
Return a DOT text representation a iris.cube.Cube.
- Parameters
cube β The cube for which to create DOT text.
- iris.fileformats.dot.save(cube, target)[source]#
Save a dot representation of the cube.
- Parameters
cube (
iris.cube.Cube
.) βtarget β A filename or open file handle.
See also
- iris.fileformats.dot.save_png(source, target, launch=False)[source]#
Produce a βdotβ instance diagram by calling dot and optionally launching the resulting image.
- Parameters
source (
iris.cube.Cube
, or dot filename.) βtarget β A filename or open file handle. If passing a file handle, take care to open it for binary output.
**kwargs β
- launch
Display the image. Default is False.
See also