Conversation
bdestombe
commented
Sep 23, 2024
- On the eclipse server: Skip tile retreival if the link does not exist.
- Legacy server: Rasterio merge returned only zero's since 17 sept. All the merging is now done within xarray.
- On the eclipse server: Skip tile retreival if the link does not exist. - Legacy server: Rasterio merge returned only zero's since 17 sept. All the merging is now done within xarray.
|
Great. I would just leave the old method ( |
|
Well could you maybe confirm? If I use |
|
Since no error is produced and zeros are falsely returned, I would suggest to either
|
|
The zeros are caused by rasterio version 1.3.11, and you do get a warning (see issue #369). We changed the normal versions of the methods to use the xarray-merge to solve this bug. However, some people might want to use the old server, or For example. With the proposed changes, the following code produces So this is an empty data-array (while the original methods produce the correct data-array, with non-zero data if you do not use rasterio 1.3.11). We can off course fix this issue as well, but this is not the goal of the legacy-methods. |
|
Thanks Ruben for taking the time. I was falsely under the impression that the all-zeros-bug also appeared with other versions of rasterio. I will revert the code and merge the two remaining lines. Edit: I was mixing up rioxarray and rasterio packages when checking the behavior for different versions.. With rasterio version 1.3.11 and changing versions of rioxarray the all-zeros-bug of course remains |