Hi all,
When I am trying to download MODIS data from Sentinel Hub via WcsRequest I am getting empty frames:
WcsRequest(data_source=DataSource.MODIS,
layer=‘TRUE_COLOR’,
bbox=utm22N_bbox,
time=(‘2016-05-20’, ‘2016-05-30’),
resx=‘500m’, resy=‘500m’,
instance_id=INSTANCE_ID_MODIS)
Where utm22N_bbox has following geometry: Polygon( (380000 , 7690000), (380000, 7770000), (460000, 7770000),(460000,7690000), (380000,7690000)])
and crs: <CRS.UTM_22N: ‘32622’>
INSTANCE_ID_MODIS = ‘a50c9006-9a97-41e2-924d-XXXXXXXXXXXX’
If I changed CRS to <CRS.WGS84: ‘4326’> with code:
wgs84_bbox = utm22N_bbox.transform(CRS.WGS84)
final coordinates: ‘-54.04200364049867,69.29287275517264,-52.049659656172,70.03391818262855’
I am getting images with data along.
Nevertheless, the picture size is not 160x160px as expected but
165x154px
Do you think it will be possible to download MODIS the data in different UTM projections?
What can I do instead to map raster image after download in CRS.WGS84 projection?
Is transforming to vector, then mapping to preffered UTM, and then transforming back to raster datatype will retain good quality of reference?
edited: I added bbox reference for WGS84 and instance id
Thank you for your help in advance.
Kamil