[gdal-dev] gdal and hdf-eos
Nikolaos Hatzopoulos
nhatzop at gmail.com
Fri Mar 4 13:50:04 EST 2011
what extra libraries requires hdf4? i think only requires szip zlib and jpeg
On Fri, Mar 4, 2011 at 10:03 AM, Chaitanya kumar CH
<chaitanya.ch at gmail.com>wrote:
> Matt,
>
> If there is a work around it's better to avoid building. HDF4 requires some
> extra libraries. They are probably missing.
>
>
> On Fri, Mar 4, 2011 at 11:01 PM, Matt Funk <mafunk at nmsu.edu> wrote:
>
>> Hi Chaitanya,
>> no, i didn't build it myself. I simply downloaded the self-installing
>> package for gdal found at: http://www.lfd.uci.edu/~gohlke/pythonlibs/
>> I am a little unfamiliar still with building stuff on windows, so i am not
>> sure whether it's worth trying to build gdal and the python bindings from
>> scratch or simply use h4toh5 called from the script.
>>
>> thanks
>> matt
>>
>>
>> On 3/3/2011 9:30 PM, Chaitanya kumar CH wrote:
>>
>> Matt,
>>
>> Did you build GDAL yourself? HDF4 format is not compiled by default. You
>> can check if this by running the command "gdalinfo --formats". See if HDF4
>> is in the output.
>> http://www.gdal.org/frmt_hdf4.html
>>
>> On Fri, Mar 4, 2011 at 6:03 AM, Matt Funk <mafunk at nmsu.edu> wrote:
>>
>>> Hi,
>>> i am using python/gdal. I am trying to open a MODIS satellite file from
>>> the Terra satellite (which is hdf4-eos format). Doing:
>>> ds = gdal.Open(file)
>>> drivertype=ds.GetDriver().LongName
>>>
>>> returns
>>> ERROR 4:
>>> `C:/tmp/SrcData/2010Data/MODISData/MOD03/MOD03.A2010002.1810.005.2010258062733.hdf'
>>> not recognised as a supported file format.
>>>
>>> Is this file format not supported?
>>>
>>> thanks
>>> matt
>>>
>>> _______________________________________________
>>> gdal-dev mailing list
>>> gdal-dev at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>>
>>
>>
>>
>> --
>> Best regards,
>> Chaitanya kumar CH.
>> /tʃaɪθənjə/ /kʊmɑr/
>> +91-9494447584
>> 17.2416N 80.1426E
>>
>>
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
>
> --
> Best regards,
> Chaitanya kumar CH.
> /tʃaɪθənjə/ /kʊmɑr/
> +91-9494447584
> 17.2416N 80.1426E
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110304/3b6a5351/attachment.html
More information about the gdal-dev
mailing list