The command v.rast.stats map=SomeVector raster=SomeRaster column='t' fails. Perhaps the line <https://trac.osgeo.org/grass/browser/grass/trunk/scripts/v.rast.stats/v.rast.stats.py#L265> was simply meant to be something like: for colname in colnames: variable = colprefix + '_' + colname print colname ?, Nikos