I am requesting Sentinel-1 SAR data but rather than throwing an error the code is just returning zeros.
My request:
bbox = BBox([-145.8, 60.96, -146.5, 61.38], crs=CRS.WGS84)
bbox_size = bbox_to_dimensions(bbox, resolution=100)
time_interval = ('2018-07-01', '2018-07-16')
evalscript_all_bands = """
//VERSION=3
function setup() {
return {
input: [{
bands: ["HV"],
}],
output: {
bands: 1,
}
};
}
function evaluatePixel(sample) {
return [sample.HV];
}
"""
request_all_bands = SentinelHubRequest(
evalscript=evalscript_all_bands,
input_data=[
SentinelHubRequest.input_data(
data_collection=DataCollection.SENTINEL1_EW,
time_interval=time_interval,
)],
responses=[
SentinelHubRequest.output_response('default', MimeType.TIFF)
],
bbox=bbox,
size=bbox_size,
config=config
)
data = request_all_bands.get_data()
print(len(data))
print(data[0][:,:].shape)
plt.imshow(data[-1][::],aspect='auto')
The output of this is an array of zeros - no error message. Can anybody suggest a time period or region where I can find some data?