-
Notifications
You must be signed in to change notification settings - Fork 5
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
single point extraction with COPERNICUS_30 returns incorrect results #1020
Comments
Note that it gives the correct output when using 2 point features in a FeatureCollection, but it returns 0.0 if you use 1 point feature instead. |
The singular value in the ArrayTile is 0.0, the rest is padded with NaN values. So the issue appears to occur when setting up the extent for the entire datacube. |
The issue arises because of the hardcoded 10m point buffering when calculating the weak_spatial_extent in the dry_run. |
Summary:
|
Note that we want to avoid telling users to use a spatial extent in load_collection. That would be opposite to other advice we're giving, causing confusion. |
The following simple example shows that single point extraction for COPERNICUS_30 always produces "[[0,0]]" as output:
https://gist.github.com/JeroenVerstraelen/327362be431b8158fcabb7b5d10f3d66
The same code does work for the SENTINEL2_L2A collection.
The text was updated successfully, but these errors were encountered: