[GRASSLIST:7466] Re: import HDF files
Carlos Guâno Grohmann
carlos.grohmann at gmail.com
Tue Jul 5 18:06:16 EDT 2005
I still cant have my ASTER imagens on GRASS. I have builted HDF4,
rebuilted GDAL with support for HDF4 and GRASS.
If I try r.in.gdal:
r.in.gdal input=/home/guano/grassdata/AST.L1B.00309052003132740.09242003132138.hdf
output=test band=1 -o -e
ERROR 4: `/home/guano/grassdata/AST.L1B.00309052003132740.09242003132138.hdf'
not recognised as a supported file format.
If I try r.in.aster:
r.in.aster input=/home/guano/grassdata/AST.L1B.00309052003132740.09242003132138.hdf
proctype=L1B band=1 output=test
georeferencing aster image
gdalwarp -t_srs +proj=lcc +lat_0=-18.0000000000 +lat_1=-8.0000000000
+lat_2=-28.0000000000 +lon_0=-46.0000000000 +x_0=2000000000.0000000000
+y_0=5000000000.0000000000 +a=6378160 +rf=298.25 +no_defs
+towgs84=-60.0,-2.0,-41.0
HDF4_SDS:ASTER_L1B:"/home/guano/grassdata/AST.L1B.00309052003132740.09242003132138.hdf":2
/home/guano/grassdata/amsul_lambert/sad69/.tmp/Valhalla/26909.0.tif
A target coordinate system was specified, but there is no source coordinate
system. Consider using -s_srs option to provide a source coordinate system.
Operation terminated.
importing into GRASS
ERROR 4: `/home/guano/grassdata/amsul_lambert/sad69/.tmp/Valhalla/26909.0.tif'
does not exist in the file system,
and is not recognised as a supported dataset name.
Cheers,
Carlos
--
+-----------------------------------------------------------+
Carlos Henrique Grohmann - Guano
Geologist M.Sc - Doctorate Student at IGc-USP - Brazil
Linux User #89721 - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
More information about the grass-user
mailing list