On 06/20/2012 02:55 PM, Etienne Tourigny wrote:
> You could combine them as a multi-band gtiff file for example
No, in this case (MOD09GA data) you cannot, because the subdatasets have
different resolutions / raster sizes, and datatypes. Imho there is no
other way than to subset each subdataset
You could combine them as a multi-band gtiff file for example
Yes, but I could just as easily combine the individual subdatasets after
using "-sds" switch or Even's method into a single HDF4Image as well. I'd
rather just be able to do that all in one line using the "-b" switch in
gdal_translate w
Le mardi 19 juin 2012 23:55:49, dcd a écrit :
> Hi,
>
> Is it possible to spatially subset an HDF4Image that contains multiple
> subdatasets using gdal_translate (GDAL 1.9.1)? When using a spatial subset
> switch ("-a_ullr"), I get the following response:
>
> &
Hi,
Is it possible to spatially subset an HDF4Image that contains multiple
subdatasets using gdal_translate (GDAL 1.9.1)? When using a spatial subset
switch ("-a_ullr"), I get the following response:
"Input file contains subdatasets. Please, select one of them for reading."
This happens regardle