8000 update sam file base url · chriswolfrom/pvlib-python@cdd7ffc · GitHub
[go: up one dir, main page]

Skip to content

Commit cdd7ffc

Browse files
committed
update sam file base url
1 parent f1b36f2 commit cdd7ffc

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

docs/sphinx/source/whatsnew.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ What's New
66

77
These are new features and improvements of note in each release.
88

9+
.. include:: whatsnew/v0.3.2.txt
910
.. include:: whatsnew/v0.3.1.txt
1011
.. include:: whatsnew/v0.3.0.txt
1112
.. include:: whatsnew/v0.2.2.txt
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.. _whatsnew_0320:
2+
3+
v0.3.1 (May 3, 2016)
4+
-----------------------
5+
6+
This is a minor release from 0.3.1.
7+
We recommend that all users upgrade to this version.
8+
9+
Bug fixes
10+
~~~~~~~~~
11+
12+
* Updates the SAM file URL. (:issue:`152`)
13+
14+
15+
Contributors
16+
~~~~~~~~~~~~
17+
18+
* Will Holmgren

pvlib/pvsystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ def retrieve_sam(name=None, samfile=None):
940940

941941
if name is not None:
942942
name = name.lower()
943-
base_url = 'https://sam.nrel.gov/sites/sam.nrel.gov/files/'
943+
base_url = 'https://sam.nrel.gov/sites/default/files/'
944944
if name == 'cecmod':
945945
url = base_url + 'sam-library-cec-modules-2015-6-30.csv'
946946
elif name == 'sandiamod':

0 commit comments

Comments
 (0)
0