forked from SciTools/iris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into nimrod_file_format
* master: Remove TestGribMessage (SciTools#3672) Removed iris.tests.integration.test_grib_load and related CML files. (SciTools#3670) Removed grib-specific test to iris-grib. (SciTools#3671) Fixed asv project name to 'scitools-iris'. (SciTools#3660) Remove cube iter (SciTools#3656) Remove test_grib_save.py (SciTools#3669) Remove test_grib2 integration tests (SciTools#3664) Remove uri callback test which is moved to iris-grib (SciTools#3665) 2v4 mergeback picks (SciTools#3668) Remove test_grib_save_rules.py which has been moved to iris-grib (SciTools#3666) Removed ununused skipIf. (SciTools#3632) Remove grib-specific test. (SciTools#3663) Remove obsolete test. (SciTools#3662) remove redundant tests (SciTools#3650) Fixed tests since Numpy 1.18 deprecation of non-int num arguments for linspace. (SciTools#3655)
- Loading branch information
Showing
61 changed files
with
302 additions
and
3,273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
What's New in Iris 2.4.0 | ||
************************ | ||
|
||
:Release: 2.4.0 | ||
:Date: 2020-02-20 | ||
|
||
This document explains the new/changed features of Iris in version 2.4.0 | ||
(:doc:`View all changes <index>`.) | ||
|
||
|
||
Iris 2.4.0 Features | ||
=================== | ||
|
||
.. admonition:: Last python 2 version of Iris | ||
|
||
Iris 2.4 is a final extra release of Iris 2, which back-ports specific desired features from | ||
Iris 3 (not yet released). | ||
|
||
The purpose of this is both to support early adoption of certain newer features, | ||
and to provide a final release for Python 2. | ||
|
||
The next release of Iris will be version 3.0 : a major-version release which | ||
introduces breaking API and behavioural changes, and only supports Python 3. | ||
|
||
* :class:`iris.coord_systems.Geostationary` can now accept creation arguments of | ||
`false_easting=None` or `false_northing=None`, equivalent to values of 0. | ||
Previously these kwargs could be omitted, but could not be set to `None`. | ||
This also enables loading of netcdf data on a Geostationary grid, where either of these | ||
keys is not present as a grid-mapping variable property : Previously, loading any | ||
such data caused an exception. | ||
* The area weights used when performing area weighted regridding with :class:`iris.analysis.AreaWeighted` | ||
are now cached. | ||
This allows a significant speedup when regridding multiple similar cubes, by repeatedly using | ||
a `'regridder' object <../iris/iris/analysis.html?highlight=regridder#iris.analysis.AreaWeighted.regridder>`_ | ||
which you created first. | ||
* Name constraint matching against cubes during loading or extracting has been relaxed from strictly matching | ||
against the :meth:`~iris.cube.Cube.name`, to matching against either the | ||
``standard_name``, ``long_name``, NetCDF ``var_name``, or ``STASH`` attributes metadata of a cube. | ||
* Cubes and coordinates now have a new ``names`` property that contains a tuple of the | ||
``standard_name``, ``long_name``, NetCDF ``var_name``, and ``STASH`` attributes metadata. | ||
* The :class:`~iris.NameConstraint` provides richer name constraint matching when loading or extracting | ||
against cubes, by supporting a constraint against any combination of | ||
``standard_name``, ``long_name``, NetCDF ``var_name`` and ``STASH`` | ||
from the attributes dictionary of a :class:`~iris.cube.Cube`. | ||
|
||
|
||
Iris 2.4.0 Dependency Updates | ||
============================= | ||
* Iris is now able to use the latest version of matplotlib. | ||
|
||
|
||
Bugs Fixed | ||
========== | ||
* Fixed a problem which was causing file loads to fetch *all* field data | ||
whenever UM files (PP or Fieldsfiles) were loaded. | ||
With large sourcefiles, initial file loads are slow, with large memory usage | ||
before any cube data is even fetched. Large enough files will cause a crash. | ||
The problem occurs only with Dask versions >= 2.0. | ||
|
3 changes: 3 additions & 0 deletions
3
docs/iris/src/whatsnew/contributions_3.0.0/bugfix_2020-Feb-13_cube_iter_remove.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* The `__iter__()` method in class:`iris.cube.Cube` was set to `None`. | ||
`TypeError` is still raised if a `Cube` is iterated over but | ||
`isinstance(cube, collections.Iterable)` now behaves as expected. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ Iris versions. | |
|
||
latest.rst | ||
3.0.rst | ||
2.4.rst | ||
2.3.rst | ||
2.2.rst | ||
2.1.rst | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.