Skip to content

Commit

Permalink
Merge pull request #3153 from SciTools/2d_coords
Browse files Browse the repository at this point in the history
2d coords
  • Loading branch information
DPeterK authored Oct 3, 2018
2 parents 01e3285 + 5923aaa commit e7e3c53
Show file tree
Hide file tree
Showing 24 changed files with 2,679 additions and 159 deletions.
2 changes: 1 addition & 1 deletion docs/iris/src/_templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
<span class="linkdescr">extra information on specific technical issues</span></p>
</li>
<li>
<p class="biglink"><a class="biglink" href="whatsnew/2.1.html">What's new in Iris 2.1?</a><br/>
<p class="biglink"><a class="biglink" href="whatsnew/2.2.html">What's new in Iris 2.2?</a><br/>
<span class="linkdescr">recent changes in Iris's capabilities</span></p>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion docs/iris/src/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</a>
<div class="strapline">
<h1>
Iris <span class="version">v2.1</span>
Iris <span class="version">v2.2</span>
</h1>
<p>
A powerful, format-agnostic, community-driven Python library for analysing and
Expand Down
35 changes: 35 additions & 0 deletions docs/iris/src/whatsnew/2.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
What's New in Iris 2.2.0
************************

:Release: 2.2.0a0
:Date:


This document explains the new/changed features of Iris in the alpha release
of version 2.2.0
(:doc:`View all changes <index>`).


Iris 2.2.0 Features
===================
.. _showcase:

.. admonition:: 2-Dimensional Coordinate Plotting

The iris plot functions :func:`~iris.plot.pcolor` and
:func:`~iris.plot.pcolormesh` now accommodate the plotting of 2-dimensional
coordinates as well as 1-dimensional coordinates.

To enable this feature, each coordinate passed in for plotting will be
automatically checked for contiguity. Coordinate bounds must either be
contiguous, or the cube's data must be masked at the discontiguities in
order to avoid plotting errors.

The iris plot functions :func:`iris.plot.quiver` has been added, and this
also works with 2-dimensional plot coordinates.

.. admonition:: 2-Dimensional Grid Vectors

The iris functions :func:`iris.analysis.cartography.gridcell_angles` and
:func:`iris.analysis.cartography.rotate_grid_vectors` have been added,
allowing you to convert gridcell-oriented vectors to true-North/East ones.
1 change: 1 addition & 0 deletions docs/iris/src/whatsnew/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Iris versions.
.. toctree::
:maxdepth: 2

2.2.rst
2.1.rst
2.0.rst
1.13.rst
Expand Down
2 changes: 1 addition & 1 deletion lib/iris/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def callback(cube, field, filename):


# Iris revision.
__version__ = '2.2.0dev0'
__version__ = '2.2.0a0'

# Restrict the names imported when using "from iris import *"
__all__ = ['load', 'load_cube', 'load_cubes', 'load_raw',
Expand Down
Loading

0 comments on commit e7e3c53

Please sign in to comment.