[GRASS-dev] [GRASS GIS] #2688: get_np_array() calls grass.script.array without importing the module

GRASS GIS trac at osgeo.org
Mon Jun 8 11:26:58 PDT 2015


#2688: get_np_array() calls grass.script.array without importing the module
----------------------+-------------------------
 Reporter:  lrntct    |      Owner:  grass-dev@…
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  Temporal  |    Version:  svn-trunk
 Keywords:  numpy     |        CPU:  x86-64
 Platform:  Linux     |
----------------------+-------------------------
 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"

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2688>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list