Re: [gdal-dev] gdal and hdf-eos

2011-03-04 Thread Matt Funk
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/
http://www.lfd.uci.edu/%7Egohlke/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 maf...@nmsu.edu
 mailto:maf...@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@lists.osgeo.org mailto:gdal-dev@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdal and hdf-eos

2011-03-04 Thread Chaitanya kumar CH
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 maf...@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 maf...@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@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdal and hdf-eos

2011-03-04 Thread Nikolaos Hatzopoulos
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...@gmail.comwrote:

 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 maf...@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 maf...@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@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@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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/gdal-dev

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdal and hdf-eos

2011-03-04 Thread Chaitanya kumar CH
GDAL's HDF4 driver is built on top of NCSA HDF library.

On Sat, Mar 5, 2011 at 12:20 AM, Nikolaos Hatzopoulos nhat...@gmail.comwrote:

 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@
 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 maf...@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 maf...@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@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@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdal and hdf-eos

2011-03-04 Thread Nikolaos Hatzopoulos
you are not compiling things from source?

On Fri, Mar 4, 2011 at 10:57 AM, Chaitanya kumar CH
chaitanya...@gmail.comwrote:

 GDAL's HDF4 driver is built on top of NCSA HDF library.

 On Sat, Mar 5, 2011 at 12:20 AM, Nikolaos Hatzopoulos 
 nhat...@gmail.comwrote:

 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@
 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 maf...@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 maf...@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@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@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] gdal and hdf-eos

2011-03-03 Thread Matt Funk
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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdal and hdf-eos

2011-03-03 Thread Chaitanya kumar CH
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 maf...@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev