Updated pointers to current SAM files, updated column names, ... #80
Updated pointers to current SAM files, updated column names, ... #80wholmgren merged 3 commits intopvlib:masterfrom
Conversation
…d replace chars for equipment names [Issue 75]
|
I'm not too worried about the name changes since I doubt that anybody is accessing those columns directly. Is there any advantage to adding the ability to choose the data set? |
pvlib/pvsystem.py
Outdated
There was a problem hiding this comment.
What if we do something like elif 'inverter' in name or elif name in ['sandiainverter', 'cecinverter'] to cover both the old code and the expectations of new users?
There was a problem hiding this comment.
I'll add the latter.
There was a problem hiding this comment.
Personally I don't see much value in old versions, because if you are paying that close attention to the different module or inverter parameters, you would probably do better to have a local copy that you version yourself, and can specify directly as a file (and would have to update the column names to match, but that's not hard at this point).
There was a problem hiding this comment.
Ok, good points.
The doc string needs to be updated with something about how you can use either name and there is currently no difference between the two. I will merge after that.
|
Oh, and add your change and name to the 0.2.1 whatsnew file. |
Updated pointers to current SAM files, updated column names, ...
|
Thanks @jforbess! |
and added more replace chars for equipment names [Issue 75].
The calcparams_desoto and sapm functions won't work with the previous csv files, because Sandia changed some column names between CSVs, and the change is hardcoded. It seems worth forcing the upgrade, though.