<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
On 06/04/2010 09:53 AM, Sandile Gumede wrote:
<blockquote
cite="mid:AANLkTikTwUGiQ3d6AKfkP1rZdXo2LiYAvJz4d5DRaVp5@mail.gmail.com"
type="cite">Hi<br>
<br>
When I'm running the command below I'm getting some errors, I pasted
them<br>
below<br>
v.rast.stats -ec vector=catchments raster=rainfall
colprefix=rain_cols percentile=90<br>
<br>
<div id=":u3" class="ii gt"> DBMI-DBF driver error: SQL parser
error: syntax error, unexpected NULL_VALUE<br>
processing 'NULL'<br>
in statement: UPDATE catchments SET rain_cols_=-NULL WHERE cat=1<br>
Error in db_execute_immediate<br>
ERROR: Error while executing: 'UPDATE catchments SET
rain_cols_=-NULL WHERE<br>
cat=1'</div>
<br clear="all">
</blockquote>
Hi Sandile<br>
Is there raindata for all the catchments? Do they cover the same region?<br>
i.e. maybe you can post the output of each of these:<br>
g.region -p<br>
v.info -g catchments<br>
r.info -g rainfall<br>
<br>
<blockquote
cite="mid:AANLkTikTwUGiQ3d6AKfkP1rZdXo2LiYAvJz4d5DRaVp5@mail.gmail.com"
type="cite"><br>
-- <br>
Kind Regards<br>
TS Gumede<br>
Student Researcher<br>
Meraka Institute, CSIR<br>
office : 012 841 2606<br>
mobile : 072 258 1650<br>
<br>
This mail was received via Mail-SeCure System.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
Arava Development Co. +972-52-3665918
<a class="moz-txt-link-freetext" href="http://www.surfaces.co.il">http://www.surfaces.co.il</a>
</pre>
</body>
</html>