Hi,
I am attempting to pull L1C data using the Sentinel Hub api with the evalscript down below. I had no issues pulling L2A data using the api but if I pull L1C data I receive this error. Has anyone seen this before?
This is the error:
c:\Users\e355947\Anaconda3\envs\Sentinel\lib\site-packages\sentinelhub\download\client.py:127: SHRuntimeWarning: Failed to download from:
https://services.sentinel-hub.com/api/v1/process
with ConnectionError:
(‘Connection aborted.’, BadStatusLine(“®#Ë¢\x9f!Ô4Ô9f¢+\x92+±²ôVª\x11\x92\x1dda2wLÈ\x04ÙJf#³\x92=©õ´\x07}\x89^\x96\x08huVQ8Ù\x9eÌ\x0b\xad;\x85¼D¶$\x03ä(Ô3öC§âVT¨²$\x8fd#\x99\x9b8\x10\x93¥\x0e¹DýJ>$ïRIh5\x1f3\x12\x93\x83¼\x882\x85H\x1cF2\x81*Dîµ\x85>õÿ'¨\x03-@â\x14K×G·×S¦«%\x01â\x01\x92UdyâhL^&È,²\x14q\x96ÜD»è^¨£ìaÉO$\x8d\x9eÃ\x92ÅÈB1)\x19\x17f\x06:%}È\x1fè\x9e(ûö\xa0k\x02\x9eº\x88\x95¤f\x90Í\x98\x19(\x8býNÝ°\x859\x95 \x07¨¢T\x1a\x13\x02*º\x195\x90Ï\x92\x1cd:f\x06\x9d\x85ÚFS1ùÉ)Ìmf\x07È\x04î\xa0J\x8ddqø**d^â\x07f\x06L\x0fz®1ù3.¨\x12,\x04îÁùܯÜ\x0b>\x07W\x91¯NoÇÊ\x92u\x88îHÒ
wV\x8cIM§\x80Ï\x90\x86CØöìQö=\x97\x9dãBM §£1µaVØÃ\x16¶¹SØ\x06ð2[\x8bÍÎ>do°wØ\r\x96,%Ï#©\twÂ\x7fcR(.\xa09\x18\x0e\x1a\x82ÞÐ\x849a\x0fØ\n”))
Please check your internet connection and try again.
warnings.warn(str(download_exception), category=SHRuntimeWarning)
This is the evalscript:
function setup() {
return {
input: [{
bands: ["B01", "B02", "B03", "B04", "B05", "B06", "B07", "B08", "B8A", "B09", "B10", "B11", "B12"],
units: "DN"
}],
output: {
id: "default",
bands: 13,
sampleType: SampleType.UINT16
}
}
}
function evaluatePixel(sample) {
return [ sample.B01, sample.B02, sample.B03, sample.B04, sample.B05, sample.B06, sample.B07, sample.B08, sample.B8A, sample.B09, sample.B10, sample.B11, sample.B12]
}