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

pvlib / pvlib-python / 2946
96%

Build:
DEFAULT BRANCH: master
Ran 29 Feb 2020 11:44PM UTC
Jobs 4
Files 66
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
2946

push

travis-ci

web-flow
fix read_tmy3 with year coerced not monotonic, breaks soiling (#910)

* fix soiling_hsu for tmy not monotonic

* if tmy is coerced to year, then the last hour is in the same year,
 before the other timestamps, so timestamps are no monotonic
* closes #889
* add underscore to is_tmy
* add is_tmy to soiling_hsu
* add private _fix_tmy_monotonicity
* also fix reference footnote in first line of docstring,
 since used in api.rst, causes doc warning
* don't use mutable input args
* don't create pd.timedelta object every single time soiling_hsu() called
* always create soiling pd.Series for consistency and robust to future edits
* fix rain_index is not a tz-aware pd.DatetimeIndex series,
 so rename as rain_index_vals and use rainfall.index in Soiling
* add new test for gh889, check soiling ratio for 24 hours,
 and check timestamp of first and last hours, and last day

* update what's new with fix for TMY3 in soiling_hsu

* also change 1st line of kimber soiling docstring, to say calculates
 energy loss, not soiling ratio, since kimber is 1-hsu,
  they're opposite!

* move fix_tmy_monotonicity to tmy in iotools

* and remove it from losses, remove is_tmy args, and remove calls to
 fix tmy monotonicity
* test to make sure if coerced year, last record is Jan 1 of next year
* add fix_tmy3_coerce_year_monotonicity to iotools api
* revert changes to soiling_hsu, don't use private constants for
 rain accumulation period or deposition velocity
* update kimber soiling example in gallery
  - to use fix_tmy3_coerce_year_monotonicity
  - and not use conftest, instead build path
  - also better comments
* remove test for gh889 in test_losses
* apply fix to greensboro rain data fixture and remove is_tmy args from kimber tests
* add needs_pandas_0_22 to soiling_hsu tests to show that it is required,
 since requies_scipy masks the requirement

* fix path to data in kimber example

* add test for HSU soiling defaults for coverage
* ... (continued)

8271 of 8765 relevant lines covered (94.36%)

3.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2946.1 (CONDA_ENV=py35-min) 29 Feb 2020 11:44PM UTC 0
73.6
Travis Job 2946.1
2 2946.2 (CONDA_ENV=py35) 29 Feb 2020 11:46PM UTC 0
94.01
Travis Job 2946.2
3 2946.3 (CONDA_ENV=py36 TASK="coverage" DEPLOY_ENV="true") 29 Feb 2020 11:44PM UTC 0
94.03
Travis Job 2946.3
4 2946.4 (CONDA_ENV=py37) 29 Feb 2020 11:46PM UTC 0
94.01
Travis Job 2946.4
Source Files on build 2946
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2946
  • 113917b7 on github
  • Prev Build on master (#2933)
  • Next Build on master (#2948)
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