From 7bdd162fd1e56b0960614baf0073203ccf8293b5 Mon Sep 17 00:00:00 2001 From: Taher Chegini Date: Wed, 10 Jun 2020 16:55:57 -0500 Subject: [PATCH] RasterioDeprecationWarning Following the discussion on [xarray](https://github.com/pydata/xarray/pull/3964), this PR addresses the RasterioDeprecationWarning. --- rioxarray/_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rioxarray/_io.py b/rioxarray/_io.py index c9b4ff78..ea2d249c 100644 --- a/rioxarray/_io.py +++ b/rioxarray/_io.py @@ -654,7 +654,7 @@ def open_rasterio( crs=vrt.crs.to_string(), resampling=vrt.resampling, src_nodata=vrt.src_nodata, - dst_nodata=vrt.dst_nodata, + nodata=vrt.nodata, tolerance=vrt.tolerance, transform=vrt.transform, width=vrt.width,