Skip to content

Commit 358accd

Browse files
committed
make test_atmosphere work with new solpos sig
1 parent ad7c990 commit 358accd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pvlib/test/test_atmosphere.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222

2323
times_localized = times.tz_localize(tus.tz)
2424

25-
ephem_data = solarposition.get_solarposition(times, tus)
25+
ephem_data = solarposition.get_solarposition(times_localized, tus.latitude,
26+
tus.longitude)
2627

2728

2829
# need to add physical tests instead of just functional tests

0 commit comments

Comments
 (0)