There is a handy tool called HEG with which one can convert HDF files into .tif. It can be used to create subsets as well. The tool has two modes: a. stitching/subset modus and b. conversion modus.
It is written in C and Java (for the GUI). Could it be useful for GRASS? Is there any plan to implement a handy tool to import MODIS imagery? . FYI: In my case, trying to convert MODIS Surface Reflectance Daily L2G Global 250m products from HDF to TIF and, at the same time the desired output (subset) re-projected into the Hellenic Geodetic Reference System 1987, I bombed into a bug probably (while in stitching/subset modus). The tool worked also under the conversion modus, since I don't need to stitch several images together. The problem now is that whenever I define the parameters for Transverse Mercator projection (when selected to be the custom projection of the output) I get an output half-way correct... By that I mean that the output has following projection information assigned: Layer Spatial Reference System: +proj=tmerc +lat_0=0 +lon_0=24 +k=0.999600 +x_0=500000 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs What I would like to have is +proj=tmerc +lat_0=0 +lon_0=24 +k=0.999600 +x_0=500000 +y_0=0 +ellps=GRS80 +towgs84=-199.87,74.79,246.62,0,0,0,0 +units=m +no_defs -- View this message in context: http://www.nabble.com/MODIS-HDF-conversion-in-TIF-tool.-tf4799564.html#a13731438 Sent from the Grass - Users mailing list archive at Nabble.com. _______________________________________________ grassuser mailing list grassuser@grass.itc.it http://grass.itc.it/mailman/listinfo/grassuser