[GRASS-dev] [GRASS GIS] #3027: i.atcorr's create_iwave.py broken

GRASS GIS trac at osgeo.org
Wed Sep 7 14:29:10 PDT 2016


#3027: i.atcorr's create_iwave.py broken
----------------------+---------------------------------
  Reporter:  neteler  |      Owner:  grass-dev@…
      Type:  defect   |     Status:  new
  Priority:  normal   |  Milestone:  7.0.5
 Component:  Imagery  |    Version:  svn-releasebranch70
Resolution:           |   Keywords:  i.atcorr
       CPU:  x86-64   |   Platform:  All
----------------------+---------------------------------

Comment (by neteler):

 Using the latest patch I still get this error

 {{{
 python create_iwave.py sensors_csv/quickbird2.csv
  > Getting sensor name from csv file: quickbird2
  > Number of bands found: 5
 Traceback (most recent call last):
   File "create_iwave.py", line 281, in <module>
     main()
   File "create_iwave.py", line 267, in main
     write_cpp(bands, values, sensor, os.path.dirname(inputfile))
   File "create_iwave.py", line 185, in write_cpp
     fi, li = interpolate_band(values[:,[0,b+1]])
   File "create_iwave.py", line 119, in interpolate_band
     filter_f = f(np.arange(start, stop, step))
   File "/usr/lib64/python2.7/site-packages/scipy/interpolate/polyint.py",
 line 79, in __call__
     y = self._evaluate(x)
   File "/usr/lib64/python2.7/site-
 packages/scipy/interpolate/interpolate.py", line 497, in _evaluate
     out_of_bounds = self._check_bounds(x_new)
   File "/usr/lib64/python2.7/site-
 packages/scipy/interpolate/interpolate.py", line 527, in _check_bounds
     raise ValueError("A value in x_new is above the interpolation "
 ValueError: A value in x_new is above the interpolation range.
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3027#comment:10>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list