[GRASS-user] read null cell with python

Frank DAVID frank.david at geophom.fr
Fri May 31 13:56:36 PDT 2019


Hello,

I'm writing a script where i need to read rasters to get cells values. 
I'm using :

     a  =  garray.array()
     a.read(map)

It seems that null cells are read as 0.0 How to make the difference with 
zero ?

I'm using Grass 7.6.1 on Linux Debian9

Thanks for your help

Frank

-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190531/60ded63f/attachment.html>


More information about the grass-user mailing list