I am trying to download S1 GRD VV and VH using a bounding box over 77.4, 23.4 coordinates using python.
While downloading the clipped image over 23, 22 and 21 degree longitudes it is showing nan and no image is being downloaded. While the same code having same time frame is working fine over 28, 29 degree longitude. How do I solve this problem?
Hi,
I will need more detail on the parameters that you are using in your Sentinel-1 GRD request. What is the time range you are using and whether it is an ascending or descending orbit. The spatial/temporal resolution of the data collection is affected by the failure of Sentinel-1B and this might be the reason why you are able to obtain imagery in one AOI but the other AOI.
%%time
for i in range(len(slots)):
evalscript = “”"
//VERSION=3
function setup() {
return {
input: [“VV”,“VH”],
output: { id:“default”, bands: 2,sampleType: SampleType.FLOAT32}
}
}
function evaluatePixel(samples) {
return [samples.VV,samples.VH]
}
"""
request = SentinelHubRequest(
data_folder='test_folder_rvi/img',
evalscript=evalscript,
input_data=[
SentinelHubRequest.input_data(
data_collection=DataCollection.SENTINEL1_IW_ASC,
time_interval=(slots[i][0],slots[i][1]),
other_args={"dataFilter": {"orbitDirection ": "ASCENDING"},"processing": {"orthorectify": "True","backCoeff": "GAMMA0_TERRAIN","demInstance":"COPERNICUS_30"}}
),
],
responses=[
SentinelHubRequest.output_response('default', MimeType.TIFF),
],
bbox=bbox,
size=[1000,1000],
config=config
)
all_bands_img = request.get_data(save_data=True)
Slots I am using
(‘2021-04-01’, ‘2021-04-11’)
(‘2021-04-11’, ‘2021-04-21’)
(‘2021-04-21’, ‘2021-05-02’)
(‘2021-05-02’, ‘2021-05-12’)
(‘2021-05-12’, ‘2021-05-23’)
(‘2021-05-23’, ‘2021-06-02’)
(‘2021-06-02’, ‘2021-06-13’)
(‘2021-06-13’, ‘2021-06-23’)
(‘2021-06-23’, ‘2021-07-03’)
(‘2021-07-03’, ‘2021-07-14’)
(‘2021-07-14’, ‘2021-07-24’)
(‘2021-07-24’, ‘2021-08-04’)
(‘2021-08-04’, ‘2021-08-14’)
(‘2021-08-14’, ‘2021-08-25’)
(‘2021-08-25’, ‘2021-09-04’)
(‘2021-09-04’, ‘2021-09-14’)
(‘2021-09-14’, ‘2021-09-25’)
(‘2021-09-25’, ‘2021-10-05’)
(‘2021-10-05’, ‘2021-10-16’)
(‘2021-10-16’, ‘2021-10-26’)
(‘2021-10-26’, ‘2021-11-06’)
(‘2021-11-06’, ‘2021-11-16’)
(‘2021-11-16’, ‘2021-11-26’)
(‘2021-11-26’, ‘2021-12-07’)
(‘2021-12-07’, ‘2021-12-17’)
(‘2021-12-17’, ‘2021-12-28’)
(‘2021-12-28’, ‘2022-01-07’)
(‘2022-01-07’, ‘2022-01-18’)
(‘2022-01-18’, ‘2022-01-28’)
(‘2022-01-28’, ‘2022-02-07’)
(‘2022-02-07’, ‘2022-02-18’)
(‘2022-02-18’, ‘2022-02-28’)
(‘2022-02-28’, ‘2022-03-11’)
(‘2022-03-11’, ‘2022-03-21’)
Looking at the Observation Scenarios provided by ESA, I think this is most likely the reason why you don’t get data for these dates.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.