[GRASS-user] gdal_translate

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.

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?

Thanks for the help!

Kind regards,
Annekatrien

On Tue, Nov 25, 2008 at 11:28 AM, Annekatrien Debien
<annekatrien.debien@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