You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to be able to copy and have the CRS persist, you need to use rio.write_crs. Nothing can be done in rioxarray if you use rio.set_crs. Hopefully that gets you where you need to be.
Activity
snowman2 commentedon Feb 22, 2021
If you want to be able to copy and have the CRS persist, you need to use
rio.write_crs. Nothing can be done inrioxarrayif you userio.set_crs. Hopefully that gets you where you need to be.snowman2 commentedon Feb 22, 2021
I noticed you have
raster.rio.write_crs(crs.to_wkt()), so my previous comment was only partially helpful.You need to either:
inplace=Truesnowman2 commentedon Jun 2, 2022
For those finding this issue, I recommend reading the Getting Started: Introductory Information references for rioxarray. The Coordinare Reference System Management section is relevant for this issue.