[Gdal-dev] Re: HDF problems
wlx
wlx at mygis.org
Thu Nov 18 03:50:58 EST 2004
Your gdal's compile isn't active the hdf4 support, the default compilation
isn't include it.
> I am new with gdal library and I do not know,if it is
> working properly.
> I installed FWTools-0.9.1 under Fedora C2.
> I have downloaded hdf files from DAAC server
> http://daac.gsfc.nasa.gov/data/datapool/ and I can open the
> files with HDFLook software.
> However, for further development I wold like to load HDF
> files directly to GRASS 5.4 with gdal libraries.
> So for testing I exported the geotif file from GRASS and run
>
> >gdalinfo maa1km.tif
> Driver: GTiff/GeoTIFF
> Size is 2169, 1422
> Coordinate System is `'
> Corner Coordinates:
> Upper Left ( 0.0, 0.0)
> Lower Left ( 0.0, 1422.0)
> Upper Right ( 2169.0, 0.0)
> Lower Right ( 2169.0, 1422.0)
> Center ( 1084.5, 711.0)
> Band 1 Block=2169x1 Type=Byte, ColorInterp=Red Band 2
> Block=2169x1 Type=Byte, ColorInterp=Green Band 3 Block=2169x1
> Type=Byte, ColorInterp=Blue
>
> So as if it is working properly
>
> But when I try
>
> >gdalinfo GSUB1.A2001122.1045.003.2002343183413.hdf
> ERROR 4: `GSUB1.A2001122.1045.003.2002343183413.hdf' not
> recognised as a supported file format.
>
> GDALOpen failed - 4
> `GSUB1.A2001122.1045.003.2002343183413.hdf' not recognised as
> a supported file format.
> >
>
> With HDFLook it works properly showing the information inter alia:
> HDFLook_modis (Version 4.10B [HDF.4.2.r5])
>
> Do I still miss some libraries, and how I would know that.
> How I could get forward?
>
>
> Best regards
>
> --
> Seppo Kaitala, Scientist, Ph.D.
>
> Biological Oceanography
> Finnish Institute of Marine Research
> PO Box 33 (Lyypekinkuja 3 A)
> FIN-00931 Helsinki, Finland
> tel. +358-9-613941 fax +358-9-6139 4494
> email: seppo.kaitala at fimr.fi
>
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at xserve.flids.com
> http://xserve.flids.com/mailman/listinfo/gdal-dev
>
More information about the Gdal-dev
mailing list