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

pvlib / pvlib-python / 875 / 4
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 06 Feb 2017 10:41PM UTC
Files 30
Run time 2s
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

06 Feb 2017 10:36PM UTC coverage: 91.346%. First build
CONDA_ENV=py35

push

travis-ci

wholmgren
add linke turbidity formulas module to atmosphere (#278)

* add linke turbidity formulas module

* add kasten 1996 pyrheliometric formula for linke turbidity factor
* move atmosphere into package, just for fun, why not?
* make __init__ with same api as before

Signed-off-by: Mark Mikofski <mark.mikofski@sunpowercorp.com>

* ignore venv, sublime

* revert api changes from 6e9aaf0fc

* append linke_turb_forms.py to atmosphere.py
* rm -rf atmosphere/

Signed-off-by: Mark Mikofski <mark.mikofski@sunpowercorp.com>

* move demo to tests

* import xrange from six for python 3 compatibility
* fix pyrheliometric formula is from 1980

* fix docstring

* just use `range` instead of importing `six`
* change function to `kasten80_lt` to match `gueymard94_pw`
* start adding references

* test kaste96_lt against linke turbidity using tmy3 at 700nm

* add lots of references
* cite text quoted directly from Ineichen
* acknowledge Armel
* fix docstrings for numpydocs

* removing filters from kasten pyrhelometric formula

* refactor kasten96_lt api simpler

* remove alpha argument
* update docstring to explain that if molineaux method, then aod is
shape is only aod at 700[nm] but if bird-hulstrom, then aod should be
both aod380 and aod500
* add see also to angstrom_aod_at_lambda
* add warning for air mass or pwat out of range
* check for bird-hulstrom, raise type error if neither molineaux nor
* also simplify angstrom_aod_at_lambda() api, change aod to aod0,
change lambda0 to lambda1, and add lambda0, update docstring
* update test_atmosphere.test_kasten96_lt with new changes

* add angstrom_alpha() method in atmosphere to calculate alpha

* simplify kasten96_lt API

* separate arguments so their shapes don't change depending on method,
ie: before aod could be 1, 2, N, N x 1 or N x 2 depending on whether
Molineaux or Bird-Hulstrom were used, now, there are 3 separate args,
 aod700, aod380 and aod500.
* fix misspelling of Hulstrom, no "d", note several sources also make
 this error :(
* add new methods to api.rst
* add test_angstrom tests
* add raises value error test for bad method
* add lower() to compare only lower case of method name

* add new linke and angstrom functions to api.rst

* fix more hulstrom errors, no "d"
* fix typos in referecnes

* add doi to sphinx docs as extlink

* add 'doi': ('http://dx/doi.org/%s', 'DOI: ') to extlink in conf.py
* change doi links everywhere to use :doi:`doi number` instead of links

* make landscape happy and use r"""docstring with :math:`\alpha`"""

* instead of """docstring with :math:`\\alpha`
* add Co-Action publishing for original Tellus A DOI before moving to
 Taylor & Francis

* reformat long lines to make landscape happy :)

* use broadband AOD arg instead of methods

* change kasten96_lt AOD args to just a single arg called aod_bb for
broadband AOD
* remove "method" arg and if-then-else on method.lower() in
kasten96_lt()
* add note that according to Molineaux, aod at 700 nm is a good
approximation for broadband aod
* add new function bird_hulstrom80_aod_bb to atmosphere.py
* add it to api.rst
* add new test for bird_hulstrom80_aod_bb() to test_atmosphere.py
* update test_kasten96_lt() to use aod_bb
* use verbose names:
  - s/am/airmass_absolute/g
  - s/pwat/precipitable_water/g
* fix angstrom aod test to use more realistic values
* don't use brackets around units
* remove test for raises ValueError in test_kasten

* use hard coded test values instead of TMY3

* values span pwat range 0 - 5 cm, and airmass between 1 & 2.5 atm
* remove tmy3 file
* don't try Bird-Hulstrom, not necessary
* make pylint happy, isclose(a, b) a & b should be array or iterable

* remove unused imports

* fix test kasten

* fix assert np.isclose() should be scalar only
* super simplify test_kasten96_lt() to ranges of inputs and expected
outputs, don't need to compare to actual data, just test that method
is working nominally

* remove clearsky import from test_atmosphere

* add missing assert statements for tests

* update hulstrom expected value

* remove old melbourne-fl test data

4655 of 5096 relevant lines covered (91.35%)

0.91 hits per line

Source Files on job 875.4 (CONDA_ENV=py35)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 875
  • Travis Job 875.4
  • 9a120dd7 on github
  • Next Job for CONDA_ENV=py35 on master (#877.4)
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