Closed juansensio closed 2 months ago
Makes sense. Renaming the files is something that can be done very easily with a new parameter, while the first point would require a new wrapper, perhaps giving the centroid and size of the bounding box.
I don't quite understand the last request: what exactly do we mean by full Sentinel product?
This issue can be closed. In the notebook 11_download_sentinel_imagery the following has been exemplified:
from eotdl.tools import bbox_from_centroid
x = 12.7 y = 41.8
custom_bbox = bbox_from_centroid(x=x, y=y, pixel_size=10, width=512, height=512)
2. How to name downloaded images.
Jaca.tif
as this only downloads one imagedownload_sentinel_imagery( output="data/jaca_bulk", time_interval="2020-01-04", bounding_box=jaca_bounding_box, sensor="sentinel-2-l2a", name="Jaca", )
Jaca_<date>.tif
as this downloads several imagesdownload_sentinel_imagery( output="data/jaca_bulk", time_interval=("2020-01-01", "2020-01-10"), bounding_box=jaca_bounding_box, sensor="sentinel-2-l2a", name="Jaca", )
The option to download an entire product has not been implemented, since the data access method is based on Sentinel Hub.
Pierre-Jean Coquard from AGENIUM Space:
We've encountered a number of issues that can make the data retrieving process more complicated than using a third-party API in some cases. I'm not sure of where I should post this kind of user feedback, so I'm sending it directly to you.
I understand that a some of these limitations are due to how Sentinel Hub API works. However, I think it might be beneficial to implement wrappers with more options to facilitate the access of the available data.