Sentinel 5P Wms request issues

I followed the notification - change the end_point (base-URL) from https://services.sentinel-hub.com/ogc/* to https://creodias.sentinel-hub.com/ogc/*

and tried both Wmsrequest and Wcsrequest. However, both requests give me the response: “503 Server Error: Service Unavailable for URL:”

I have posted the request I made:

request = WmsRequest(
data_folder=‘data’,
data_source=DataSource.SENTINEL5P,
layer=‘CH4’,
bbox=vancouver_bbox,
time= (one_week_ago,today),
width=512,
height=856,
image_format=MimeType.TIFF_d32f,
config=config,
maxcc = 0.5
)

request = WcsRequest(data_folder=‘test_dir’,
data_source=DataSource.SENTINEL5P,
layer=‘Methane’,
bbox=vancouver_bbox,
time=(one_week_ago,today),
image_format=MimeType.TIFF_d32f,
config=config)

Please help for these issues.

Thanks.

Hi Kai,

To start, how did you set your end_point? It seems that you are using the Python interface, so I have attached the Python code snippet below:

INSTANCE_ID = '{your_instance_id}'  

if INSTANCE_ID:
    config = SHConfig()
    config.instance_id = INSTANCE_ID
    config.sh_base_url = 'https://creodias.sentinel-hub.com'
else:
    config = None

Did you change your end-point this way?

Maxim

1 Like

Hi Maxim,

Thanks for your reply.

I changed the end-point through using the guide provided here: https://sentinelhub-py.readthedocs.io/en/latest/configure.html

My configuration:

I tried following end-points:

  1. https://creodias.sentinel-hub.com/*
    This gives me 503 error

2.https://creodias.sentinel-hub.com
This gives me the 400 error

Thank you again for your help.

2.https://creodias.sentinel-hub.com
This gives me the 400 error

The 400 error that you are getting is most probably generated by another issue than the endpoint. If you look at the message that comes with the error do you see: Server response: "TYPENAME=S5p_L2.TILE is invalid!" ? If that is the case, I would like to point you to this forum post.
The Sentinel Hub team is currently resolving the issue and a fix should be released quickly. If you need to run your code in the meantime, you can modify the source code manually yourself following this Github page and corresponding comments.

2 Likes

Hi @kai,

New version of sentinelhub-py (3.0.3) has been just released, with the above mentioned PR merged. Could you please try and let us know?

Best regards,
Matej

1 Like

Hi, maxim,

Thanks for the link! It is very helpful! Finally, I upgrade the sentinelhub-py to (3.0.3) and my script can successfully get the tiff response!

Thank you again for your time!

Kai

1 Like

Hi, batic,

Thanks for the information! I have upgraded the sentinelhub-py and my script works now!

Thank you again for your time!

Kai