Opened 4 years ago

Closed 4 years ago

#2688 closed defect (fixed)

get_np_array() calls grass.script.array without importing the module

Reported by: lrntct Owned by: grass-dev@…
Priority: normal Milestone: 7.0.2
Component: Temporal Version: svn-trunk
Keywords: numpy Cc:
CPU: x86-64 Platform: Linux

Description

In space_time_datasets.py, the methods get_np_array() makes calls to garray, but the corresponding module is not imported, resulting in an error: "NameError?: global name 'garray' is not defined"

Attachments (1)

garray.patch (465 bytes) - added by lrntct 4 years ago.
proposed patch

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by lrntct

Attachment: garray.patch added

proposed patch

comment:1 Changed 4 years ago by martinl

Milestone: 6.4.6

comment:2 Changed 4 years ago by lrntct

Milestone: 6.4.67.0.2

Change milestone to 7.0.2 because it's about temporal framework.

comment:3 Changed 4 years ago by lrntct

Resolution: fixed
Status: newclosed

Fixed by mlennert in trunk(r66267) and releasebranch70 (r66268)

Note: See TracTickets for help on using tickets.