Hi Shawn, If you're using GDAL directly, and don't select a subdataset AND the program you're writing ignores subdatasets, you can just read the digital numbers without any other work. A hidden misfeature of the RS2 driver.
However, if you're using it with OpenEV or something, it might be possible to just prepend RADARSAT_2_CALIB:UNCALIB: to the filename. This will tell the RS2 driver to provide only uncalibrated DNs. However, no guarantees this will work with OpenEV. As far as the GeoTIFF error goes, I'll have to delegate that to someone else -- I have heard reports that there are non-standard GeoTIFF tags in the production RADARSAT-2 datasets, but I don't know if that's the cause of the warning you're seeing or not. Cheers, Phil On Fri, Sep 12, 2008 at 03:28:36PM -0400, Gong, Shawn (Contractor) wrote: > hi list, > > > > rephrase my 2nd question, is there a way to skip the "SubDataset > Selection" dialog, and to load uncalibrated digital numbers by default? > > > > thanks, > Shawn > > > > -------------------------------------------------------------------------- > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Gong, Shawn > (Contractor) > Sent: Friday, September 12, 2008 2:28 PM > To: [email protected] > Subject: [gdal-dev] gdal 1.5.2's RADARSAT-2 driver > > > > hi list, > > I have installed gdal 1.5.2 on Windows, trying to test the RADARSAT-2 > driver. > > When loading RSAT-2 "product.xml", a "SubDataset Selection" dialog box > pops up and asks user to select 1) uncalibrated digital numbers, 2) Sigma > nought calibrated, 3) beta nought calibrated, 4) gamma calibrated. > > After selection, I got the error: > > Warning 1: TIFFReadDirectory:Unknown field with tag 34595 (0x8723) > encountered > > and the "SubDataset Selection" dialog box reappears. > > 2nd question, is there a way to capture which subDataset that user has > selected? i.e., did he select 1) uncalibrated digital numbers, 2) Sigma > nought calibrated, 3) beta nought calibrated, or 4) gamma calibrated or > all of them? > > thanks, > > Shawn > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
