On 8 January 2016 at 17:21, Pietro wrote:
> Hi Luca,
>
Hi all,
>
> please replace the example with enumerate.
>
done in r67547 and r67548
> All the best
>
> Pietro
--
ciao
Luca
http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
Hi devs,
A friend found the following problem in the raster pygrass documentation [0]
>>> elev=RasterSegment('elevation_raster')
>>> elev.open()
>>> for row in elev[:5]: print(row[:3])
...
[ 1.77111459 1.78603125 1.79853868]
[ 1.76286662 1.78353381 1.79924631]
[ 1.74902475 1.77574825
Hi Luca,
On Fri, Jan 8, 2016 at 10:18 AM, Luca Delucchi wrote:
for irow in xrange(elev.rows):
> ...new[irow] = elev[irow] < 144
> ...
> Traceback (most recent call last):
> File "", line 1, in
> AttributeError: 'RasterSegment' object has no attribute 'rows'