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

pvlib / pvlib-python / 2948
96%

Build:
DEFAULT BRANCH: master
Ran 01 Mar 2020 03:30PM UTC
Jobs 4
Files 66
Run time 3min
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
2948

push

travis-ci

web-flow
add read pvgis tmy (#907)

* add read_pvgis_tmy

* for files downloaded from pvgis tool
* update tests, api, and docs
* allow commit .csv to pvlib/data

* update what's new with read_pvgis_tmy

* closes #880
* test import from api vs. full namespace path

* py35 no likey fstring in read_pvgis_tmy

* don't use is for string comparison, ditto
* state returns, add see also

* use str in json.load in read_pvgis

* test read_pvgis_tmy_json, don't use binary buffer

* try parse_epw in read_pvgis_tmy first

* since attribute error only occurs for str/path

* more comments, space between pvgis outputformats

* raise ValueError if unknown output format
* test if ValueError raised for bad output format

* trailing new line in pvgis.py

* use `pvgis_format` instead of confusing arg

- infer parser format from file extension for csv, epw, and json
- much more detailed docstring for `pvgis_format`
- update tests for inferring format from extensions as well as failing
 if basic output format or file buffer isn't explicit

* Apply pvgis suggestions from code review to docstring

thanks Cliff!

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

* wrap long lines in read pvgis docstring

* wordsmithing and formatting, hope it's okay
* don't need to index filename to get pvgis_format,
 just use rsplit(',', 1)[-1] to file extension

* use pathlib instead of rsplit in read_pvgis

- TypeError raised if filename is buffer, not ValueError

* python 3.5 has differnet messae for pathlib

- py>3.5: expected str, bytes or os.PathLike object
- py=3.5: argument should be a path or str object

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

8353 of 8849 relevant lines covered (94.39%)

3.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2948.1 (CONDA_ENV=py35-min) 01 Mar 2020 03:30PM UTC 0
73.85
Travis Job 2948.1
2 2948.2 (CONDA_ENV=py35) 01 Mar 2020 03:33PM UTC 0
94.07
Travis Job 2948.2
3 2948.3 (CONDA_ENV=py36 TASK="coverage" DEPLOY_ENV="true") 01 Mar 2020 03:33PM UTC 0
94.07
Travis Job 2948.3
4 2948.4 (CONDA_ENV=py37) 01 Mar 2020 03:33PM UTC 0
94.07
Travis Job 2948.4
Source Files on build 2948
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2948
  • d6b85c1f on github
  • Prev Build on master (#2946)
  • Next Build on master (#2956)
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