[GRASS-SVN] r71866 - grass-addons/grass7/raster/r.subdayprecip.design
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 28 09:28:30 PST 2017
Author: martinl
Date: 2017-11-28 09:28:30 -0800 (Tue, 28 Nov 2017)
New Revision: 71866
Modified:
grass-addons/grass7/raster/r.subdayprecip.design/r.subdayprecip.design.py
Log:
r.subdayprecip.design: change NULL values to -1 for larger areas
Modified: grass-addons/grass7/raster/r.subdayprecip.design/r.subdayprecip.design.py
===================================================================
--- grass-addons/grass7/raster/r.subdayprecip.design/r.subdayprecip.design.py 2017-11-28 15:06:55 UTC (rev 71865)
+++ grass-addons/grass7/raster/r.subdayprecip.design/r.subdayprecip.design.py 2017-11-28 17:28:30 UTC (rev 71866)
@@ -209,7 +209,7 @@
if check_area_size:
Module('v.db.update', map=opt['map'],
- column=field_name, value='NULL',
+ column=field_name, value='-1',
where='{} > {}'.format(area_col_name, opt['area_size']))
# remove unused column
More information about the grass-commit
mailing list