[gdal-dev] using gdal_translate with RS2

G. Michael Jean michaeljean at ncf.ca
Wed Oct 22 17:29:58 EDT 2008


Hi

I am trying to read RS2 format using gdal and output a GTiff. On my
primary system i686 32 bit ubuntu o/s it doesn't work:

mjean at buttercup:~/products/PK5351_DK112_RS2_OK645_PK5351_DK112_W2_S5_S6_01205_20080307_225936_HH_HV_SGF$
gdal_translate product.xml out.tif
Input file contains subdatasets. Please, select one of them for reading.
mjean at buttercup:~/products/PK5351_DK112_RS2_OK645_PK5351_DK112_W2_S5_S6_01205_20080307_225936_HH_HV_SGF$
gdal_translate RADARSAT_2_CALIB:BETA0:product.xml out.tif
Input file contains subdatasets. Please, select one of them for reading.
mjean at buttercup:~/products/PK5351_DK112_RS2_OK645_PK5351_DK112_W2_S5_S6_01205_20080307_225936_HH_HV_SGF$
cd ..
mjean at buttercup:~/products$ cd RS*
mjean at buttercup:~/products/RS2_OK2775_PK36076_DK35381_S2_20081010_130353_HH_HV_SGF$
gdal_translate RADARSAT_2_CALIB:BETA0:product.xml out.tif
Input file contains subdatasets. Please, select one of them for reading.
mjean at buttercup:~/products/RS2_OK2775_PK36076_DK35381_S2_20081010_130353_HH_HV_SGF$
uname -a
Linux buttercup 2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC 2008
i686 GNU/Linux


When I try the same command/data on a windows system it works:
D:\RS2_OK2775_PK36076_DK35381_S2_20081010_130353_HH_HV_SGF>gdal_translate
RADARSAT_2_CALIB:BETA0:product.xml test.tif

Input file size is 8766, 7731

0...10...20...30...40...50...60...70...80...90...100 - done.



D:\PK5351_DK112_RS2_OK645_PK5351_DK112_W2_S5_S6_01205_20080307_225936_HH_HV_SGF>gdal_translate
RADARSAT_2_CALIB:BETA0:product.xml

test.tif

Warning 1: TIFFReadDirectory:Unknown field with tag 34595 (0x8723)
encountered

Warning 1: TIFFReadDirectory:Unknown field with tag 34595 (0x8723)
encountered

Input file size is 11893, 11464

0...10...20...30...40...50...60...70...80...90...100 - done.



D:\PK5351_DK112_RS2_OK645_PK5351_DK112_W2_S5_S6_01205_20080307_225936_HH_HV_SGF>ver



Microsoft Windows XP [Version 5.1.2600]


Has anyone else experienced this? Is the RS2 driver fully
tested/supported for linux as well as windows?

Michael


More information about the gdal-dev mailing list