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

GRASS GIS trac at osgeo.org
Mon Jan 8 05:54:52 PST 2018


#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:  Imagery      |    Version:  unspecified
Resolution:               |   Keywords:  i.atcorr
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by mmetz):

 Replying to [comment:20 sbl]:
 >
 > With the patch applied to clean and completely fresh svn checkout I get
 the following results (on UBUNTU 14.04):
 >
 > {{{
 > [...]
 >
 > i.atcorr -r input=B08 elevation=dem range=0,10000 output=test_atcorr
 rescale=0,10000 parameters=~/p6s.txt --v --o
 > (...)
 > Atmospheric correction...
 >  100%
 > Atmospheric correction complete.
 >
 > r.info -r test_atcorr
 > min=0.5415085
 > max=8514.146
 >
 > }}}

 I get on Fedora 27 slightly different results:

 {{{
 r.info -r test_atcorr
 min=0.5536021
 max=8514.16
 }}}

 The 6s code is still numerically unstable. The 27,159 lines of code in
 i.atcorr need to be reviewed ...

 This small patch makes sense and produces some visually reasonable output,
 therefore it could be applied to trunk and relbr74.

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



More information about the grass-dev mailing list