Open
Description
Topic
Notebook
Ask away!
Hello:
I'm successfully running the example for "spectral_indices" notebook, but when I try to adapt it to my case, it always fails to pass the s2.filter step (in run.monitor()).
I'm defining the area of interest as a Polygon:
geom = shpg.Polygon([[-119.736327, 46.288830], [-119.732203, 46.288777], [-119.736303, 46.287675], [-119.732268,46.287648]])
time_range = (datetime(2024, 5, 1), datetime(2024, 8, 11))
And I can verify the area as:
print(geom.wkt)
POLYGON ((-119.736327 46.28883, -119.732203 46.288777, -119.736303 46.287675, -119.732268 46.287648, -119.736327 46.28883))
My questions are:
- is there something wrong with the way I'm defining the Polygon?
- Is there any minimum area to consider in this case?
The example uses a Point but I'm not sure how it determines the AOI in this case, which seems to also be a rectangle. Since I would like to have more control on the AOI, I prefer to use the Polygon to define it:
geom = shpg.Point(-119.21896203939313, 46.44578909859286).buffer(0.05, cap_style=3)
I would appreciate any help.
Thanks
Gus