iris#
A package for handling multi-dimensional data and associated metadata.
Note
The Iris documentation has further usage information, including a user guide which should be the first port of call for new users.
The functions in this module provide the main way to load and/or save your data.
The load()
function provides a simple way to explore data from
the interactive Python prompt. It will convert the source data into
Cubes
, and combine those cubes into
higher-dimensional cubes where possible.
The load_cube()
and load_cubes()
functions are similar to
load()
, but they raise an exception if the number of cubes is not
what was expected. They are more useful in scripts, where they can
provide an early sanity check on incoming data.
The load_raw()
function is provided for those occasions where the
automatic combination of cubes into higher-dimensional cubes is
undesirable. However, it is intended as a tool of last resort! If you
experience a problem with the automatic combination process then please
raise an issue with the Iris developers.
To persist a cube to the file-system, use the save()
function.
All the load functions share very similar arguments:
- uris:
Either a single filename/URI expressed as a string or
pathlib.PurePath
, or an iterable of filenames/URIs.Filenames can contain ~ or ~user abbreviations, and/or Unix shell-style wildcards (e.g. * and ?). See the standard library function
os.path.expanduser()
and modulefnmatch
for more details.Warning
If supplying a URL, only OPeNDAP Data Sources are supported.
- constraints:
Either a single constraint, or an iterable of constraints. Each constraint can be either a string, an instance of
iris.Constraint
, or an instance ofiris.AttributeConstraint
. If the constraint is a string it will be used to match against cube.name().For example:
# Load air temperature data. load_cube(uri, 'air_temperature') # Load data with a specific model level number. load_cube(uri, iris.Constraint(model_level_number=1)) # Load data with a specific STASH code. load_cube(uri, iris.AttributeConstraint(STASH='m01s00i004'))
- callback:
A function to add metadata from the originating field and/or URI which obeys the following rules:
Function signature must be:
(cube, field, filename)
.Modifies the given cube inplace, unless a new cube is returned by the function.
If the cube is to be rejected the callback must raise an
iris.exceptions.IgnoreCubeException
.
For example:
def callback(cube, field, filename): # Extract ID from filenames given as: <prefix>__<exp_id> experiment_id = filename.split('__')[1] experiment_coord = iris.coords.AuxCoord( experiment_id, long_name='experiment_id') cube.add_aux_coord(experiment_coord)
- class iris.AttributeConstraint(**attributes)[source]#
Bases:
Constraint
Provides a simple Cube-attribute based
Constraint
.Provide a simple Cube-attribute based
Constraint
.Example usage:
iris.AttributeConstraint(STASH='m01s16i004') iris.AttributeConstraint( STASH=lambda stash: str(stash).endswith('i005'))
Note
Attribute constraint names are case sensitive.
- extract(cube)#
Return the subset of the given cube which matches this constraint.
Return the subset of the given cube which matches this constraint, else return None.
- class iris.Constraint(name=None, cube_func=None, coord_values=None, **kwargs)[source]#
Bases:
object
Cubes can be pattern matched and filtered according to specific criteria.
Constraints are the mechanism by which cubes can be pattern matched and filtered according to specific criteria.
Once a constraint has been defined, it can be applied to cubes using the
Constraint.extract()
method.Use for filtering cube loading or cube list extraction.
Creates a new instance of a Constraint which can be used for filtering cube loading or cube list extraction.
- Parameters:
name (str or None, optional) – If a string, it is used as the name to match against the
iris.cube.Cube.names
property.cube_func (callable or None, optional) – If a callable, it must accept a Cube as its first and only argument and return either True or False.
coord_values (dict or None, optional) – If a dict, it must map coordinate name to the condition on the associated coordinate.
***kwargs (dict, optional) –
The remaining keyword arguments are converted to coordinate constraints. The name of the argument gives the name of a coordinate, and the value of the argument is the condition to meet on that coordinate:
Constraint(model_level_number=10)
Coordinate level constraints can be of several types:
string, int or float - the value of the coordinate to match. e.g.
model_level_number=10
list of values - the possible values that the coordinate may have to match. e.g.
model_level_number=[10, 12]
callable - a function which accepts a
iris.coords.Cell
instance as its first and only argument returning True or False if the value of the Cell is desired. e.g.model_level_number=lambda cell: 5 < cell < 10
Examples
The user guide covers cube much of constraining in detail, however an example which uses all of the features of this class is given here for completeness:
Constraint(name='air_potential_temperature', cube_func=lambda cube: cube.units == 'kelvin', coord_values={'latitude':lambda cell: 0 < cell < 90}, model_level_number=[10, 12]) & Constraint(ensemble_member=2)
Note
Whilst
&
is supported, the|
that might reasonably be expected is not. This is because each constraint describes a boxlike region, and thus the intersection of these constraints (obtained with&
) will also describe a boxlike region. Allowing the union of two constraints (with the|
symbol) would allow the description of a non-boxlike region. These are difficult to describe with cubes and so it would be ambiguous what should be extracted.To generate multiple cubes, each constrained to a different range of the same coordinate, use
iris.load_cubes()
oriris.cube.CubeList.extract_cubes()
.A cube can be constrained to multiple ranges within the same coordinate using something like the following constraint:
def latitude_bands(cell): return (0 < cell < 30) or (60 < cell < 90) Constraint(cube_func=latitude_bands)
Constraint filtering is performed at the cell level. For further details on how cell comparisons are performed see
iris.coords.Cell
.
- iris.FUTURE = Future(datum_support=False, pandas_ndim=False, save_split_attrs=False)#
Object containing all the Iris run-time options.
- class iris.Future(datum_support=False, pandas_ndim=False, save_split_attrs=False)[source]#
Bases:
_local
Run-time configuration controller.
Container for run-time options controls.
To adjust the values simply update the relevant attribute from within your code. For example:
# example_future_flag is a fictional example. iris.FUTURE.example_future_flag = False
If Iris code is executed with multiple threads, note the values of these options are thread-specific.
- Parameters:
datum_support (bool, default=False) – Opts in to loading coordinate system datum information from NetCDF files into
CoordSystem
, wherever this information is present.pandas_ndim (bool, default=False) – See
iris.pandas.as_data_frame()
for details - opts in to the newer n-dimensional behaviour.save_split_attrs (bool, default=False) – Save “global” and “local” cube attributes to netcdf in appropriately different ways : “global” ones are saved as dataset attributes, where possible, while “local” ones are saved as data-variable attributes. See
iris.fileformats.netcdf.saver.save()
.
- context(**kwargs)[source]#
Return context manager for temp modification of option values for the active thread.
On entry to the with statement, all keyword arguments are applied to the Future object. On exit from the with statement, the previous state is restored.
For example:
# example_future_flag is a fictional example. with iris.FUTURE.context(example_future_flag=False): # ... code that expects some past behaviour
- deprecated_options = {}#
- exception iris.IrisDeprecation[source]#
Bases:
UserWarning
An Iris deprecation warning.
Note this subclasses UserWarning for backwards compatibility with Iris’ original deprecation warnings. Should subclass DeprecationWarning at the next major release.
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- class iris.NameConstraint(standard_name='none', long_name='none', var_name='none', STASH='none')[source]#
Bases:
Constraint
Provide a simple Cube name based
Constraint
.Provide a simple Cube name based
Constraint
.Provide a simple Cube name based
Constraint
, which matches against each of the names provided, which may be either standard name, long name, NetCDF variable name and/or the STASH from the attributes dictionary.The name constraint will only succeed if all of the provided names match.
- Parameters:
standard_name (optional) – A string or callable representing the standard name to match against.
long_name (optional) – A string or callable representing the long name to match against.
var_name (optional) – A string or callable representing the NetCDF variable name to match against.
STASH (optional) – A string or callable representing the UM STASH code to match against.
Notes
The default value of each of the keyword arguments is the string “none”, rather than the singleton None, as None may be a legitimate value to be matched against e.g., to constrain against all cubes where the standard_name is not set, then use standard_name=None.
- Return type:
Examples
Example usage:
iris.NameConstraint(long_name='air temp', var_name=None) iris.NameConstraint(long_name=lambda name: 'temp' in name) iris.NameConstraint(standard_name='air_temperature', STASH=lambda stash: stash.item == 203)
- extract(cube)#
Return the subset of the given cube which matches this constraint.
Return the subset of the given cube which matches this constraint, else return None.
- iris.load(uris, constraints=None, callback=None)[source]#
Load any number of Cubes for each constraint.
For a full description of the arguments, please see the module documentation for
iris
.- Parameters:
uris (str or
pathlib.PurePath
) – One or more filenames/URIs, as a string orpathlib.PurePath
. If supplying a URL, only OPeNDAP Data Sources are supported.constraints (optional) – One or more constraints.
callback (optional) – A modifier/filter function.
- Returns:
An
iris.cube.CubeList
. Note that there is no inherent order to thisiris.cube.CubeList
and it should be treated as if it were random.- Return type:
- iris.load_cube(uris, constraint=None, callback=None)[source]#
Load a single cube.
For a full description of the arguments, please see the module documentation for
iris
.- Parameters:
uris – One or more filenames/URIs, as a string or
pathlib.PurePath
. If supplying a URL, only OPeNDAP Data Sources are supported.constraints (optional) – A constraint.
callback (optional) – A modifier/filter function.
- Return type:
- iris.load_cubes(uris, constraints=None, callback=None)[source]#
Load exactly one Cube for each constraint.
For a full description of the arguments, please see the module documentation for
iris
.- Parameters:
uris – One or more filenames/URIs, as a string or
pathlib.PurePath
. If supplying a URL, only OPeNDAP Data Sources are supported.constraints (optional) – One or more constraints.
callback (optional) – A modifier/filter function.
- Returns:
An
iris.cube.CubeList
. Note that there is no inherent order to thisiris.cube.CubeList
and it should be treated as if it were random.- Return type:
- iris.load_raw(uris, constraints=None, callback=None)[source]#
Load non-merged cubes.
This function is provided for those occasions where the automatic combination of cubes into higher-dimensional cubes is undesirable. However, it is intended as a tool of last resort! If you experience a problem with the automatic combination process then please raise an issue with the Iris developers.
For a full description of the arguments, please see the module documentation for
iris
.- Parameters:
uris – One or more filenames/URIs, as a string or
pathlib.PurePath
. If supplying a URL, only OPeNDAP Data Sources are supported.constraints (optional) – One or more constraints.
callback (optional) – A modifier/filter function.
- Return type:
- iris.sample_data_path(*path_to_join)[source]#
Given the sample data resource, returns the full path to the file.
Note
This function is only for locating files in the iris sample data collection (installed separately from iris). It is not needed or appropriate for general file access.
- iris.save(source, target, saver=None, **kwargs)[source]#
Save one or more Cubes to file (or other writeable).
Iris currently supports three file formats for saving, which it can recognise by filename extension:
netCDF - the Unidata network Common Data Format, see
iris.fileformats.netcdf.save()
GRIB2 - the WMO GRIdded Binary data format, see
iris_grib.save_grib2()
.PP - the Met Office UM Post Processing Format, see
iris.fileformats.pp.save()
A custom saver can be provided to the function to write to a different file format.
- Parameters:
source (
iris.cube.Cube
oriris.cube.CubeList
)target (str or pathlib.PurePath or io.TextIOWrapper) – When given a filename or file, Iris can determine the file format.
saver (str or function, optional) –
Specifies the file format to save. If omitted, Iris will attempt to determine the format. If a string, this is the recognised filename extension (where the actual filename may not have it).
Otherwise the value is a saver function, of the form:
my_saver(cube, target)
plus any custom keywords. It is assumed that a saver will accept anappend
keyword if its file format can handle multiple cubes. See alsoiris.io.add_saver()
.**kwargs (dict, optional) – All other keywords are passed through to the saver function; see the relevant saver documentation for more information on keyword arguments.
Warning
Saving a cube whose data has been loaded lazily (if cube.has_lazy_data() returns True) to the same file it expects to load data from will cause both the data in-memory and the data on disk to be lost.
cube = iris.load_cube("somefile.nc") # The next line causes data loss in 'somefile.nc' and the cube. iris.save(cube, "somefile.nc")
In general, overwriting a file which is the source for any lazily loaded data can result in corruption. Users should proceed with caution when attempting to overwrite an existing file.
Examples
>>> # Setting up >>> import iris >>> my_cube = iris.load_cube(iris.sample_data_path('air_temp.pp')) >>> my_cube_list = iris.load(iris.sample_data_path('space_weather.nc'))
>>> # Save a cube to PP >>> iris.save(my_cube, "myfile.pp")
>>> # Save a cube list to a PP file, appending to the contents of the file >>> # if it already exists >>> iris.save(my_cube_list, "myfile.pp", append=True)
>>> # Save a cube to netCDF, defaults to NETCDF4 file format >>> iris.save(my_cube, "myfile.nc")
>>> # Save a cube list to netCDF, using the NETCDF3_CLASSIC storage option >>> iris.save(my_cube_list, "myfile.nc", netcdf_format="NETCDF3_CLASSIC")
Notes
This function maintains laziness when called; it does not realise data. See more at Real and Lazy Data.
- iris.site_configuration = {}#
Iris site configuration dictionary.
- iris.use_plugin(plugin_name)[source]#
Import a plugin.
- Parameters:
plugin_name (str) – Name of plugin.
Examples
The following:
use_plugin("my_plugin")
is equivalent to:
import iris.plugins.my_plugin
This is useful for plugins that are not used directly, but instead do all their setup on import. In this case, style checkers would not know the significance of the import statement and warn that it is an unused import.
Subpackages#
- iris.analysis
Aggregator
AreaWeighted
COUNT
GMEAN
HMEAN
Linear
MAX
MAX_RUN
MEAN
MEDIAN
MIN
Nearest
PEAK
PERCENTILE
PROPORTION
PercentileAggregator
PercentileAggregator.aggregate()
PercentileAggregator.aggregate_shape()
PercentileAggregator.call_func
PercentileAggregator.cell_method
PercentileAggregator.lazy_aggregate()
PercentileAggregator.lazy_func
PercentileAggregator.name()
PercentileAggregator.post_process()
PercentileAggregator.units_func
PercentileAggregator.update_metadata()
PointInCell
RMS
STD_DEV
SUM
UnstructuredNearest
VARIANCE
WPERCENTILE
WeightedAggregator
WeightedAggregator.aggregate()
WeightedAggregator.aggregate_shape()
WeightedAggregator.call_func
WeightedAggregator.cell_method
WeightedAggregator.lazy_aggregate()
WeightedAggregator.lazy_func
WeightedAggregator.name()
WeightedAggregator.post_process()
WeightedAggregator.units_func
WeightedAggregator.update_metadata()
WeightedAggregator.uses_weighting()
WeightedPercentileAggregator
WeightedPercentileAggregator.aggregate()
WeightedPercentileAggregator.aggregate_shape()
WeightedPercentileAggregator.call_func
WeightedPercentileAggregator.cell_method
WeightedPercentileAggregator.lazy_aggregate()
WeightedPercentileAggregator.lazy_func
WeightedPercentileAggregator.name()
WeightedPercentileAggregator.post_process()
WeightedPercentileAggregator.units_func
WeightedPercentileAggregator.update_metadata()
clear_phenomenon_identity()
create_weighted_aggregator_fn()
- Submodules
- iris.common
- iris.experimental
- iris.fileformats
- Subpackages
- Submodules
- iris.fileformats.abf
- iris.fileformats.cf
CFAncillaryDataVariable
CFAuxiliaryCoordinateVariable
CFBoundaryVariable
CFClimatologyVariable
CFCoordinateVariable
CFDataVariable
CFGridMappingVariable
CFGroup
CFLabelVariable
CFMeasureVariable
CFReader
CFUGridAuxiliaryCoordinateVariable
CFUGridConnectivityVariable
CFUGridMeshVariable
CFVariable
reference_terms
- iris.fileformats.dot
- iris.fileformats.name
- iris.fileformats.name_loaders
- iris.fileformats.nimrod
- iris.fileformats.nimrod_load_rules
- iris.fileformats.pp
- iris.fileformats.pp_load_rules
- iris.fileformats.pp_save_rules
- iris.fileformats.rules
- iris.fileformats.um_cf_map
- iris.io
- iris.mesh
Connectivity
Connectivity.UGRID_CF_ROLES
Connectivity.__binary_operator__()
Connectivity.__getitem__()
Connectivity.attributes
Connectivity.cf_role
Connectivity.connected
Connectivity.connected_axis
Connectivity.convert_units()
Connectivity.copy()
Connectivity.core_indices()
Connectivity.cube_dims()
Connectivity.dtype
Connectivity.has_bounds()
Connectivity.has_lazy_indices()
Connectivity.indices
Connectivity.indices_by_location()
Connectivity.is_compatible()
Connectivity.lazy_indices()
Connectivity.lazy_location_lengths()
Connectivity.location
Connectivity.location_axis
Connectivity.location_lengths()
Connectivity.long_name
Connectivity.metadata
Connectivity.name()
Connectivity.ndim
Connectivity.rename()
Connectivity.shape
Connectivity.standard_name
Connectivity.start_index
Connectivity.summary()
Connectivity.transpose()
Connectivity.units
Connectivity.validate_indices()
Connectivity.var_name
Connectivity.xml_element()
MeshCoord
MeshCoord.__binary_operator__()
MeshCoord.__deepcopy__()
MeshCoord.attributes
MeshCoord.axis
MeshCoord.bounds
MeshCoord.bounds_dtype
MeshCoord.cell()
MeshCoord.cells()
MeshCoord.climatological
MeshCoord.collapsed()
MeshCoord.contiguous_bounds()
MeshCoord.convert_units()
MeshCoord.coord_system
MeshCoord.copy()
MeshCoord.core_bounds()
MeshCoord.core_points()
MeshCoord.cube_dims()
MeshCoord.dtype
MeshCoord.from_coord()
MeshCoord.guess_bounds()
MeshCoord.has_bounds()
MeshCoord.has_lazy_bounds()
MeshCoord.has_lazy_points()
MeshCoord.ignore_axis
MeshCoord.intersect()
MeshCoord.is_compatible()
MeshCoord.is_contiguous()
MeshCoord.is_monotonic()
MeshCoord.lazy_bounds()
MeshCoord.lazy_points()
MeshCoord.location
MeshCoord.long_name
MeshCoord.mesh
MeshCoord.metadata
MeshCoord.name()
MeshCoord.nbounds
MeshCoord.ndim
MeshCoord.nearest_neighbour_index()
MeshCoord.points
MeshCoord.rename()
MeshCoord.shape
MeshCoord.standard_name
MeshCoord.summary()
MeshCoord.units
MeshCoord.var_name
MeshCoord.xml_element()
MeshXY
MeshXY.AXES
MeshXY.ELEMENTS
MeshXY.TOPOLOGY_DIMENSIONS
MeshXY.add_connectivities()
MeshXY.add_coords()
MeshXY.all_connectivities
MeshXY.all_coords
MeshXY.attributes
MeshXY.boundary_node_connectivity
MeshXY.cf_role
MeshXY.connectivities()
MeshXY.connectivity()
MeshXY.coord()
MeshXY.coords()
MeshXY.dimension_names()
MeshXY.dimension_names_reset()
MeshXY.edge_coords
MeshXY.edge_dimension
MeshXY.edge_face_connectivity
MeshXY.edge_node_connectivity
MeshXY.face_coords
MeshXY.face_dimension
MeshXY.face_edge_connectivity
MeshXY.face_face_connectivity
MeshXY.face_node_connectivity
MeshXY.from_coords()
MeshXY.long_name
MeshXY.metadata
MeshXY.name()
MeshXY.node_coords
MeshXY.node_dimension
MeshXY.remove_connectivities()
MeshXY.remove_coords()
MeshXY.rename()
MeshXY.standard_name
MeshXY.summary()
MeshXY.to_MeshCoord()
MeshXY.to_MeshCoords()
MeshXY.topology_dimension
MeshXY.units
MeshXY.var_name
MeshXY.xml_element()
load_mesh()
load_meshes()
recombine_submeshes()
save_mesh()
- Submodules
Submodules#
- iris.aux_factory
AtmosphereSigmaFactory
AtmosphereSigmaFactory.attributes
AtmosphereSigmaFactory.climatological
AtmosphereSigmaFactory.coord_system
AtmosphereSigmaFactory.dependencies
AtmosphereSigmaFactory.derived_dims()
AtmosphereSigmaFactory.long_name
AtmosphereSigmaFactory.make_coord()
AtmosphereSigmaFactory.metadata
AtmosphereSigmaFactory.name()
AtmosphereSigmaFactory.rename()
AtmosphereSigmaFactory.standard_name
AtmosphereSigmaFactory.units
AtmosphereSigmaFactory.update()
AtmosphereSigmaFactory.updated()
AtmosphereSigmaFactory.var_name
AtmosphereSigmaFactory.xml_element()
AuxCoordFactory
AuxCoordFactory.attributes
AuxCoordFactory.climatological
AuxCoordFactory.coord_system
AuxCoordFactory.dependencies
AuxCoordFactory.derived_dims()
AuxCoordFactory.long_name
AuxCoordFactory.make_coord()
AuxCoordFactory.metadata
AuxCoordFactory.name()
AuxCoordFactory.rename()
AuxCoordFactory.standard_name
AuxCoordFactory.units
AuxCoordFactory.update()
AuxCoordFactory.updated()
AuxCoordFactory.var_name
AuxCoordFactory.xml_element()
HybridHeightFactory
HybridHeightFactory.attributes
HybridHeightFactory.climatological
HybridHeightFactory.coord_system
HybridHeightFactory.dependencies
HybridHeightFactory.derived_dims()
HybridHeightFactory.long_name
HybridHeightFactory.make_coord()
HybridHeightFactory.metadata
HybridHeightFactory.name()
HybridHeightFactory.rename()
HybridHeightFactory.standard_name
HybridHeightFactory.units
HybridHeightFactory.update()
HybridHeightFactory.updated()
HybridHeightFactory.var_name
HybridHeightFactory.xml_element()
HybridPressureFactory
HybridPressureFactory.attributes
HybridPressureFactory.climatological
HybridPressureFactory.coord_system
HybridPressureFactory.dependencies
HybridPressureFactory.derived_dims()
HybridPressureFactory.long_name
HybridPressureFactory.make_coord()
HybridPressureFactory.metadata
HybridPressureFactory.name()
HybridPressureFactory.rename()
HybridPressureFactory.standard_name
HybridPressureFactory.units
HybridPressureFactory.update()
HybridPressureFactory.updated()
HybridPressureFactory.var_name
HybridPressureFactory.xml_element()
OceanSFactory
OceanSFactory.attributes
OceanSFactory.climatological
OceanSFactory.coord_system
OceanSFactory.dependencies
OceanSFactory.derived_dims()
OceanSFactory.long_name
OceanSFactory.make_coord()
OceanSFactory.metadata
OceanSFactory.name()
OceanSFactory.rename()
OceanSFactory.standard_name
OceanSFactory.units
OceanSFactory.update()
OceanSFactory.updated()
OceanSFactory.var_name
OceanSFactory.xml_element()
OceanSg1Factory
OceanSg1Factory.attributes
OceanSg1Factory.climatological
OceanSg1Factory.coord_system
OceanSg1Factory.dependencies
OceanSg1Factory.derived_dims()
OceanSg1Factory.long_name
OceanSg1Factory.make_coord()
OceanSg1Factory.metadata
OceanSg1Factory.name()
OceanSg1Factory.rename()
OceanSg1Factory.standard_name
OceanSg1Factory.units
OceanSg1Factory.update()
OceanSg1Factory.updated()
OceanSg1Factory.var_name
OceanSg1Factory.xml_element()
OceanSg2Factory
OceanSg2Factory.attributes
OceanSg2Factory.climatological
OceanSg2Factory.coord_system
OceanSg2Factory.dependencies
OceanSg2Factory.derived_dims()
OceanSg2Factory.long_name
OceanSg2Factory.make_coord()
OceanSg2Factory.metadata
OceanSg2Factory.name()
OceanSg2Factory.rename()
OceanSg2Factory.standard_name
OceanSg2Factory.units
OceanSg2Factory.update()
OceanSg2Factory.updated()
OceanSg2Factory.var_name
OceanSg2Factory.xml_element()
OceanSigmaFactory
OceanSigmaFactory.attributes
OceanSigmaFactory.climatological
OceanSigmaFactory.coord_system
OceanSigmaFactory.dependencies
OceanSigmaFactory.derived_dims()
OceanSigmaFactory.long_name
OceanSigmaFactory.make_coord()
OceanSigmaFactory.metadata
OceanSigmaFactory.name()
OceanSigmaFactory.rename()
OceanSigmaFactory.standard_name
OceanSigmaFactory.units
OceanSigmaFactory.update()
OceanSigmaFactory.updated()
OceanSigmaFactory.var_name
OceanSigmaFactory.xml_element()
OceanSigmaZFactory
OceanSigmaZFactory.attributes
OceanSigmaZFactory.climatological
OceanSigmaZFactory.coord_system
OceanSigmaZFactory.dependencies
OceanSigmaZFactory.derived_dims()
OceanSigmaZFactory.long_name
OceanSigmaZFactory.make_coord()
OceanSigmaZFactory.metadata
OceanSigmaZFactory.name()
OceanSigmaZFactory.rename()
OceanSigmaZFactory.standard_name
OceanSigmaZFactory.units
OceanSigmaZFactory.update()
OceanSigmaZFactory.updated()
OceanSigmaZFactory.var_name
OceanSigmaZFactory.xml_element()
- iris.config
- iris.coord_categorisation
- iris.coord_systems
AlbersEqualArea
AlbersEqualArea.__eq__()
AlbersEqualArea.as_cartopy_crs()
AlbersEqualArea.as_cartopy_projection()
AlbersEqualArea.ellipsoid
AlbersEqualArea.false_easting
AlbersEqualArea.false_northing
AlbersEqualArea.grid_mapping_name
AlbersEqualArea.latitude_of_projection_origin
AlbersEqualArea.longitude_of_central_meridian
AlbersEqualArea.standard_parallels
AlbersEqualArea.xml_element()
CoordSystem
GeogCS
Geostationary
Geostationary.__eq__()
Geostationary.as_cartopy_crs()
Geostationary.as_cartopy_projection()
Geostationary.ellipsoid
Geostationary.false_easting
Geostationary.false_northing
Geostationary.grid_mapping_name
Geostationary.latitude_of_projection_origin
Geostationary.longitude_of_projection_origin
Geostationary.perspective_point_height
Geostationary.sweep_angle_axis
Geostationary.xml_element()
LambertAzimuthalEqualArea
LambertAzimuthalEqualArea.__eq__()
LambertAzimuthalEqualArea.as_cartopy_crs()
LambertAzimuthalEqualArea.as_cartopy_projection()
LambertAzimuthalEqualArea.ellipsoid
LambertAzimuthalEqualArea.false_easting
LambertAzimuthalEqualArea.false_northing
LambertAzimuthalEqualArea.grid_mapping_name
LambertAzimuthalEqualArea.latitude_of_projection_origin
LambertAzimuthalEqualArea.longitude_of_projection_origin
LambertAzimuthalEqualArea.xml_element()
LambertConformal
LambertConformal.__eq__()
LambertConformal.as_cartopy_crs()
LambertConformal.as_cartopy_projection()
LambertConformal.central_lat
LambertConformal.central_lon
LambertConformal.ellipsoid
LambertConformal.false_easting
LambertConformal.false_northing
LambertConformal.grid_mapping_name
LambertConformal.secant_latitudes
LambertConformal.xml_element()
Mercator
OSGB
ObliqueMercator
ObliqueMercator.__eq__()
ObliqueMercator.as_cartopy_crs()
ObliqueMercator.as_cartopy_projection()
ObliqueMercator.azimuth_of_central_line
ObliqueMercator.ellipsoid
ObliqueMercator.false_easting
ObliqueMercator.false_northing
ObliqueMercator.grid_mapping_name
ObliqueMercator.latitude_of_projection_origin
ObliqueMercator.longitude_of_projection_origin
ObliqueMercator.scale_factor_at_projection_origin
ObliqueMercator.xml_element()
Orthographic
Orthographic.__eq__()
Orthographic.as_cartopy_crs()
Orthographic.as_cartopy_projection()
Orthographic.ellipsoid
Orthographic.false_easting
Orthographic.false_northing
Orthographic.grid_mapping_name
Orthographic.latitude_of_projection_origin
Orthographic.longitude_of_projection_origin
Orthographic.xml_element()
PolarStereographic
PolarStereographic.__eq__()
PolarStereographic.as_cartopy_crs()
PolarStereographic.as_cartopy_projection()
PolarStereographic.central_lat
PolarStereographic.central_lon
PolarStereographic.ellipsoid
PolarStereographic.false_easting
PolarStereographic.false_northing
PolarStereographic.grid_mapping_name
PolarStereographic.scale_factor_at_projection_origin
PolarStereographic.true_scale_lat
PolarStereographic.xml_element()
RotatedGeogCS
RotatedMercator
RotatedMercator.__eq__()
RotatedMercator.as_cartopy_crs()
RotatedMercator.as_cartopy_projection()
RotatedMercator.azimuth_of_central_line
RotatedMercator.ellipsoid
RotatedMercator.false_easting
RotatedMercator.false_northing
RotatedMercator.grid_mapping_name
RotatedMercator.latitude_of_projection_origin
RotatedMercator.longitude_of_projection_origin
RotatedMercator.scale_factor_at_projection_origin
RotatedMercator.xml_element()
Stereographic
Stereographic.__eq__()
Stereographic.as_cartopy_crs()
Stereographic.as_cartopy_projection()
Stereographic.central_lat
Stereographic.central_lon
Stereographic.ellipsoid
Stereographic.false_easting
Stereographic.false_northing
Stereographic.grid_mapping_name
Stereographic.scale_factor_at_projection_origin
Stereographic.true_scale_lat
Stereographic.xml_element()
TransverseMercator
TransverseMercator.__eq__()
TransverseMercator.as_cartopy_crs()
TransverseMercator.as_cartopy_projection()
TransverseMercator.ellipsoid
TransverseMercator.false_easting
TransverseMercator.false_northing
TransverseMercator.grid_mapping_name
TransverseMercator.latitude_of_projection_origin
TransverseMercator.longitude_of_central_meridian
TransverseMercator.scale_factor_at_central_meridian
TransverseMercator.xml_element()
VerticalPerspective
VerticalPerspective.__eq__()
VerticalPerspective.as_cartopy_crs()
VerticalPerspective.as_cartopy_projection()
VerticalPerspective.ellipsoid
VerticalPerspective.false_easting
VerticalPerspective.false_northing
VerticalPerspective.grid_mapping_name
VerticalPerspective.latitude_of_projection_origin
VerticalPerspective.longitude_of_projection_origin
VerticalPerspective.perspective_point_height
VerticalPerspective.xml_element()
- iris.coords
AncillaryVariable
AncillaryVariable.__binary_operator__()
AncillaryVariable.__getitem__()
AncillaryVariable.attributes
AncillaryVariable.convert_units()
AncillaryVariable.copy()
AncillaryVariable.core_data()
AncillaryVariable.cube_dims()
AncillaryVariable.data
AncillaryVariable.dtype
AncillaryVariable.has_bounds()
AncillaryVariable.has_lazy_data()
AncillaryVariable.is_compatible()
AncillaryVariable.lazy_data()
AncillaryVariable.long_name
AncillaryVariable.metadata
AncillaryVariable.name()
AncillaryVariable.ndim
AncillaryVariable.rename()
AncillaryVariable.shape
AncillaryVariable.standard_name
AncillaryVariable.summary()
AncillaryVariable.units
AncillaryVariable.var_name
AncillaryVariable.xml_element()
AuxCoord
AuxCoord.__binary_operator__()
AuxCoord.__getitem__()
AuxCoord.attributes
AuxCoord.bounds
AuxCoord.bounds_dtype
AuxCoord.cell()
AuxCoord.cells()
AuxCoord.climatological
AuxCoord.collapsed()
AuxCoord.contiguous_bounds()
AuxCoord.convert_units()
AuxCoord.coord_system
AuxCoord.copy()
AuxCoord.core_bounds()
AuxCoord.core_points()
AuxCoord.cube_dims()
AuxCoord.dtype
AuxCoord.from_coord()
AuxCoord.guess_bounds()
AuxCoord.has_bounds()
AuxCoord.has_lazy_bounds()
AuxCoord.has_lazy_points()
AuxCoord.ignore_axis
AuxCoord.intersect()
AuxCoord.is_compatible()
AuxCoord.is_contiguous()
AuxCoord.is_monotonic()
AuxCoord.lazy_bounds()
AuxCoord.lazy_points()
AuxCoord.long_name
AuxCoord.metadata
AuxCoord.name()
AuxCoord.nbounds
AuxCoord.ndim
AuxCoord.nearest_neighbour_index()
AuxCoord.points
AuxCoord.rename()
AuxCoord.shape
AuxCoord.standard_name
AuxCoord.summary()
AuxCoord.units
AuxCoord.var_name
AuxCoord.xml_element()
Cell
CellMeasure
CellMeasure.__binary_operator__()
CellMeasure.__getitem__()
CellMeasure.attributes
CellMeasure.convert_units()
CellMeasure.copy()
CellMeasure.core_data()
CellMeasure.cube_dims()
CellMeasure.data
CellMeasure.dtype
CellMeasure.has_bounds()
CellMeasure.has_lazy_data()
CellMeasure.is_compatible()
CellMeasure.lazy_data()
CellMeasure.long_name
CellMeasure.measure
CellMeasure.metadata
CellMeasure.name()
CellMeasure.ndim
CellMeasure.rename()
CellMeasure.shape
CellMeasure.standard_name
CellMeasure.summary()
CellMeasure.units
CellMeasure.var_name
CellMeasure.xml_element()
CellMethod
Coord
Coord.__binary_operator__()
Coord.__getitem__()
Coord.attributes
Coord.bounds
Coord.bounds_dtype
Coord.cell()
Coord.cells()
Coord.climatological
Coord.collapsed()
Coord.contiguous_bounds()
Coord.convert_units()
Coord.coord_system
Coord.copy()
Coord.core_bounds()
Coord.core_points()
Coord.cube_dims()
Coord.dtype
Coord.from_coord()
Coord.guess_bounds()
Coord.has_bounds()
Coord.has_lazy_bounds()
Coord.has_lazy_points()
Coord.ignore_axis
Coord.intersect()
Coord.is_compatible()
Coord.is_contiguous()
Coord.is_monotonic()
Coord.lazy_bounds()
Coord.lazy_points()
Coord.long_name
Coord.metadata
Coord.name()
Coord.nbounds
Coord.ndim
Coord.nearest_neighbour_index()
Coord.points
Coord.rename()
Coord.shape
Coord.standard_name
Coord.summary()
Coord.units
Coord.var_name
Coord.xml_element()
CoordExtent
DEFAULT_IGNORE_AXIS
DimCoord
DimCoord.__binary_operator__()
DimCoord.__deepcopy__()
DimCoord.attributes
DimCoord.bounds
DimCoord.bounds_dtype
DimCoord.cell()
DimCoord.cells()
DimCoord.circular
DimCoord.climatological
DimCoord.collapsed()
DimCoord.contiguous_bounds()
DimCoord.convert_units()
DimCoord.coord_system
DimCoord.copy()
DimCoord.core_bounds()
DimCoord.core_points()
DimCoord.cube_dims()
DimCoord.dtype
DimCoord.from_coord()
DimCoord.from_regular()
DimCoord.guess_bounds()
DimCoord.has_bounds()
DimCoord.has_lazy_bounds()
DimCoord.has_lazy_points()
DimCoord.ignore_axis
DimCoord.intersect()
DimCoord.is_compatible()
DimCoord.is_contiguous()
DimCoord.is_monotonic()
DimCoord.lazy_bounds()
DimCoord.lazy_points()
DimCoord.long_name
DimCoord.metadata
DimCoord.name()
DimCoord.nbounds
DimCoord.ndim
DimCoord.nearest_neighbour_index()
DimCoord.points
DimCoord.rename()
DimCoord.shape
DimCoord.standard_name
DimCoord.summary()
DimCoord.units
DimCoord.var_name
DimCoord.xml_element()
- iris.cube
Cube
Cube.__copy__()
Cube.__getitem__()
Cube.add_ancillary_variable()
Cube.add_aux_coord()
Cube.add_aux_factory()
Cube.add_cell_measure()
Cube.add_cell_method()
Cube.add_dim_coord()
Cube.aggregated_by()
Cube.ancillary_variable()
Cube.ancillary_variable_dims()
Cube.ancillary_variables()
Cube.attributes
Cube.aux_coords
Cube.aux_factories
Cube.aux_factory()
Cube.cell_measure()
Cube.cell_measure_dims()
Cube.cell_measures()
Cube.cell_methods
Cube.collapsed()
Cube.convert_units()
Cube.coord()
Cube.coord_dims()
Cube.coord_system()
Cube.coords()
Cube.copy()
Cube.core_data()
Cube.data
Cube.derived_coords
Cube.dim_coords
Cube.dtype
Cube.extract()
Cube.has_lazy_data()
Cube.interpolate()
Cube.intersection()
Cube.is_compatible()
Cube.lazy_data()
Cube.location
Cube.long_name
Cube.mesh
Cube.mesh_dim()
Cube.metadata
Cube.name()
Cube.ndim
Cube.regrid()
Cube.remove_ancillary_variable()
Cube.remove_aux_factory()
Cube.remove_cell_measure()
Cube.remove_coord()
Cube.rename()
Cube.replace_coord()
Cube.rolling_window()
Cube.shape
Cube.slices()
Cube.slices_over()
Cube.standard_name
Cube.subset()
Cube.summary()
Cube.transpose()
Cube.units
Cube.var_name
Cube.xml()
CubeAttrsDict
CubeAttrsDict.__delitem__()
CubeAttrsDict.__getitem__()
CubeAttrsDict.__ior__()
CubeAttrsDict.__iter__()
CubeAttrsDict.__or__()
CubeAttrsDict.__ror__()
CubeAttrsDict.__setitem__()
CubeAttrsDict.clear()
CubeAttrsDict.copy()
CubeAttrsDict.fromkeys()
CubeAttrsDict.get()
CubeAttrsDict.globals
CubeAttrsDict.items()
CubeAttrsDict.keys()
CubeAttrsDict.locals
CubeAttrsDict.pop()
CubeAttrsDict.popitem()
CubeAttrsDict.setdefault()
CubeAttrsDict.update()
CubeAttrsDict.values()
CubeList
CubeList.__getitem__()
CubeList.__getslice__()
CubeList.__iadd__()
CubeList.__repr__()
CubeList.__setitem__()
CubeList.__str__()
CubeList.append()
CubeList.clear()
CubeList.concatenate()
CubeList.concatenate_cube()
CubeList.copy()
CubeList.count()
CubeList.extend()
CubeList.extract()
CubeList.extract_cube()
CubeList.extract_cubes()
CubeList.extract_overlapping()
CubeList.index()
CubeList.insert()
CubeList.merge()
CubeList.merge_cube()
CubeList.pop()
CubeList.realise_data()
CubeList.remove()
CubeList.reverse()
CubeList.sort()
CubeList.xml()
- iris.exceptions
AncillaryVariableNotFoundError
CannotAddError
CellMeasureNotFoundError
ConcatenateError
ConnectivityNotFoundError
ConstraintMismatchError
CoordinateCollapseError
CoordinateMultiDimError
CoordinateNotFoundError
CoordinateNotRegularError
DuplicateDataError
IgnoreCubeException
InvalidCubeError
IrisError
LazyAggregatorError
MergeError
NotYetImplementedError
TranslationError
UnitConversionError
- iris.iterate
- iris.palette
- iris.pandas
- iris.plot
- iris.quickplot
- iris.symbols
- iris.time
- iris.util
approx_equal()
array_equal()
between()
broadcast_to_shape()
clip_string()
column_slices_generator()
create_temp_filename()
delta()
demote_dim_coord_to_aux_coord()
describe_diff()
equalise_attributes()
file_is_newer_than()
find_discontiguities()
format_array()
guess_coord_axis()
is_masked()
is_regular()
mask_cube()
mask_cube_from_shapefile()
monotonic()
new_axis()
points_step()
promote_aux_coord_to_dim_coord()
regular_points()
regular_step()
reverse()
rolling_window()
squeeze()
unify_time_units()
- iris.warnings
IrisCannotAddWarning
IrisCfInvalidCoordParamWarning
IrisCfLabelVarWarning
IrisCfLoadWarning
IrisCfMissingVarWarning
IrisCfNonSpanningVarWarning
IrisCfSaveWarning
IrisCfWarning
IrisDefaultingWarning
IrisFactoryCoordNotFoundWarning
IrisGeometryExceedWarning
IrisGuessBoundsWarning
IrisIgnoringBoundsWarning
IrisIgnoringWarning
IrisImpossibleUpdateWarning
IrisLoadWarning
IrisMaskValueMatchWarning
IrisNimrodTranslationWarning
IrisPpClimModifiedWarning
IrisSaveWarning
IrisSaverFillValueWarning
IrisUnknownCellMethodWarning
IrisUnsupportedPlottingWarning
IrisUserWarning
IrisVagueMetadataWarning