Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pvlib/solarposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ def spa(time, location, raw_spa_output=False):

pvl_logger.debug('using built-in spa code to calculate solar position')

pvl_logger.warning('Using solarposition.spa is currently liscenced for ' \
'non-commercial purposes only, according to the NREL SPA' \
'documentation at http://www.nrel.gov/midc/spa/#agree')
time_utc = localize_to_utc(time, location)

spa_out = []
Expand Down