[GRASS-user] NULL cells

Sandile Gumede akasandile at gmail.com
Thu Jul 22 03:55:00 EDT 2010


Hi
How do you remove null cells, I guess that is what's causing the problem.

r.to.vect complete.
GRASS 6.4.0svn (SRTMDEM):~ > r.univar rainfall 100%
total null and non-null cells: 12967201
total null cells: 7202

Of the non-null cells:
----------------------
n: 12959999
minimum: 0
maximum: 36
range: 36
mean: 4.99965
mean of absolute values: 4.99965
standard deviation: 9.57207
variance: 91.6246
variation coefficient: 191.455 %
sum: 64795464

GRASS 6.4.0svn (SRTMDEM):~ > v.rast.stats vect=catchments rast=rainfall
colprefix=precip
Processing data (16 categories)...
Updating the database ...
DBMI-DBF driver error:
SQL parser error: syntax error processing 'NULL'
in statement:
UPDATE catchments SET precip_cf_=-NULL WHERE cat=10728
Error in db_execute_immediate()

ERROR: Error while executing: 'UPDATE catchments SET precip_cf_=-NULL WHERE
       cat=10728'


-- 
Kind Regards
TS Gumede
CSIR, Meraka Institute
072 258 1650
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100722/3d41c6d5/attachment.html


More information about the grass-user mailing list