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

pvlib / pvlib-python / 2225 / 3
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2019 01:58PM UTC
Files 55
Run time 5s
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

01 Aug 2019 01:53PM UTC coverage: 93.091% (+0.06%) from 93.032%
CONDA_ENV=py36 TASK="coverage" DEPLOY_ENV="true"

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().

7182 of 7715 relevant lines covered (93.09%)

0.93 hits per line

Source Files on job 2225.3 (CONDA_ENV=py36 TASK="coverage" DEPLOY_ENV="true")
  • Tree
  • List 0
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1980
  • Travis Job 2225.3
  • 0be834c1 on github
  • Prev Job for CONDA_ENV=py36 TASK="coverage" DEPLOY_ENV="true" on master (#2208.3)
  • Next Job for CONDA_ENV=py36 TASK="coverage" DEPLOY_ENV="true" on master (#2237.3)
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