[GRASS-dev] [GRASS GIS] #1292: Profile tool incorrectly processes no data values

#1292: Profile tool incorrectly processes no data values
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: wxGUI | Version: 6.4.1 RCs
Keywords: | Platform: MSWindows Vista
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
To reproduce error, just create a profile over empy part of map.

WinGRASS-6.4.1RC1-1 on Windows Vista

{{{
Traceback (most recent call last):
   File "C:\Program
Files\GRASS-64\etc\wxpython\gui_modules\mapdisp.py", line
1665, in Profile

self.profile.OnSelectRaster(None)
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/profile.py", line 241, in
OnSelectRaster
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/profile.py", line 468, in
OnCreateProfile
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/profile.py", line 490, in
DrawPlot
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
-msw-unicode\wx\lib\plot.py", line 283, in __init__
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
-msw-unicode\wx\lib\plot.py", line 124, in __init__
ValueError
:
invalid literal for float(): *
Traceback (most recent call last):
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/profile.py", line 241, in
OnSelectRaster
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/profile.py", line 468, in
OnCreateProfile
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/profile.py", line 490, in
DrawPlot
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
-msw-unicode\wx\lib\plot.py", line 283, in __init__
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
-msw-unicode\wx\lib\plot.py", line 124, in __init__
ValueError
:
invalid literal for float(): *
Traceback (most recent call last):
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/profile.py", line 468, in
OnCreateProfile
   File "c:/osgeo4w/usr/src/grass-6.4.1RC1/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/profile.py", line 523, in
DrawPlot
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
-msw-unicode\wx\lib\plot.py", line 986, in Draw
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
-msw-unicode\wx\lib\plot.py", line 1012, in _Draw
   File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8
-msw-unicode\wx\lib\plot.py", line 388, in boundingBox
IndexError
:
list index out of range
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1292&gt;
GRASS GIS <http://grass.osgeo.org>

#1292: Profile tool incorrectly processes no data values
-------------------------------+--------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.1 RCs
Keywords: wingrass, profile | Platform: MSWindows Vista
      Cpu: Unspecified |
-------------------------------+--------------------------------------------
Changes (by hamish):

  * keywords: => wingrass, profile
  * milestone: 6.4.1 => 6.4.2

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1292#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1292: Profile tool incorrectly processes no data values
-------------------------------+--------------------------------------------
Reporter: marisn | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.1 RCs
Keywords: wingrass, profile | Platform: MSWindows Vista
      Cpu: Unspecified |
-------------------------------+--------------------------------------------
Changes (by neteler):

  * milestone: 6.4.2 => 6.4.3

Comment:

Some fixes have been applied 6 months ago:

http://trac.osgeo.org/grass/log/grass/branches/releasebranch_6_4/gui/wxpython/wxplot/profile.py

Does the problem persist?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1292#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1292: Profile tool incorrectly processes no data values
------------------------------+---------------------------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.1 RCs
Resolution: fixed | Keywords: wingrass, profile
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Changes (by annakrat):

  * status: new => closed
  * resolution: => fixed

Comment:

This problem is fixed so I close the ticket. However, I am not sure at all
that the null values are handled correctly but I am not able to specify
the problem now.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1292#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>