• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

robintw / Py6S / 26 / 3
77%
master: 77%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2018 09:37PM UTC
Files 19
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2018 09:25PM UTC coverage: 79.354%. Remained the same
26.3

push

travis-ci

robintw
Fixed bug with the way that REFL_REPLACE and REFL_REPLACE_2 work for HeterogeneousLambertian

If the HeterogeneousLambertian GroundReflectance parameterisation is chosen, then two sets of reflectances need to be
written into the 6S input file. If these reflectances are arrays of wavelengths and reflectances (of the shape (n, 2))
then these need processing at a later stage once the wavelength information is known (which it isn't at the time that
the GroundReflectance class is instantiated). This is handled by putting two placeholder strings into the output string
from the GroundReflectance class: REFL_REPLACE and REFL_REPLACE_2. However, when replacing these strings (later on in
the process), we replaced REFL_REPLACE first, which overwrote REFL_REPLACE_2 because the string REFL_REPLACE is in both
of them. By simply reversing the order of replacing REFL_REPLACE and REFL_REPLACE_2 we sort this problem.

I really should add a test to allow the CI to check this is working!

1253 of 1579 relevant lines covered (79.35%)

0.79 hits per line

Source Files on job 26.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26
  • Travis Job 26.3
  • b8b39248 on github
  • Prev Job for on master (#21.3)
  • Next Job for on master (#27.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc