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
I've decided to try the new way of opening rasters, but there seems to be a bug.
The input data type is Int16, and all the different methods but xr.open_dataset(engine = 'rasterio') or xr.open_dataarray(engine = 'rasterio') reads it correctly. Using the xr. methods the input data is read as Float32 instead of Int16.
After reading this warning:
I've decided to try the new way of opening rasters, but there seems to be a bug.
The input data type is Int16, and all the different methods but
xr.open_dataset(engine = 'rasterio')
orxr.open_dataarray(engine = 'rasterio')
reads it correctly. Using the xr. methods the input data is read as Float32 instead of Int16.Code Sample, a copy-pastable example if possible
The input data can be found here: https://drive.google.com/drive/folders/1R8EYB6f793nuPdRE4m-UMFTalqeigtQb?usp=sharing
Output:
The text was updated successfully, but these errors were encountered: