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

robintw / Py6S / 26
77%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2018 09:37PM UTC
Jobs 3
Files 19
Run time 1min
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

pending completion
26

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!

3 of 3 new or added lines in 1 file covered. (100.0%)

1257 of 1579 relevant lines covered (79.61%)

2.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26.1 07 Aug 2018 09:38PM UTC 0
77.2
Travis Job 26.1
2 26.2 07 Aug 2018 09:38PM UTC 0
79.61
Travis Job 26.2
3 26.3 07 Aug 2018 09:37PM UTC 0
79.35
Travis Job 26.3
Source Files on build 26
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #26
  • b8b39248 on github
  • Prev Build on master (#21)
  • Next Build on master (#27)
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