.. _iris.analysis: ============= iris.analysis ============= .. toctree:: :maxdepth: 2 :titlesonly: :hidden: analysis/calculus analysis/cartography analysis/geometry analysis/maths analysis/stats analysis/trajectory .. currentmodule:: iris .. automodule:: iris.analysis In this module: * :py:obj:`Aggregator` * :py:obj:`AreaWeighted` * :py:obj:`COUNT` * :py:obj:`GMEAN` * :py:obj:`HMEAN` * :py:obj:`Linear` * :py:obj:`MAX` * :py:obj:`MAX_RUN` * :py:obj:`MEAN` * :py:obj:`MEDIAN` * :py:obj:`MIN` * :py:obj:`Nearest` * :py:obj:`PEAK` * :py:obj:`PERCENTILE` * :py:obj:`PROPORTION` * :py:obj:`PointInCell` * :py:obj:`RMS` * :py:obj:`STD_DEV` * :py:obj:`SUM` * :py:obj:`UnstructuredNearest` * :py:obj:`VARIANCE` * :py:obj:`WPERCENTILE` * :py:obj:`WeightedAggregator` * :py:obj:`clear_phenomenon_identity` * :py:obj:`create_weighted_aggregator_fn` The :class:`Aggregator` class provides common aggregation functionality. .. .. autoclass:: iris.analysis.Aggregator :members: :undoc-members: :inherited-members: .. raw:: html

↑ top ↑

This class describes an area-weighted regridding scheme for regridding between 'ordinary' horizontal grids with separated X and Y coordinates in a common coordinate system. Typically for use with :meth:`iris.cube.Cube.regrid()`. .. .. autoclass:: iris.analysis.AreaWeighted :members: :undoc-members: :inherited-members: .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.COUNT .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.GMEAN .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.HMEAN .. raw:: html

↑ top ↑

This class describes the linear interpolation and regridding scheme for interpolating or regridding over one or more orthogonal coordinates, typically for use with :meth:`iris.cube.Cube.interpolate()` or :meth:`iris.cube.Cube.regrid()`. .. .. autoclass:: iris.analysis.Linear :members: :undoc-members: :inherited-members: .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.MAX .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.MAX_RUN .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.MEAN .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.MEDIAN .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.MIN .. raw:: html

↑ top ↑

This class describes the nearest-neighbour interpolation and regridding scheme for interpolating or regridding over one or more orthogonal coordinates, typically for use with :meth:`iris.cube.Cube.interpolate()` or :meth:`iris.cube.Cube.regrid()`. .. .. autoclass:: iris.analysis.Nearest :members: :undoc-members: :inherited-members: .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.PEAK .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.PERCENTILE .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.PROPORTION .. raw:: html

↑ top ↑

This class describes the point-in-cell regridding scheme for use typically with :meth:`iris.cube.Cube.regrid()`. Each result datapoint is an average over all source points that fall inside that (bounded) target cell. The PointInCell regridder can regrid data from a source grid of any dimensionality and in any coordinate system. The location of each source point is specified by X and Y coordinates mapped over the same cube dimensions, aka "grid dimensions" : the grid may have any dimensionality. The X and Y coordinates must also have the same, defined coord_system. The weights, if specified, must have the same shape as the X and Y coordinates. The output grid can be any 'normal' XY grid, specified by *separate* X and Y coordinates : That is, X and Y have two different cube dimensions. The output X and Y coordinates must also have a common, specified coord_system. .. .. autoclass:: iris.analysis.PointInCell :members: :undoc-members: :inherited-members: .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.RMS .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.STD_DEV .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.SUM .. raw:: html

↑ top ↑

This is a nearest-neighbour regridding scheme for regridding data whose horizontal (X- and Y-axis) coordinates are mapped to the *same* dimensions, rather than being orthogonal on independent dimensions. For latitude-longitude coordinates, the nearest-neighbour distances are computed on the sphere, otherwise flat Euclidean distances are used. The source X and Y coordinates can have any shape. The target grid must be of the "normal" kind, i.e. it has separate, 1-dimensional X and Y coordinates. Source and target XY coordinates must have the same coordinate system, which may also be None. If any of the XY coordinates are latitudes or longitudes, then they *all* must be. Otherwise, the corresponding X and Y coordinates must have the same units in the source and grid cubes. .. Note:: Currently only supports regridding, not interpolation. .. .. autoclass:: iris.analysis.UnstructuredNearest :members: :undoc-members: :inherited-members: .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.VARIANCE .. raw:: html

↑ top ↑

.. autodata:: iris.analysis.WPERCENTILE .. raw:: html

↑ top ↑

Convenience class that supports common weighted aggregation functionality. .. .. autoclass:: iris.analysis.WeightedAggregator :members: :undoc-members: :inherited-members: .. raw:: html

↑ top ↑

.. autofunction:: iris.analysis.clear_phenomenon_identity .. raw:: html

↑ top ↑

.. autofunction:: iris.analysis.create_weighted_aggregator_fn