[gdal-dev] Problem selecting subdatasets using gdal_translate.
michael jean
michaeljean at ncf.ca
Sun May 4 13:48:37 EDT 2008
Hi,
I'm having difficulty selecting subdatasets using gdal_translate for an
RS2 product to output a TIFF. I get the exact same result for another
RS2 product type SGX...no joy. Can anyone help?
Michael
mjean at sweetpea:~$
gdalinfo /home/mjean/image_products/PK5369_DK179_RS2_OK656_PK5369_DK179_Q11_01205_20080307_213751_HH_VV_HV_VH_SLC/product.xml
Driver: RS2/RadarSat 2 XML Product
Files: /home/mjean/image_products/PK5369_DK179_RS2_OK656_PK5369_DK179_Q11_01205_20080307_213751_HH_VV_HV_VH_SLC/product.xml
Size is 1783, 6728
Coordinate System is `'
GCP Projection =
GCP[ 0]: Id=1, Info=
(0,0) -> (-60.4078915818154,55.8558673750242,37.5369110107422)
GCP[ 1]: Id=2, Info=
(127.285713,0) ->
(-60.3764463218316,55.8596515099949,37.5369110107422)
.
.
.
.
GCP[239]: Id=240, Info=
(1782,6727) ->
(-59.8539066643381,55.5760199881447,37.5369110107422)
Metadata:
PRODUCT_TYPE=SLC
PIXEL_SPACING=7.98707199e+00
LINE_SPACING=5.59820700e+00
BETA_NOUGHT_LUT=lutBeta.xml
SIGMA_NOUGHT_LUT=lutSigma.xml
GAMMA_LUT=lutGamma.xml
MATRIX_REPRESENTATION=SCATTERING
BEAM_MODE=SQ11
NEAR_RANGE_INCIDENCE_ANGLE=3.02636204e+01
FAR_RANGE_INCIDENCE_ANGLE=3.19838181e+01
SLANT_RANGE_NEAR_EDGE=9.094590416211440e+05
Subdatasets:
SUBDATASET_3_NAME=RADARSAT_2_CALIB:BETA0:/home/mjean/image_products/PK5369_DK179_RS2_OK656_PK5369_DK179_Q11_01205_20080307_213751_HH_VV_HV_VH_SLC/product.xml
SUBDATASET_3_DESC=Beta Nought calibrated
SUBDATASET_2_NAME=RADARSAT_2_CALIB:SIGMA0:/home/mjean/image_products/PK5369_DK179_RS2_OK656_PK5369_DK179_Q11_01205_20080307_213751_HH_VV_HV_VH_SLC/product.xml
SUBDATASET_2_DESC=Sigma Nought calibrated
SUBDATASET_4_NAME=RADARSAT_2_CALIB:GAMMA:/home/mjean/image_products/PK5369_DK179_RS2_OK656_PK5369_DK179_Q11_01205_20080307_213751_HH_VV_HV_VH_SLC/product.xml
SUBDATASET_4_DESC=Gamma calibrated
SUBDATASET_1_NAME=/home/mjean/image_products/PK5369_DK179_RS2_OK656_PK5369_DK179_Q11_01205_20080307_213751_HH_VV_HV_VH_SLC/product.xml
SUBDATASET_1_DESC=Uncalibrated digital numbers
Corner Coordinates:
Upper Left ( 0.0, 0.0)
Lower Left ( 0.0, 6728.0)
Upper Right ( 1783.0, 0.0)
Lower Right ( 1783.0, 6728.0)
Center ( 891.5, 3364.0)
Band 1 Block=1783x294 Type=CInt16, ColorInterp=Undefined
Metadata:
POLARIMETRIC_INTERP=HH
Band 2 Block=1783x294 Type=CInt16, ColorInterp=Undefined
Metadata:
POLARIMETRIC_INTERP=VV
Band 3 Block=1783x294 Type=CInt16, ColorInterp=Undefined
Metadata:
POLARIMETRIC_INTERP=HV
Band 4 Block=1783x294 Type=CInt16, ColorInterp=Undefined
Metadata:
POLARIMETRIC_INTERP=VH
mjean at sweetpea:~$
gdal_translate /home/mjean/image_products/PK5369_DK179_RS2_OK656_PK5369_DK179_Q11_01205_20080307_213751_HH_VV_HV_VH_SLC/product.xml /home/mjean/Desktop/image.tif
Input file contains subdatasets. Please, select one of them for reading.
mjean at sweetpea:~$ gdal_translate
RADARSAT_2_CALIB:BETA0:/home/mjean/image_products/PK5369_DK179_RS2_OK656_PK5369_DK179_Q11_01205_20080307_213751_HH_VV_HV_VH_SLC/product.xml /home/mjean/Desktop/image.tif
Input file contains subdatasets. Please, select one of them for reading.
mjean at sweetpea:~$ gdal_translate
RADARSAT_2_CALIB:SIGMA0:/home/mjean/image_products/PK5369_DK179_RS2_OK656_PK5369_DK179_Q11_01205_20080307_213751_HH_VV_HV_VH_SLC/product.xml /home/mjean/Desktop/image.tif
Input file contains subdatasets. Please, select one of them for reading.
mjean at sweetpea:~$ gdal_translate
RADARSAT_2_CALIB:GAMMA:/home/mjean/image_products/PK5369_DK179_RS2_OK656_PK5369_DK179_Q11_01205_20080307_213751_HH_VV_HV_VH_SLC/product.xml /home/mjean/Desktop/image.tif
Input file contains subdatasets. Please, select one of them for reading.
More information about the gdal-dev
mailing list