[GRASS-dev] [GRASS GIS] #1925: Inherited Verbosity level for grass array .write()

GRASS GIS trac at osgeo.org
Wed Apr 10 02:53:18 PDT 2013


#1925: Inherited Verbosity level for grass array .write()
-------------------------+--------------------------------------------------
 Reporter:  jradinger    |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Default      |     Version:  unspecified              
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 Hi,

 as already discussed in the GRASS dev mailing list
 [http://lists.osgeo.org/pipermail/grass-dev/2013-April/062902.html here] I
 recommend respectively would like to see e.g. the python function write()
 which is located
 [http://svn.osgeo.org/grass/grass/branches/develbranch_6/lib/python/array.py
 here] which writes an numpy array back into GRASS to behave like other
 GRASS modules concerning the inheriting of the verbosity level.

 At the moment the function sets verbose=TRUE and if the function is used
 in a script the verbosity level is not inherited. I suggest to remove that
 line (verbose=TRUE) which might be an relict since development times (see
 mailing list discussion) and allow the inheriting. This issue might also
 exist for r.in.bin (source: Hamish).

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



More information about the grass-dev mailing list