[GRASS-user] HDF-5 parse
Markus Metz
markus.metz.giswork at googlemail.com
Fri Feb 12 09:57:21 EST 2010
Hamish wrote:
>
> did you read this:
> http://www.gdal.org/frmt_hdf5.html
>
[snip]
> (hint: "band" and "subdataset" are probably the same thing)
>
No. As it says a bit further down, after getting info for a specific
subdataset: "You may use gdal_translate for reading image bands from
this [selected sub-] dataset."
That's why r.in.gdal could not import all bands, because HDF
(hierarchical data format) is something like a superdataset with
subdatasets, each of these subdatasets may in turn hold several bands
(usually only one band).
It is generally a good idea to first read the documentation in
http://www.gdal.org/formats_list.html
before trying to import/export raster maps via gdal
because there are 105 different formats, also CEOS, listed in
http://www.gdal.org/formats_list.html
where most of your questions are answered ;-)
Not many people know all the little peculiarities of all these formats
by heart, most, also those providing answers, usually look up the
details of a particular format in the documentation provided.
Markus M
More information about the grass-user
mailing list