DigitalGlobe / gbdxtools

(Deprecated) Python SDK for using GBDX
MIT License
74 stars 57 forks source link

Sentinel1 images ignore polarization argumenr #779

Closed drwelby closed 4 years ago

drwelby commented 4 years ago

Sentinel1 images ignore the polarization argument because the class is using the Sentinel2 driver by mistake. Unless the argument is specified in the driver's options it is skipped

Workaround:


from gbdxtools.rda.interface import RDA
from gbdxtools.images.rda_image import RDAImage
rda = RDA()
op = rda.Sentinel1Read(SentinelId='S1A_EW_GRDM_1SSH_20161120T103648_20161120T103752_014024_0169BC_F97C', sentinel1Polarization='HH')
img = RDAImage(op)
drwelby commented 4 years ago

Need to check templates

mchaudry commented 4 years ago

Fixed in https://github.com/DigitalGlobe/gbdxtools/pull/810