[GRASS-SVN] r66420 - grass-addons/grass7/raster/r.subdayprecip.design
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 6 07:04:25 PDT 2015
Author: martinl
Date: 2015-10-06 07:04:24 -0700 (Tue, 06 Oct 2015)
New Revision: 66420
Modified:
grass-addons/grass7/raster/r.subdayprecip.design/r.subdayprecip.design.py
Log:
r.subdayprecip.design: element type 'raster' -> 'cell'
Modified: grass-addons/grass7/raster/r.subdayprecip.design/r.subdayprecip.design.py
===================================================================
--- grass-addons/grass7/raster/r.subdayprecip.design/r.subdayprecip.design.py 2015-10-06 12:43:45 UTC (rev 66419)
+++ grass-addons/grass7/raster/r.subdayprecip.design/r.subdayprecip.design.py 2015-10-06 14:04:24 UTC (rev 66420)
@@ -60,7 +60,7 @@
# extract multi values to points
for rast in opt['raster'].split(','):
# check valid rasters
- name = grass.find_file(rast, element='raster')['name']
+ name = grass.find_file(rast, element='cell')['name']
if not name:
grass.warning('Raster map <{}> not found. '
'Skipped.'.format(rast))
More information about the grass-commit
mailing list