Skip to main content

Question about the limit of each call

  • April 26, 2024
  • 5 replies
  • 299 views

good morning, I have a question about the request limit using the sentinel library in python, since in some scenarios I use a loop which makes a series of calls using the WcsRequest object

wms_true_color_request = WcsRequest(
        data_collection=DataCollection.SENTINEL2_L1C,
        layer='TRUE_COLOR',
        bbox=bbox,
        time=time_interval,
        resx='1m',
        resy='1m',
        custom_url_params={
            CustomUrlParam.SHOWLOGO: False,
            CustomUrlParam.GEOMETRY: geometry_string
        },
        config=config,
        image_format=MimeType.PNG
    )

It should be noted that this process, being very long, uses these calls within a python Thread, However, this process tends to stop just when it calls the WcsRequest object. My question is, is there a limit to the use of the WcsRequest object?

I am waiting for your answers, thank you very much

5 replies

sorry it seems that the link is not available, you can pass it again


Hi,

Yes, there is a rate limitation that limits how many requests a user could sent per minute. Please refer to our documentation for more details.


If it worked for me, there are limits of characters when requesting an image for example:

[type or paste code here](https://services.sentinel-hub.com/ogc/wcs/5c9f425a-f830-4164-8a6c-6059bcf1b7d3?SERVICE=wcs&WARNINGS=False&MAXCC=100.0&ShowLogo=False&Geometry=POLYGON+%28%2840.28642938292633+-3.829894065856934%2C+40.28642938292633+-3.829894065856934%2C+40.28646211966574+-3.829808235168457%2C+40.28646211966574+-3.829808235168457%2C+40.28646211966574+-3.829786777496337%2C+40.28646211966574+-3.829765319824218%2C+40.28646211966574+-3.829700946807861%2C+40.28646211966574+-3.829668760299682%2C+40.28646211966574+-3.829636573791503%2C+40.28646211966574+-3.829615116119384%2C+40.28646211966574+-3.829582929611205%2C+40.28646211966574+-3.829582929611205%2C+40.2863720935942+-3.829293251037597%2C+40.28574190773618+-3.829411268234252%2C+40.28589740868871+-3.829958438873291%2C+40.28642938292633+-3.829894065856934%29%29&BBOX=40.28574190773618%2C-3.829958438873291%2C40.28646211966574%2C-3.829293251037597&FORMAT=image%2Fpng&CRS=EPSG%3A4326&TIME=2023-05-11T11%3A20%3A02Z%2F2023-05-11T11%3A20%3A02Z&RESX=1m&RESY=1m&COVERAGE=NDVI&REQUEST=GetCoverage&VERSION=1.1.2)

The link is fixed. Could you try again?


Hi,

Yes, there is a standard limit for HTTP requests and it is something that Sentinel Hub cannot work around. Here is my reply in another post that has same long url issue.