[Gfoss] i.in.spotvgt

piccolo problemino…

con grass6.3.cvs sto importando dei raster tramite il comando i.in.spotvgt.

ho un problema, per importare correttamente il raster devo eseguire il comando due volte…nel senso che:

primo comando:
i.in.spotvgt file=/home/alfredo/cartografia/satellite/V1KRNS10__19980421_NDVI__Europe/0001/0001_NDV.HDF rast=19980421

la conversione sembra andata a buon fine ma non visualizzo niente…

i.in.spotvgt file=/home/alfredo/cartografia/satellite/V1KRNS10__19980421_NDVI__Europe/0001/0001_NDV.HDF rast=19980421_2

conversione ok e il raster visualizzato correttamente…

avete idea di dove posso sbagliare??

ciao,

Alfredo

…se faccio la stessa cosa con grass 6.2.2 mi compare un errore al primo comando e nessuno al secondo. E anche in questo caso, il primo raster non si vede mentre il secondo è ok:

1° TENTATIVO:


GRASS 6.2.2 (WGS84):~ > i.in.spotvgt file=/home/alfredo/cartografia/satellite/V1KRNS10__19980521_NDVI__Europe/0001/0001_NDV.HDF rast=19980521
Import SPOT VGT NDVI map…
A datum name wgs84 (WGS_1984) was specified without transformation parameters.
Note that the GRASS default for wgs84 is towgs84=0.000,0.000,0.000.
Projection of input dataset and current location appear to match.
Proceeding with import…
100%
CREATING SUPPORT FILES FOR 19980521
SETTING GREY COLOR TABLE FOR 19980521 (8bit, full range)
r.in.gdal complete.

Imported SPOT VEGETATION NDVI map <19980521>.
Remapping digital numbers to NDVI…
100%
WARNING: Your color rules do not cover the whole range of data!
(rules -1.000000 to 1.000000 but data 79921.984000 to
79921.984000)
Color table for [19980521] set to ndvi

Done.
GRASS 6.2.2 (WGS84):~ >


2° TENTATIVO:

GRASS 6.2.2 (WGS84):~ > i.in.spotvgt file=/home/alfredo/cartografia/satellite/V1KRNS10__19980521_NDVI__Europe/0001/0001_NDV.HDF rast=19980521_2
Import SPOT VGT NDVI map…
A datum name wgs84 (WGS_1984) was specified without transformation parameters.
Note that the GRASS default for wgs84 is towgs84=0.000,0.000,0.000.
Projection of input dataset and current location appear to match.
Proceeding with import…
100%
CREATING SUPPORT FILES FOR 19980521_2
SETTING GREY COLOR TABLE FOR 19980521_2 (8bit, full range)
r.in.gdal complete.

Imported SPOT VEGETATION NDVI map <19980521_2>.
Remapping digital numbers to NDVI…
100%
Color table for [19980521_2] set to ndvi

Done.
GRASS 6.2.2 (WGS84):~ >


suggerimenti??

Alfredo

suggerimenti??

mi rispondo da solo :slight_smile:

sbagliavo perchè davo come nome al raster un numero, mentre mi sembra
di capire che accetti solo stringhe?

ciao,

Alfredo

On Jan 19, 2008 10:25 AM, Alfredo Alessandrini <alfreale74@gmail.com> wrote:

sbagliavo perchè davo come nome al raster un numero, mentre mi sembra
di capire che accetti solo stringhe?

GRASS raster accetta anche solo-numeri-nomi ma nel
i.in.spotvgt viene chiamato r.mapcalc che confonde il
tuo nome con un numero... sarebbe da sistemare.

Per il momento basta usare anche un carattere nel nome di
output.

cheers
Markus