diff --git a/src/gval/comparison/agreement.py b/src/gval/comparison/agreement.py index 83cf47a..21fa9dd 100644 --- a/src/gval/comparison/agreement.py +++ b/src/gval/comparison/agreement.py @@ -131,7 +131,7 @@ def _manage_information_loss(agreement_map, crs, nodata, encode_nodata, dtype): """ # sets CRS that is lost with `xr.apply_ufunc` - agreement_map.rio.set_crs(crs, inplace=True) + agreement_map.rio.write_crs(crs, inplace=True) # setting agreement map nodata and encoded nodata if nodata is not None: