[GRASS-SVN] r60770 - grass-addons/grass7/raster/r.lake.series
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 9 12:13:26 PDT 2014
Author: wenzeslaus
Date: 2014-06-09 12:13:26 -0700 (Mon, 09 Jun 2014)
New Revision: 60770
Modified:
grass-addons/grass7/raster/r.lake.series/r.lake.series.py
Log:
r.lake.series: correct for changes in r.lake interface (from r58688)
Modified: grass-addons/grass7/raster/r.lake.series/r.lake.series.py
===================================================================
--- grass-addons/grass7/raster/r.lake.series/r.lake.series.py 2014-06-09 16:39:38 UTC (rev 60769)
+++ grass-addons/grass7/raster/r.lake.series/r.lake.series.py 2014-06-09 19:13:26 UTC (rev 60770)
@@ -188,14 +188,14 @@
if seed_raster:
kwargs['seed'] = seed_raster
elif coordinates:
- kwargs['xy'] = coordinates
+ kwargs['coordinates'] = coordinates
if 'n' in flags:
flags += 'n'
for i, water_level in enumerate(water_levels):
return_code = gcore.run_command('r.lake', elevation=elevation,
lake=outputs[i],
- wl=water_level,
+ water_level=water_level,
overwrite=gcore.overwrite(), # TODO: really works? Its seems that hardcoding here False does not prevent overwriting.
**kwargs)
if return_code:
More information about the grass-commit
mailing list