[GRASS-dev] v.rast.stats fails with column_prefix='t'
Nikos Alexandris
nik at nikosalexandris.net
Thu Nov 19 16:33:28 PST 2015
Nikos:
> >> > The command
> >> > v.rast.stats map=SomeVector raster=SomeRaster column='t'
> >> > fails. Perhaps the line
Anna:
> >> How exactly does it fail?
Nikos:
> > --%<---
> > 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'
Markus:
> --> typo, should be firs*t*quartile I suppose.
> But in my svn copy I don't find that.
>
> Do you have local modifications?
Absolutely not.
> In the code I see "first_quartile" with underscore.
> Weird!
I did not find it either! It's not a typo. It is the result of .replace
(I did some examples).
Nikos
More information about the grass-dev
mailing list