Carlos,
It seems like you are correct. Somehow there is no coordinate system
specified in the HDF file. This is strange. I'm copying the developer's list
in case someone else has run into this.
Michael
On 7/6/05 1:04 PM, "Carlos Guâno Grohmann" <carlos.grohmann@gmail.com>
wrote:
I tried r.in.aster:
r.in.aster
input=/home/guano/grassdata/AST.L1B.00309052003132740.09242003132138.hdf
proctype=L1B band=1 output=teste
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.0924200313
2138.hdf":2
/home/guano/grassdata/amsul_lambert/sad69/.tmp/valhalla/27109.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/27109.0.tif'
does not exist in the file system,
and is not recognised as a supported dataset name.
Something is worong with the coordinate system, which is not set in the image.
This is the first lines of gdalinfo:
Driver: HDF4/Hierarchical Data Format Release 4
Size is 512, 512
Coordinate System is `'
Metadata:
HDFEOSVersion=HDFEOS_V2.6
IDOFASTERGDSDATAGRANULE=ASTL1B 0309051327400309240184
tks Carlos
____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
GDAL support for ASTER HDF format has been broken for some time. Last I
checked (a few months ago), it had still not been resolved.
On Wed, 2005-07-06 at 18:37 -0700, Michael Barton wrote:
Carlos,
It seems like you are correct. Somehow there is no coordinate system
specified in the HDF file. This is strange. I'm copying the developer's list
in case someone else has run into this.
Michael
On 7/6/05 1:04 PM, "Carlos Guâno Grohmann" <carlos.grohmann@gmail.com>
wrote:
> I tried r.in.aster:
>
>
> r.in.aster
> input=/home/guano/grassdata/AST.L1B.00309052003132740.09242003132138.hdf
> proctype=L1B band=1 output=teste
>
> 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.0924200313
> 2138.hdf":2
> /home/guano/grassdata/amsul_lambert/sad69/.tmp/valhalla/27109.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/27109.0.tif'
> does not exist in the file system,
> and is not recognised as a supported dataset name.
>
>
> Something is worong with the coordinate system, which is not set in the image.
> This is the first lines of gdalinfo:
>
> Driver: HDF4/Hierarchical Data Format Release 4
> Size is 512, 512
> Coordinate System is `'
> Metadata:
> HDFEOSVersion=HDFEOS_V2.6
> IDOFASTERGDSDATAGRANULE=ASTL1B 0309051327400309240184
>
>
>
> tks Carlos
____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5
--
Brad Douglas <rez@touchofmadness.com>
Does Frank Warmerdam know about this? I'm copying him here to make sure.
Michael
On 7/6/05 10:41 PM, "Brad Douglas" <rez@touchofmadness.com> wrote:
GDAL support for ASTER HDF format has been broken for some time. Last I
checked (a few months ago), it had still not been resolved.
On Wed, 2005-07-06 at 18:37 -0700, Michael Barton wrote:
Carlos,
It seems like you are correct. Somehow there is no coordinate system
specified in the HDF file. This is strange. I'm copying the developer's list
in case someone else has run into this.
Michael
On 7/6/05 1:04 PM, "Carlos Guâno Grohmann" <carlos.grohmann@gmail.com>
wrote:
I tried r.in.aster:
r.in.aster
input=/home/guano/grassdata/AST.L1B.00309052003132740.09242003132138.hdf
proctype=L1B band=1 output=teste
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.09242003
13
2138.hdf":2
/home/guano/grassdata/amsul_lambert/sad69/.tmp/valhalla/27109.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/27109.0.tif'
does not exist in the file system,
and is not recognised as a supported dataset name.
Something is worong with the coordinate system, which is not set in the
image.
This is the first lines of gdalinfo:
Driver: HDF4/Hierarchical Data Format Release 4
Size is 512, 512
Coordinate System is `'
Metadata:
HDFEOSVersion=HDFEOS_V2.6
IDOFASTERGDSDATAGRANULE=ASTL1B 0309051327400309240184
tks Carlos
____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5
____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>