Skip to main content

I have noticed that there are some cases in which I get missing data in the requested image, even when having a broad time observation. For example, the image below:


Is this behavior expected? Am I missing something here?


Below my request,

thanks in advance!


{'input': 
{'bounds': {
'properties': {
'crs': 'http://www.opengis.net/def/crs/EPSG/0/32633'
},
'bbox': [3124072.32446624, 4529434.67192184, 3139432.32446624, 4544794.67192184]
},
'data': [InputDataDict({
'type': 'hls',
'dataFilter': {'timeRange': {'from': '2017-09-30T00:00:00Z', 'to': '2017-10-20T23:59:59Z'},
'mosaickingOrder': 'leastCC'}
},
service_url=https://services-uswest2.sentinel-hub.com)
]
},
'evalscript': """
//VERSION=3
function setup() {
return {
input: [{
bands: ["Blue",
"Green",
"Red",
"NIR_Narrow",
"SWIR1",
"SWIR2",
"dataMask"],
units: "DN"
}],
output: {
bands: 8,
sampleType: "INT16"
}

};
}

function evaluatePixel(sample) {
return [sample.Blue,
sample.Green,
sample.Red,
sample.NIR_Narrow,
sample.SWIR1,
sample.SWIR2,
sample.CLM,
sample.dataMask];
}
""",
'output': {'responses': [{
'identifier': 'default',
'format': {'type': 'image/tiff'}}
],
'width': 512,
'height': 512}
}

Hi @morenoj11 ,


It seems that your area of interest is in the UTM 38N zone. If you set the CRS to EPSG:32638 in your request shown as following, the issue should be fixed.


{
"input": {
"bounds": {
"bbox": [
430313.259201,
4105078.122149,
443700.920971,
4113824.509236
],
"properties": {
"crs": "http://www.opengis.net/def/crs/EPSG/0/32638"
}
},
"data": [
{
"dataFilter": {
"timeRange": {
"from": "2017-09-30T00:00:00Z",
"to": "2017-10-20T23:59:59Z"
}
},
"type": "hls"
}
]
},
"output": {
"width": 512,
"height": 339.771,
"responses": [
{
"identifier": "default",
"format": {
"type": "image/tiff"
}
}
]
},
"evalscript": "//VERSION=3\nfunction setup() {\nreturn {\n input: [{\n bands: [\"Blue\",\n \"Green\",\n \"Red\",\n \"NIR_Narrow\",\n \"SWIR1\",\n \"SWIR2\",\n \"dataMask\"],\n units: \"DN\"\n }],\n output: {\n bands: 8,\n sampleType: \"INT16\"\n }\n \n};\n}\n\nfunction evaluatePixel(sample) {\nreturn [sample.Blue,\n sample.Green,\n sample.Red,\n sample.NIR_Narrow,\n sample.SWIR1,\n sample.SWIR2,\n sample.CLM,\n sample.dataMask];\n}"
}

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.


Reply