From 960010b00119367ff6b82e548f2b54ca25c7a59c Mon Sep 17 00:00:00 2001 From: Tom Nicholas <35968931+TomNicholas@users.noreply.github.com> Date: Tue, 2 Nov 2021 14:03:58 -0400 Subject: [PATCH] Update open_rasterio deprecation version number (#5916) * update version number * also update in documentation [skip-ci] Co-authored-by: Keewis --- doc/user-guide/io.rst | 2 +- xarray/backends/rasterio_.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/user-guide/io.rst b/doc/user-guide/io.rst index 6908c6ff535..16b8708231e 100644 --- a/doc/user-guide/io.rst +++ b/doc/user-guide/io.rst @@ -742,7 +742,7 @@ GeoTIFFs and other gridded raster datasets can be opened using `rasterio`_, if rasterio is installed. Here is an example of how to use :py:func:`open_rasterio` to read one of rasterio's `test files`_: -.. deprecated:: 0.19.1 +.. deprecated:: 0.20.0 Deprecated in favor of rioxarray. For information about transitioning, see: diff --git a/xarray/backends/rasterio_.py b/xarray/backends/rasterio_.py index f34240e5e35..9600827a807 100644 --- a/xarray/backends/rasterio_.py +++ b/xarray/backends/rasterio_.py @@ -172,7 +172,7 @@ def open_rasterio( ): """Open a file with rasterio. - .. deprecated:: 0.19.1 + .. deprecated:: 0.20.0 Deprecated in favor of rioxarray. For information about transitioning, see: