Hello!
I am trying to acquire sentinel-1 images with certain preprocessing level, however, whenever I try to get the data I get error:
“error”:{“status”:405,“reason”:“Method Not Allowed”,“message”:“HTTP 405 Method Not Allowed”,“code”:“COMMON_METHOD_NOT_ALLOWED”
This is my evalscript:
evalscript ="""
//VERSION=3
function setup() {
return {
input: "VV","VH"],
output: { bands: 2, sampleType: "FLOAT32" }
}
}
function evaluatePixel(sample) {
return esamples.VV ,samples.VH];
}
"""
The request:
request = SentinelHubRequest(
evalscript=evalscript,
input_data=t
SentinelHubRequest.input_data(
data_collection=DataCollection.SENTINEL1_IW,
time_interval=(d,d),
other_args = {"dataFilter":{"resolution":"HIGH","acquisitionMode":"IW"},"processing":{"backCoeff":"GAMMA0_TERRAIN","orthorectify":True,"demInstance":"COPERNICUS"}}
)],
responses=)
SentinelHubRequest.output_response('default', MimeType.TIFF)
],
bbox=bbox,
size=bbox_size,
config=config
)
I believe it has to do with the other_args, but i’m a bit confused,there should be in the evalscript? why sometimes they are in the request and osmetimes in the evalscript? (for example in data fusion is in the request itself).
So my goal is to understand why it doesn’t work and ,if the problem is the other args, where should they be?