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

pvlib / pvlib-python / 2225
96%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2019 01:58PM UTC
Jobs 4
Files 55
Run time 2min
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
2225

push

travis-ci

cwhanse
fix rounding issue in linke turbidity lookup function (#755)

* Resolve merge conflicts.

The upstream what's new file had been updated.

* Copy whatsnew file from upstream.

* Remove unnecessary np.around().

Instead of rounding to one decimal place, then comparing to .5,
just compare to .55 right away which preserves the same behavior as
before. If you want to stay true to the comment on line 314, use
<= .5 in comparison instead as before, but still drop the np.around().

* Use <= .5 as comparisons in _linearly_scale.

* Correct previous commit, use <= .5.

* Update what's new file.

Closes #754

* Compare to 0.500001 for margin of error.

* Rename _linearly_scale -> _degrees_to_index, refactor.

This commit reduces inputs to just two, refactors some calculations, and mainly tries
to be much clearer with the documentation.

* Add test for clearsky._degrees_to_index().

Tests that an invalid value for the degree_type argument raises an error.

* Remove try/except/finally.

The exception that is being checked for here is already checked for in the
_degrees_to_index method, so there's no need to do the check again. So this
removes the except portion, and just keeps the try and finally parts.

* Update parameter type description.

* Fix linting errors.

* Fix typo.

* Give more detail in what's new description.

* Rename arg, use context manager, and add more tech. documentation.

* Add missing zero in documentation.

* Break up line so it's < 80 characters.

* Change arg type to float or int.

* Update argument name in test_degrees_to_index_1().

7209 of 7715 relevant lines covered (93.44%)

3.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2225.1 (CONDA_ENV=py35-min) 01 Aug 2019 01:58PM UTC 0
72.27
Travis Job 2225.1
2 2225.2 (CONDA_ENV=py35) 01 Aug 2019 02:00PM UTC 0
93.07
Travis Job 2225.2
3 2225.3 (CONDA_ENV=py36 TASK="coverage" DEPLOY_ENV="true") 01 Aug 2019 01:58PM UTC 0
93.09
Travis Job 2225.3
4 2225.4 (CONDA_ENV=py37) 01 Aug 2019 02:00PM UTC 0
93.07
Travis Job 2225.4
Source Files on build 2225
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2225
  • 0be834c1 on github
  • Prev Build on master (#2208)
  • Next Build on master (#2237)
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