Hi,
I have used the following script to download SAR data. I have realized now that the values of VV range from -128 to +128.
VH start from 0 as expected.
Is there any explanation for those values of VV?
def read_sentinel1_image_field_date(_bbox, _geometry, _time_interval, _data_folder):
utm_bbox = to_utm_bbox(_bbox)
size = bbox_to_dimensions(utm_bbox, 5)
geometry = Geometry(_geometry, crs=CRS.WGS84)
evalscript = """
//VERSION=3
function setup() {
return {
input: ["VV", "VH", "shadowMask", "dataMask" ],
output: { id:"default", bands: 4}
}
}
function evaluatePixel(samples) {
return [samples.VV, samples.VH, samples.shadowMask, samples.dataMask]
}
"""
request = SentinelHubRequest(
data_folder= _data_folder,
evalscript=evalscript,
input_data=[
SentinelHubRequest.input_data(
data_collection=DataCollection.SENTINEL1_IW,
time_interval=_time_interval,
other_args={"processing": {"orthorectify": "True",
"speckleFilter": {"type": "LEE", "windowSizeX": 3, "windowSizeY": 3},
"backCoeff": "GAMMA0_TERRAIN"}}
),
],
responses=[
SentinelHubRequest.output_response('default', MimeType.TIFF),
],
bbox=_bbox,
geometry=geometry,
size=size,
config=config
)
try:
response = request.get_data(save_data=True)
filename_d = request.get_filename_list()
return filename_d
except Exception as e:
print('Error getting sentinel imagery {0}'.format(e))
pass
return 0