Skip to content

Commit cc6a962

Browse files
committed
Merge pull request #48 from alorenzo175/numba-spa
Python translation of NREL SPA code
2 parents a4a4df6 + 5cf27d2 commit cc6a962

File tree

11 files changed

+2137
-91
lines changed

11 files changed

+2137
-91
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ before_install:
2626
install:
2727
- echo "install"
2828
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy pandas=$PD_VERSION nose pytz ephem
29+
- test $PD_VERSION != 0.13.1 && conda install --yes "numba>=0.17" || echo "Not installing numba"
2930
- conda install --yes coverage
3031
- pip install coveralls
3132
- python setup.py install

docs/sphinx/source/whatsnew/v0.1.0.txt

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ New features
2424
* Library is Python 3.3 and 3.4 compatible
2525
* Add What's New section to docs (:issue:`10`)
2626
* Add PyEphem option to solar position calculations.
27+
* Add a Python translation of NREL's SPA algorithm.
2728
* ``irradiance.py`` has more AOI, projection, and irradiance sum and calculation functions
2829
* TMY data import has a ``coerce_year`` option
2930
* TMY data can be loaded from a url (:issue:`5`)

pvlib/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
from pvlib import tmy
1111
from pvlib import tracking
1212
from pvlib import pvsystem
13+
from pvlib import spa

0 commit comments

Comments
 (0)