Update module and inverter files (#761) by Peque · Pull Request #767 · pvlib/pvlib-python · GitHub
Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions docs/sphinx/source/whatsnew/v0.7.0.rst
5,103 changes: 0 additions & 5,103 deletions pvlib/data/sam-library-cec-inverters-2018-3-18.csv

This file was deleted.

3,267 changes: 3,267 additions & 0 deletions pvlib/data/sam-library-cec-inverters-2019-03-05.csv

Large diffs are not rendered by default.

19,257 changes: 0 additions & 19,257 deletions pvlib/data/sam-library-cec-modules-2017-6-5.csv

This file was deleted.

21,538 changes: 21,538 additions & 0 deletions pvlib/data/sam-library-cec-modules-2019-03-05.csv

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pvlib/pvsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -1763,7 +1763,7 @@ def retrieve_sam(name=None, path=None):
os.path.dirname(os.path.abspath(__file__)), 'data')
if name == 'cecmod':
csvdata = os.path.join(
data_path, 'sam-library-cec-modules-2017-6-5.csv')
data_path, 'sam-library-cec-modules-2019-03-05.csv')
elif name == 'sandiamod':
csvdata = os.path.join(
data_path, 'sam-library-sandia-modules-2015-6-30.csv')
Expand All @@ -1773,7 +1773,7 @@ def retrieve_sam(name=None, path=None):
# Allowing either, to provide for old code,
# while aligning with current expectations
csvdata = os.path.join(
data_path, 'sam-library-cec-inverters-2018-3-18.csv')
data_path, 'sam-library-cec-inverters-2019-03-05.csv')
else:
raise ValueError('invalid name {}'.format(name))
elif path is not None:
Expand Down
10 changes: 8 additions & 2 deletions pvlib/test/test_pvsystem.py