[GRASS-user] gdal_translate

Markus Neteler neteler at osgeo.org
Tue Nov 25 08:40:52 EST 2008


On Tue, Nov 25, 2008 at 11:28 AM, Annekatrien Debien
<annekatrien.debien at gmail.com> wrote:
> Dear all,
>
> I'm trying to subset my TRMM image with the gdal_translate command in Grass
> 6.2.2 on Centos: "gdal_translate -projwin 868 187 875 178 apr00
> precip_apr00". However, Grass returns
> Error 4:'apr00' does not exist in the file system,
> and is not recognised as a supported dataset name.

You mean that GDAL returns this message.

> GDALOpen failed -4
> 'apr00' does not exist in the file system
> and is not recognised as a supported dataset name.
>
> I was able to import the image and display it as a raster, so it exists in
> my PERMANENT mapset. What am I doing wrong here?

If you want to work with gdal_translate on GRASS data, you
need to
- have the GDAL-GRASS plugin installed
- specify the full path to the GRASS map

Markus


More information about the grass-user mailing list