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

FrankD

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


_______________________________________________
grass-user mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-user