[gdal-dev] python GDAL issue

Edson, Adam Robert are131 at psu.edu
Mon Oct 14 04:01:45 PDT 2019


I am working on adding BANDSB and the other TREs listed in the SNIP document.

I am not sure what you are asking for.
However, here is the output from gdal.getMetadata('TRE') for the relevant portion of the BANDSB TRE

SPECTRAL RADIANCE       SB\\0\\0\\0\\0\\0\\00030.00M0030.00M-------M-------M
                                               \\0\\0DETECTOR                \x7fU

This is the section from the radiometric_quantity field to wave_length_unit field.

Thanks!
Adam

________________________________
From: Brad Hards <bradh at frogmouth.net>
Sent: Saturday, October 12, 2019 1:51 AM
To: Edson, Adam Robert <are131 at psu.edu>; gdal-dev at lists.osgeo.org <gdal-dev at lists.osgeo.org>
Subject: RE: [gdal-dev] python GDAL issue


GDAL’s NITF encoding doesn’t appear to have BANDSB yet: https://github.com/OSGeo/gdal/blob/master/gdal/data/nitf_spec.xml



It would definitely help to see how that file encodes it. Can you open the NITF file, find the part that starts with BANDSB0nnnn (where 0nnnn is some length value), and copy out the following 0nnnn characters?



Brad


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20191014/e17fdefc/attachment.html>


More information about the gdal-dev mailing list