[GRASS-dev] v.rast.stats fails with column_prefix='t'

Markus Neteler neteler at osgeo.org
Thu Nov 19 13:53:26 PST 2015


On Thu, Nov 19, 2015 at 8:53 PM, Nikos Alexandris
<nik at nikosalexandris.net> wrote:
> Nikos:
>
>> > The command
>> > v.rast.stats map=SomeVector raster=SomeRaster column='t'
>> > fails. Perhaps the line
>
> Anna:
>
>> How exactly does it fail?
>
> --%<---
> v.info -c Test
> INTEGER|cat
> INTEGER|Id
> CHARACTER|Name
>
> v.rast.stats map=Test raster=LT51960282005221KIS00_B1 column='t'
> Traceback (most recent call last):
>   File "/osgeo/grass70/dist.x86_64-unknown-linux-gnu/scripts/v.rast.stats", line 306, in <module>
>     main()
>   File "/osgeo/grass70/dist.x86_64-unknown-linux-gnu/scripts/v.rast.stats", line 268, in main
>     i = variables[variable]
> KeyError: 'firsquartile'

--> typo, should be firs*t*quartile I suppose.
But in my svn copy I don't find that.

Do you have local modifications? In the code I see "first_quartile"
with underscore.
Weird!

Markus


More information about the grass-dev mailing list