[GRASS-user] i.in.spotvgt

Markus Neteler neteler at osgeo.org
Sun Jan 20 11:37:05 EST 2008


The problem will be caused by the usage of a pure
number filename. While GRASS generally supports
this, it would need a fix in i.in.spotvgt to avoid that
the r.mapcalc call within the script calculates nonsense...

Quick solution: Just use a letter in output name.

Markus

On Jan 19, 2008 1:00 AM, Alfredo Alessandrini <alfreale74 at gmail.com> wrote:
>
> Hi,
>
> I've imported some rasters by i.in.spotvgt..
>
> I don't understand because the first attempt fail while the second is
> ok. Any raster that I try to import, the result is the same. first
> attempt=FAIL; second attempt=OK
>
> 1° ATTEMPT:
>
> 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° ATTEMPT:
>
> 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):~ >
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/


More information about the grass-user mailing list