Thanks Pietro !

On 16 September 2013 16:59, Pietro <peter.z...@gmail.com> wrote:

> Hi Yann,
>
> thank you for testing!
>
> On Mon, Sep 16, 2013 at 11:19 AM, Yann Chemin <yche...@gmail.com> wrote:
> > output = raster.RasterSegment(rainfall[t-1])
> > output.open('w','FCELL')
> > for row in range(nrows):
> >     for col in range(ncols):
> >         print "-> ", col, row
> >         output[col, row] = 0.0
> > output.close()
>
> ok, now should be fix (r57700).
>
> {{{
> >>> from grass.pygrass.raster import RasterSegment
> >>> yann = RasterSegment('yanntest')
> >>> yann.open('w', 'FCELL')
> >>> yann[0, 0] = 100.
> >>> yann[0, 0]
> 100.0
> }}}
>



-- 
----
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to