[GRASS-user] garray.read() returns 0-filled array
Ken Mankoff
mankoff at gmail.com
Mon Apr 20 09:46:18 PDT 2020
Hello,
Replying to my earlier issues from one month ago:
On 2020-03-15 at 08:36 -07, Ken Mankoff <mankoff at gmail.com> wrote...
> foo = garray.array().read("foo", null=np.nan)
I have found I can read the GRASS array into Python with this syntax:
foo = garray.array(mapname="foo", null=np.nan)
I'm still waiting to upgrade GRASS to test Stefan's suggestion (later/elsewhere in this thread).
-k.
More information about the grass-user
mailing list