[GRASS-user] garray.read() returns 0-filled array

Stefan Blumentrath Stefan.Blumentrath at nina.no
Tue Mar 17 02:46:31 PDT 2020

Hi Ken,

Thanks for volunteering to test.

This is how you can install grass-session from (my) git branch: 
pip3 install git+https://github.com/ninsbl/grass-session.git@grass_versions

If you are allowed to add a PPA to your system you could get GRASS 7.8 from UbuntuGIS PPA (even in the stable one):


-----Original Message-----
From: Ken Mankoff <mankoff at gmail.com> 
Sent: tirsdag 17. mars 2020 02:02
To: Stefan Blumentrath <Stefan.Blumentrath at nina.no>
Cc: GRASS user list <grass-user at lists.osgeo.org>
Subject: Re: [GRASS-user] garray.read() returns 0-filled array

Hi Stefan,

On 2020-03-16 at 07:01 -07, Stefan Blumentrath <Stefan.Blumentrath at nina.no> wrote...
> Hei Ken,
> With this PR:
> https://github.com/zarch/grass-session/pull/14
> applied, also pygrass modules should work as usual with grass-session.

Thank you for submitting that. It'll take me a while to get up and running with the git version as opposed to the pip version, but I will test it.

> GRASS GIS 7.8 should use Python 3, so I am surprised to see that your 
> $GRASS_PYTHON version is /usr/bin/python2.7 ... That is possibly also 
> a source for your trouble with garray...

I'm on an LTS OS - Ubuntu 18.04 and the default GRASS that comes with that: 7.4. I'm looking forward to 7.8 but haven't upgraded yet.


More information about the grass-user mailing list