[Gdal-dev] HDF4 : gdalinfo subdatasets size
Julien Demaria
dem at acri-st.fr
Mon Oct 17 03:51:21 EDT 2005
Hi,
I don't know if it's a bug, but gdalinfo on an HDF4 file (next test is
on a MODIS Level2 file, but same problem on Aster files) report sizes in
Y/X order for subdatasets, and gdalinfo on a selected subdataset report
the size in X/Y order :
$ gdalinfo /terabyte1/scratch/dem/A2005285192000.L2_LAC|grep SUBDATASET_11
SUBDATASET_11_NAME=HDF4_SDS:UNKNOWN:"/terabyte1/scratch/dem/A2005285192000.L2_LAC":21
SUBDATASET_11_DESC=[2030x1354] nLw_531 (16-bit integer)
$ gdalinfo
HDF4_SDS:UNKNOWN:"/terabyte1/scratch/dem/A2005285192000.L2_LAC":21|grep Size
Size is 1354, 2030
Regards,
Julien
More information about the Gdal-dev
mailing list