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

pvlib / pvanalytics / 105
100%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2020 09:01PM UTC
Jobs 4
Files 23
Run time 18s
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
105

push

travis-ci

web-flow
Port detect_clipping from Solar Forecast Arbiter (#31)

* validator.detect_clipping is renamed to features.clipping_levels

In the future we will add different methods for detecting clipping. This naming
convention matches the convention in pvanalytics.quality as will as in
pvlib-python.

* simplify tests by removing pvlib dependency

Reimplements a simpler/pared down version of the tests from SFA using
a quadratic for data rather than generating GHI data using
pvlib.location.Location.get_clearsky(). Using pvlib to generate testing data 
significantly complicates our CI process because it requires libraries that
are not available on the GitHub runners (libhdf5).

* Add parameter defaults from SFA

* Add more complex tests for clipping

The idea is to test data that looks like the summed output of two
inverters where one inverter is experiencing clipping.

* Add clipping_levels to API documentation

Also adds attribution in licenses.rst

* Apply documentation changes suggested in code review

Co-Authored-By: Cliff Hansen <cwhanse@sandia.gov>

* Test data drops below the clipping level in the middle of clipping

This give two periods of clipping surrounding a period without
clipping.

* Docstring for 'quadratic' fixture matches index of returned series.

The quadratic describeds in the previous docstring is actually scaled
and shifted into the index of the series which is the integers [0, 59].

* Reindex quadratic test fixture so vertex falls at index 30

Previously the vertex was between 30 and 31, this change should make the fixture easier to work with going forward.

Co-authored-by: Cliff Hansen <cwhanse@sandia.gov>

352 of 352 relevant lines covered (100.0%)

4.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 105.1 14 Apr 2020 09:01PM UTC 0
100.0
Travis Job 105.1
2 105.2 14 Apr 2020 09:01PM UTC 0
100.0
Travis Job 105.2
3 105.3 14 Apr 2020 09:01PM UTC 0
100.0
Travis Job 105.3
4 105.4 14 Apr 2020 09:01PM UTC 0
100.0
Travis Job 105.4
Source Files on build 105
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #105
  • bb5013d8 on github
  • Prev Build on master (#81)
  • Next Build on master (#110)
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