Open deepgabani8 opened 7 months ago
Thanks for raising the issue, @deepgabani8.
Just for your information (jfyi), we internally work with asset_ids, so any manipulation made on images like these will not affect the data fetched from EE.
Actually, we have a bug/issue in the codebase: https://github.com/google/Xee/blob/main/xee/ext.py#L789C1-L797C80.
We consider 'asset_ids' at the time of processing, if we can obtain them. And we implemented this to avoid an expensive toList() operation. But it seems like it will cause issue like in your case.
This discussion on the Pangeo discourse seems really relevant.
@schwehr @simon Any thoughts on how this might be related? Could the discrepancy eventually cause an issue?
When I use
ee.data.computePixels
, it returns different data for different resample methods, which it should but fetching data using xee as backend returns the same data.Using
ee.data.computePixels
, which gives different data for resample methods = ['bilinear', 'bicubic'].Using Xee as the backend, which gives the same data for resample methods = ['bilinear', 'bicubic'].