read null cell with python

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

read null cell with python



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

    a = garray.array()

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


grass-user mailing list
[hidden email]