-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: New version (2023.10.14) doesn not handle Sentinel 2 dataset correctly. #46
Comments
Can you please share a minimal reproducible example that includes what the |
@SOutmani Gentle ping to see if you can please provide a minimal working example of the issue you are seeing so I can replicate and investigate. |
Hi @KMarkert , thanks for the reminder. However, I am encountering a new problem with this specific case only: geom = ee.Geometry.Rectangle([10.81,43.60,11.57,44.01]) EEException: Collection.reduceColumns: Error in map(ID=20231109T101231_20231109T101230_T32TPP): Note that the error seems to be related to the image acquired on nov 9th at 10:18:42 UTC. Perhaps it's not an issue related to hydrafloods but to the google earth dataset itself. |
I couldn't setup the local installation because I was getting the following issue with python 3.8 or 3.9
But I think the issue is that not all s2 image have the associated probability mask with it (e.g. https://code.earthengine.google.com/638145f913d6628e45b4554a2bab7462). Again haven't been able to test it locally because of the above issue, but this maybe able to solve it. |
@biplovbhandari I am pretty sure you are correct about the s2 cloud probabilities not having full coverage of the s2 collection. I am thinking we should transition from using s2 cloud probabilities to start using the CloudScore+ data for QA masking the S2 collections. |
+1 |
I am experiencing the original issue that @SOutmani mentions:
Output:
It looks like its the use_qa() fn for Sentinel2 is the issue?
Output: I know @biplovbhandari mentions his PR #47 above, not sure if that was intended to resolve this case? If we fully replace the |
s1 = hf.Sentinel1(aoi, start_time, end_time)
s1.n_images
The sentinel 1 data search works fine.
s2 = hf.Sentinel2(aoi, start_time, end_time)
s2.n_images
However the Sentinel 2 data search as written above, always gives a 0 number of images, even though we know for a fact that there are (and the previous version finds them, too).
The text was updated successfully, but these errors were encountered: