Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ This document explains the changes made to Iris for this release
:func:`math.isclose`. The :func:`~iris.util.approx_equal` function will be
removed in a future release of Iris. (:pull:`4514`)

#. `@wjbenfold`_ deprecated :mod:`iris.experimental.raster` as it is not
believed to still be in use. The deprecation warnings invite users to contact
the Iris Developers if this isn't the case. (:pull:`4525`)


🔗 Dependencies
===============
Expand Down
9 changes: 9 additions & 0 deletions lib/iris/experimental/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,17 @@
from osgeo import gdal, osr

import iris
from iris._deprecation import warn_deprecated
import iris.coord_systems

wmsg = (
"iris.experimental.raster has been deprecated and will be removed in a "
"future release. If you make use of this functionality, please contact "
"the Iris Developers to discuss how to retain it (which may involve "
"reversing the deprecation)."
)
warn_deprecated(wmsg)

_GDAL_DATATYPES = {
"i2": gdal.GDT_Int16,
"i4": gdal.GDT_Int32,
Expand Down