Skip to main content

Hi all I have a question related to the generation of the folder names when a WMS request is done using sentinel hub python package. An example of the code would be:


  wms_request = WmsRequest(data_collection="SENTINEL2_L1C",
data_folder="tmp",
layer="test_layer",
bbox=bounding_box,
time=("2022-01-01", "2022-01-07"),
width=width,
image_format=mime_type,
config=sentinelhub_config,
maxcc=maxcc,
time_difference=datetime.timedelta(hours=2))

This generates the folder names with a hash name that contains the response.tif file and the response.json. My question is what algorithm you use to generate the hash name of the folder for the cache system. It would be helpful to know the process to perfom some checks of the folders:


image

Hi @saaf

requests hash names are calculated like this.


Many thanks Ziga for your quick response!


Reply