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.
I try to set the crs, and than to copy the raster. Turns out the self set crs, isn't copied.:
The functions for copying I use are write_crs and set_crs. Both give different results.
Problem description
The copy method only copies the original data, not the changed?
Expected Output
Environment Information
rioxarray (0.2.0) deps:
rasterio: 1.2.0
xarray: 0.16.2
GDAL: 3.1.4
Other python deps:
scipy: 1.6.0
pyproj: 3.0.0.post1
System:
python: 3.8.6 | packaged by conda-forge | (default, Jan 25 2021, 22:54:47) [MSC v.1916 64 bit (AMD64)]
executable: C:\Users\remote\anaconda3\envs\PROJEKTNAME\python.exe
machine: Windows-10-10.0.19041-SP0
Installation method
The text was updated successfully, but these errors were encountered: