Tutorials for single module and multiple row with irradiance distribu…#127
Tutorials for single module and multiple row with irradiance distribu…#127shirubana wants to merge 3 commits intoSunPower:masterfrom
Conversation
…tions Tutorials for single module and multiple row with irradiance distributions
|
@shirubana & @iansloop, looks like those long lines are just pep8 max line length violations. If you add stickler ci to pvmismatch, then the checks will fail, and you can enforce pep8 more easily. Another option might be to use black which I have no idea how to use. For questions on setting stickler, maybe ask @wholmgren or @cwhanse as they might be able to help. |
|
@iansloop sorry to commando this PR, but are you the new maintainer of PVMismatch? |
|
Do you have to indent jupyter journals too? @iansloop you seem to be looking at the raw jupyter code and not the jupyter journal itself maybe? Also the .py file was generated as a pair to the jupyter journal automatically. We can just delete it, unless @mikofski do you have any idea if it can be done auotomatically? |
No, Chetan suggested I practice PRs by reviewing this one |
I was looking at the raw code, I am unsure of best practice for jupyter and so you are most likely fine |
|
RdTools uses (will use?) nbsphinx to automatically integrate jupyter notebooks with sphinx docs, just FYI if you aren't familiar with that sphinx extension |
|
Hi @iansloop welcome aboard! Great to have to you! I worked at SunPower from 2010-2017 and overlapped with @chetan201 for a year.
A couple of suggestions:
|
|
@mikofski @shirubana I am trying to expand the pool of reviewers at SunPower to support this project as much as we can while we figure out the future of it. Thanks for your guidance to Ian. I will help him get started with Jupyter NB environment. |
fix repetition of module creation
iansloop
left a comment
There was a problem hiding this comment.
@chetan201 looks ready for you to review
|
@shirubana Yes, CSV would be better if it's just text data. Python pickles are finicky across python versions (even minor releases) |
replaced pickle with csv and updated journals
|
@chetan201 updated now |
| G=np.array([Gpoat]).transpose() | ||
| H = np.ones([1,cellsx]) | ||
| array_det = np.dot(G,H) | ||
| sns.heatmap(array_det, square = True) |
There was a problem hiding this comment.
@shirubana
Seaborn is currently not in the "requirements.txt". We can choose from these options.
1- Either add it as a dependency
2- make the change to Matplotlib's native matshow to show the same sort of heat map.
It may be preferred to keep the package with as few dependencies as possible but I'd leave it to your discretion.
|
@shirubana These contributions would really help them do the first touch model very quickly! Thanks once again for your PR. |
|
@shirubana |


…tions
Tutorials for single module and multiple row with irradiance distributions