<div dir="ltr">thank you so much Helmut, now is working!!!</div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-14 16:00 GMT-03:00  <span dir="ltr"><<a href="mailto:grass-user-request@lists.osgeo.org" target="_blank">grass-user-request@lists.osgeo.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send grass-user mailing list submissions to<br>
        <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/grass-user</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:grass-user-request@lists.osgeo.org">grass-user-request@lists.<wbr>osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:grass-user-owner@lists.osgeo.org">grass-user-owner@lists.osgeo.<wbr>org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of grass-user digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Problem in running r.basin (Margherita Di Leo)<br>
   2. v.rast.stats ERROR (Diana Brito)<br>
   3. Re: v.rast.stats ERROR (Helmut Kudrnovsky)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Fri, 14 Oct 2016 17:41:10 +0200<br>
From: Margherita Di Leo <<a href="mailto:diregola@gmail.com">diregola@gmail.com</a>><br>
To: Priscilla_I <<a href="mailto:isacco.silvia@gmail.com">isacco.silvia@gmail.com</a>><br>
Cc: GRASS user list <<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>><br>
Subject: Re: [GRASS-user] Problem in running r.basin<br>
Message-ID:<br>
        <CABa=<a href="mailto:8QpETm2cohaWA8DtpgwmFkOW84QfCMQS-rn6DzKB8L6pYw@mail.gmail.com">8QpETm2cohaWA8DtpgwmFkOW<wbr>84QfCMQS-rn6DzKB8L6pYw@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
On Fri, Oct 14, 2016 at 4:59 PM, Priscilla_I <<a href="mailto:isacco.silvia@gmail.com">isacco.silvia@gmail.com</a>><br>
wrote:<br>
<br>
> I removed the old output and launched the command but now it gets this<br>
> error<br>
><br>
> ERROR: option <output>: <Silvia\out_Ghiandone_DEM_<wbr>outlet_coors.txt><br>
> exists. To overwrite, use the --overwrite flag<br>
><br>
<br>
Yes, this is the txt file that you have created with the previous run. You<br>
have to remove that as well before running r.basin again.<br>
<br>
<br>
--<br>
Margherita Di Leo<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/grass-user/attachments/20161014/431994e1/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>pipermail/grass-user/<wbr>attachments/20161014/431994e1/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 14 Oct 2016 15:19:37 -0300<br>
From: Diana Brito <<a href="mailto:dianisbrito2@gmail.com">dianisbrito2@gmail.com</a>><br>
To: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
Subject: [GRASS-user] v.rast.stats ERROR<br>
Message-ID:<br>
        <CAJE1VPs57iFG0c0KH=<a href="mailto:cS52km_9XH3ovoDfw4603iLe47LnVEBw@mail.gmail.com">cS52km_<wbr>9XH3ovoDfw4603iLe47LnVEBw@<wbr>mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
HI LIST!<br>
<br>
I have a five years  time serie of NDVI, and i need to obtain the average<br>
value of some polygons in a vector shape named "buffer_xime4", Im trying to<br>
use v.rast.stats into a for cicle as follows:<br>
<br>
contador=1<br>
for map in `g.list rast pat=MOD13*A2010*NDVI`<br>
do<br>
v.rast.stats -c map=buffer_xime4 raster=$map column_prefix=$contador<br>
method=average<br>
let contador=contador+1<br>
done<br>
<br>
But grass (GRASS GIS 7.0.4) returns this error.<br>
<br>
..............................<wbr>.....................<br>
..............................<wbr>......................<br>
<br>
RROR: Error mientras se ejecutaba: 'ALTER TABLE buffer_xime4 ADD COLUMN<br>
       1_average DOUBLE PRECISION'<br>
ERROR: Unable to add column <1_average DOUBLE PRECISION>.<br>
ERROR: Adding columns failed. Exiting.<br>
Preprocessing input data...<br>
DBMI-SQLite Error del manejador:<br>
Error en sqlite3_prepare():<br>
unrecognized token: "2_average"<br>
<br>
DBMI-SQLite Error del manejador:<br>
Error en sqlite3_prepare():<br>
unrecognized token: "2_average"<br>
RROR: Error mientras se ejecutaba: 'ALTER TABLE buffer_xime4 ADD COLUMN<br>
       1_average DOUBLE PRECISION'<br>
ERROR: Unable to add column <1_average DOUBLE PRECISION>.<br>
ERROR: Adding columns failed. Exiting.<br>
Preprocessing input data...<br>
DBMI-SQLite Error del manejador:<br>
Error en sqlite3_prepare():<br>
unrecognized token: "2_average"<br>
<br>
DBMI-SQLite Error del manejador:<br>
Error en sqlite3_prepare():<br>
unrecognized token: "2_average"<br>
..............................<wbr>....<br>
..............................<wbr>........<br>
..............................<wbr>........<br>
<br>
Could you please tell me what im doing wrong?<br>
<br>
thanks in advance.<br>
<br>
--<br>
Diana Marcela Brito Hoyos<br>
Bióloga<br>
<br>
"*El bosque sería muy triste si solo cantaran los pájaros que mejor lo<br>
hacen"*<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/grass-user/attachments/20161014/d056ffb5/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>pipermail/grass-user/<wbr>attachments/20161014/d056ffb5/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 14 Oct 2016 11:35:01 -0700 (MST)<br>
From: Helmut Kudrnovsky <<a href="mailto:hellik@web.de">hellik@web.de</a>><br>
To: <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
Subject: Re: [GRASS-user] v.rast.stats ERROR<br>
Message-ID: <<a href="mailto:1476470101779-5290777.post@n6.nabble.com">1476470101779-5290777.post@<wbr>n6.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
>ERROR: Unable to add column <1_average DOUBLE PRECISION>.<br>
>ERROR: Adding columns failed. Exiting.<br>
<br>
AFAIR in SQL column names starting with a number isn't allowed.<br>
<br>
So try to switch from 1_average to average_1 and so on.<br>
<br>
<br>
<br>
<br>
<br>
-----<br>
best regards<br>
Helmut<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/v-rast-stats-ERROR-tp5290775p5290777.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/v-rast-stats-ERROR-<wbr>tp5290775p5290777.html</a><br>
Sent from the Grass - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/grass-user</a><br>
<br>
------------------------------<br>
<br>
End of grass-user Digest, Vol 126, Issue 37<br>
******************************<wbr>*************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Diana Marcela Brito Hoyos<div>Bióloga</div><div><br></div><div><font size="1">"</font><i style="font-size:12.8000001907349px"><font size="1">El bosque sería muy triste si solo cantaran los pájaros que mejor lo hacen"</font></i></div></div></div></div></div>
</div>