Changes between Initial Version and Version 2 of Ticket #2282


Ignore:
Timestamp:
Jul 15, 2008, 3:47:16 AM (16 years ago)
Author:
Mateusz Łoskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2282

    • Property Cc Mateusz Łoskot added
    • Property Keywords ubuntu hdf added; Ubuntu 7.10 gdal build from source HDF removed
  • Ticket #2282 – Description

    initial v2  
    11OS: Ubuntu 7.10, 64-bit
     2
    23Already installed: proj, libtiff, libgeotiff, expat, sqlite (from Ubuntu repositories), grass (build from source with 64-bit support), qgis 0.9.1 (build from source with 64-bit support)
    34
    4 * gdalinfo/ gdalwarp fail WORK fine with a MOD09 product acquired on 2006. However they fail with a MOD09 acquired on 2007
     5 * gdalinfo/ gdalwarp fail WORK fine with a MOD09 product acquired on 2006. However they fail with a MOD09 acquired on 2007
    56
    67Question: Is it a bug or is it a mis-configuration of HDF5?
    78
    8 1. svn checkout https://svn.osgeo.org/gdal/branches/1.5/gdal gdal
     9 1. svn checkout https://svn.osgeo.org/gdal/branches/1.5/gdal gdal
    910
    10 2. CFLAGS="-g -Wall" LDFLAGS="-s" ./configure  --with-grass=/usr/local/grass-6.3.svn/  --with-libgrass=/usr/lib/gdalplugins/gdal_GRASS.so  --with-png=internal  --with-libtiff=/usr/lib  --with-geotiff=/usr/lib/libtiff  --with-jpeg=internal  --with-gif=internal  --with-ecw=yes  --with-expat=yes  --with-expat-inc=/usr/include/  --with-expat-lib=/usr/lib  --with-sqlite3=yes  --with-geos=yes  --with-python
     11 2.
     12{{{
     13CFLAGS="-g -Wall" LDFLAGS="-s" ./configure 
     14--with-grass=/usr/local/grass-6.3.svn/
     15--with-libgrass=/usr/lib/gdalplugins/gdal_GRASS.so
     16--with-png=internal  --with-libtiff=/usr/lib
     17--with-geotiff=/usr/lib/libtiff  --with-jpeg=internal
     18--with-gif=internal  --with-ecw=yes  --with-expat=yes
     19--with-expat-inc=/usr/include/  --with-expat-lib=/usr/lib
     20--with-sqlite3=yes  --with-geos=yes  --with-python
     21}}}
    1122
    1223Ends up with no errors (various WARNINGS during configuration process)
    1324
    14 3. make
    15 4. sudo make install
     25 3. Build
     26{{{
     27make
     28}}}
    1629
    17 5.1. gdalinfo --version
     30 4. Install
     31{{{
     32sudo make install
     33}}}
     34
     35 5. gdalinfo --version
     36{{{
    1837GDAL 1.5.1, released 2008/03/14
     38}}}
    1939
    20 5.2. which gdalinfo
     40 5.1. which gdalinfo
     41{{{
    2142/usr/local/bin/gdalinfo
     43}}}
    2244
    23 5.3. gdalinfo --formats | grep HDF
     45 5.2. gdalinfo --formats | grep HDF
     46{{{
    2447  HDF4 (ro): Hierarchical Data Format Release 4
    2548  HDF4Image (rw+): HDF4 Dataset
    2649  HDF5 (ro): Hierarchical Data Format Release 5
    2750  HDF5Image (ro): HDF5 Dataset
     51}}}
    2852
    29 6. gdalinfo MOD09GQK.A2006239.h19v05.004.2006241155630.hdf # This is successful - note: it's a 2006 MOD09 product
     53 6. gdalinfo MOD09GQK.A2006239.h19v05.004.2006241155630.hdf
     54This is successful - note: it's a 2006 MOD09 product
    3055
     56{{{
    3157Driver: HDF4/Hierarchical Data Format Release 4
    3258Files: MOD09GQK.A2006239.h19v05.004.2006241155630.hdf
     
    5076Lower Right (  512.0,  512.0)
    5177Center      (  256.0,  256.0)
     78}}}
    5279
    53 7. gdalinfo MOD09GQ.A2007242.h19v05.005.2007244231200.hdf # Fails - note: this is a 2007 MOD09 product
     80 7. gdalinfo MOD09GQ.A2007242.h19v05.005.2007244231200.hdf
     81Fails - note: this is a 2007 MOD09 product
     82{{{
    5483Segmentation fault (core dumped)
     84}}}
    5585
    56 8.1 ~/FWTools-2.0.6/bin$ ./gdalinfo --formats | grep HDF
    57   HDF4 (ro): Hierarchical Data Format Release 4
     86 8. ~/FWTools-2.0.6/bin$ ./gdalinfo --formats | grep HDF
     87{{{
     88HDF4 (ro): Hierarchical Data Format Release 4
    5889  HDF4Image (rw+): HDF4 Dataset
     90}}}
    5991
    60 8.2 ~/FWTools-2.0.6/bin$ ./gdalinfo /home/nik/grassdb/tmp/30.08.2007/250m/MOD09GQ.A2007242.h19v05.005.2007244231200.hdf -nomd
     92 8.1. ~/FWTools-2.0.6/bin$ ./gdalinfo /home/nik/grassdb/tmp/30.08.2007/250m/MOD09GQ.A2007242.h19v05.005.2007244231200.hdf -nomd
     93{{{
    6194Driver: HDF4/Hierarchical Data Format Release 4
    6295Files: /home/nik/grassdb/tmp/30.08.2007/250m/MOD09GQ.A2007242.h19v05.005.2007244231200.hdf
     
    80113Lower Right (  512.0,  512.0)
    81114Center      (  256.0,  256.0)
     115}}}
    82116
    83 9. # The same with behaviour with:
     117 9. The same with behaviour with:
     118{{{
    84119gdalinfo --version
    85120GDAL 1.5.0, released 2007/12/18
     121}}}