[GRASS-dev] [GRASS GIS] #3469: i.atcorr: Sentinel-2 support broken on some systems

GRASS GIS trac at osgeo.org
Fri Dec 22 01:43:47 PST 2017

#3469: i.atcorr: Sentinel-2 support broken on some systems
  Reporter:  sbl          |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.4.0
 Component:  Packaging    |    Version:  unspecified
Resolution:               |   Keywords:  i.atcorr
       CPU:  Unspecified  |   Platform:  Unspecified

Comment (by mlennert):

 Replying to [comment:12 sbl]:
 > Yes, thanks so much Markus!
 > With the patch i.atcorr gives now also numbers on Ubuntu 14.04:
 > {{{
 > min = 0  max = 8514
 > }}}
 > So results are identical to Moritz`s.
 > I noticed that although "rescale" option was set to be 0-10000, maximum
 output was 8514...\\

 This depends on your input data and your range parameter:

 r.info -r B08

 i.atcorr -r input=B08 elevation=dem range=83,7110 output=test_atcorr
 rescale=0,10000 parameters=BROL/STEFAN/p6s.txt --v --o

 r.info -r test_atcorr

 i.e. if you tell it to scale the input data range to 0,10000 it will do
 so, but if you tell it that the input range is 1,10000 then it will scale
 this range to 0,10000.

 Markus, could it be that you are using the original larger input image
 from the ML and not the smaller clip attached to this ticket ?

Ticket URL: <https://trac.osgeo.org/grass/ticket/3469#comment:15>
GRASS GIS <https://grass.osgeo.org>

More information about the grass-dev mailing list