WCS call returns ServiceException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException


I run into strange behaviour while trying to learn how to use the WCS endpoint to retrieve Sentinel-1 data in GeoTiff format. I have the template for the WCS query as follows:


The three following bounding boxes work ok and return an image as expected:

However, a query with the following bounding box returns HTTP 500 Internal server error:

< ServiceExceptionReport version=“1.2.0”
< ServiceException>
java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException
< /ServiceException>
< /ServiceExceptionReport>

What could cause this?

Good morning @lauri.seitsonen,

Looking at your coordinates, it seems that you are attempting to query data over the West coast of Greenland (Nuuk area)? Can you confirm that that is the area you are interested in?

Hi, the failed area should be on the eastern coast at about the same latitude as Nuuk. In general I’m interested in imagery of the Arctic waters.

Thank you for the details. We are looking into the behaviour and will post here once we have found the cause.

If you are in a hurry in the meantime, the request works if you higher the resolution to 200 or less (resx/resy).