Skip to main content

Hi!


I was wondering if there’s a way to retrieve date from a previous image already downloaded, by the time I can provide

data_folder=‘test_dir_tiff’

but not the folder’s name (which seems to be like an hash)


The doc (at point 6) basically says that the same request will check first if there is any available data locally.


But, for example, If i make a request using

time=(‘2018-01-01’, ‘2019-01-01’)


I am able to get locally a file using another time in a for loop:

for time in ‘2018-01-01’, ‘2018-01-02’, ‘2018-01-03’, …]:

request(with time)


If does exists locally, it’s fine. If it doesn’t, it makes another request to the Satellite.

How may I avoid this behaviour?


Alternatively, using a request:

wms_bands_img = wms_bands_request.get_data(save_data=True)

I’m not able to understand which date wms_bands_img 0] deals with.


Thanks!

Hi,

I do not think this is supported in sentinelhub-py for the moment.
That said, the package is open-source and contributions from the community are more than welcome.

Best,
 


Reply