Hi steven, Thank you for confirmation but do you use command based or GUI FWTools.
Thank you very much in advance. VIkram. On 1/30/2012 7:10 PM, steven mosher wrote: > I can confirm that FWtools on windows 7 does work in turning Modis > HDF to Tif > > I just finished doing about a terabyte of Modis Albedo. > > However, the projection information had to be added after I read the > tif into Raster > > Steve > > On Mon, Jan 30, 2012 at 4:29 AM, Matteo Mattiuzzi > <matteo.mattiu...@boku.ac.at <mailto:matteo.mattiu...@boku.ac.at>> wrote: > > Hi Vikram, > > I probably gave you some wrong informations in my mails. > I'm using Windows only rarly, and so little confused in this matter. > It is right, gdal doesn't support hdf4 files on Windows, but the > gdal in FWTools should support it. > It is plan to implement it in the MODIS package but it is not > available now. > This weekend i was looking at quick alternatives, but i hadn't any > success. > Probably the fastest way is to use FWTools directly (but i have > never use it) or to shift to a Linux system (if you have it ready). > > Sorry for the erroneous information in our discussion. > > Matteo > > ----- Reply message ----- > Von: "Vikram Ranga" <babuaw...@gmail.com <mailto:babuaw...@gmail.com>> > An: "Matteo Mattiuzzi" <matteo.mattiu...@boku.ac.at > <mailto:matteo.mattiu...@boku.ac.at>> > Cc: <r-sig-geo@r-project.org <mailto:r-sig-geo@r-project.org>> > Betreff: Antw: Re: [R-sig-Geo] HDF format > Datum: Mo., Jan. 30, 2012 13:06 > > > Hi Matteo, > The gdalinfo --verison of my fwtools is > C:/>gdalinfo --verison > GDAL 1.7.0b2, FWTools 2.4.7, released 2010/01/19 > My cmd has > C:/>gdalinfo --verison > GDAL 1.9.0, released 2011/12/29. > But R still not successful in reading hdf > >sds<-getSDS("C:/../../AST_09_00304012003053127....87.hdf") > > sds > $SDSnames > NULL > > $SDS4gdal > NULL > > Regards, > > Vikram. > > > > On 1/27/2012 4:33 PM, Matteo Mattiuzzi wrote: > > FWTools uses a GDAL version older than 1.8.0 take care and check > > it with 'gdalinfo --version'. This would mean that all your > GTiff > files have an offset of half a pixel!! > > If 'gdalinfo --version' tells you something like that: > > C:\>gdalinfo --version > > GDAL 1.7.0b2, FWTools 2.4.7, released 2010/01/19 > > Than I would check the output tif files accuratly. > > I did not understand your last lines on the cmd path changing. > Be sure > to fix this problem may this helps you out: > > http://php.scripts.psu.edu/jzl5325/wordpress/?p=60 > > > > >>> Vikram Ranga <babuaw...@gmail.com > <mailto:babuaw...@gmail.com>> 1/27/2012 4:04 pm >>> > > Hi Matteo, > > Ok, When I type on the cmd it is something like that > > C:\Users\vikram>gdalinfo the output is > > 'gdalinfo' is not recognised as an internal or external command, > > operable program or batch file. > > But I installed FWTools with it command prompt I tried, > > C:\Program Files (x86)\FWtools2.4.7. The output is same as you > have shown > > C:\Program Files (x86)\FWtools2.4.7>gdalinfo > > Usage: gdalinfo [--help-general] [-mm] [-stats] [-hist] [-nogcp] > [-nomd] > > [-norat] [-noct] [-checksum] [-mdd domain]* > datasetname > > I tried to change the path of cmd to C:\Program/ Files (x86), > to > Program Files, to C:\ , to C:\Windows\sysWOW64\ but the output is > > 'gdalinfo' is not recognised as an internal or external command, > > operable program or batch file. > > > > Thank you very much Matteo for your work. > > > > Regards, > > > > Vikram. > > > > On 1/27/2012 1:56 PM, Matteo Mattiuzzi wrote: > >> Hi Vikram, I had to leave yesterday but I'm back at office now, > >> please post always the exact console outputs. The output of >> > 'gdalinfo' should be something like that: > >> C:\>gdalinfo > >> Usage: gdalinfo [--help-general] [-mm] [-stats] [-hist] > [-nogcp] [-nomd] > > [[alternative HTML version deleted]] > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@r-project.org <mailto:R-sig-Geo@r-project.org> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > > [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo