-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ng-vat with recent changes+fixes from master (#3685)
* Fixed tests since Numpy 1.18 deprecation of non-int num arguments for linspace. (#3655) * remove redundant tests (#3650) * Remove obsolete test. (#3662) * Remove grib-specific test. (#3663) * Removed ununused skipIf. (#3632) * Remove test_grib_save_rules.py which has been moved to iris-grib (#3666) * 2v4 mergeback picks (#3668) * Stop PPDataProxy accessing the file when no data is needed. (#3659) * Add 2.4 whatsnew into full whatsnew list. Co-authored-by: Martin Yeo <[email protected]> * Remove uri callback test which is moved to iris-grib (#3665) * Remove test_grib2 integration tests (#3664) * Remove test_grib_save.py (#3669) * Remove cube iter (#3656) * Fixed asv project name to 'scitools-iris'. (#3660) * Removed grib-specific test to iris-grib. (#3671) * Removed iris.tests.integration.test_grib_load and related CML files. (#3670) * Remove TestGribMessage (#3672) * Switched use of datetime.weekday() to datetime.dayofwk. (#3687) * New image hashes for mpl 3x2 (#3682) * New image hash for iris.test.test_plot.TestSymbols.test_cloud_cover with matplotlib 3.2.0. * Further images changes for mpl3x2. * Yet more updated image results. * Correct and improve dev-guide section on fixing graphics-tests. (#3683) * Correct and improve dev-guide section on fixing graphics-tests. * Review changes + general rethink. * Reduce duplication between 'graphics-tests' and general 'tests' page. * Update docs/iris/src/developers_guide/graphics_tests.rst Co-Authored-By: Martin Yeo <[email protected]> * Update docs/iris/src/developers_guide/graphics_tests.rst Co-Authored-By: Martin Yeo <[email protected]> * Update docs/iris/src/developers_guide/graphics_tests.rst Co-Authored-By: Martin Yeo <[email protected]> * Update docs/iris/src/developers_guide/graphics_tests.rst Co-Authored-By: Martin Yeo <[email protected]> * Update docs/iris/src/developers_guide/graphics_tests.rst Co-Authored-By: Martin Yeo <[email protected]> Co-authored-by: Martin Yeo <[email protected]> Co-authored-by: Martin Yeo <[email protected]> Co-authored-by: Bill Little <[email protected]> Co-authored-by: lbdreyer <[email protected]> Co-authored-by: Jon Seddon <[email protected]>
- Loading branch information
1 parent
c9506e6
commit df579a3
Showing
65 changed files
with
448 additions
and
3,379 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
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
Oops, something went wrong.