Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor NSRDBWeatherData #496

Merged
merged 5 commits into from May 20, 2024
Merged

Refactor NSRDBWeatherData #496

merged 5 commits into from May 20, 2024

Conversation

cdeline
Copy link
Contributor

@cdeline cdeline commented Nov 30, 2023

On the dev branch, refactor NSRDBWeatherData function to be a more general readWeatherData. This splits the existing readWeatherFile function into two parts - the first half for reading different weather files (TMY3, SAM, EPW, solarGIS) and putting it into a consistent format metadata dictionary and metdata DataFrame. Then the new readWeatherData function takes those inputs and does the parsing work. Now, NSRDB data can just be injected into the readWeatherData function without requiring any special function.

@shirubana
Copy link
Member

did this got finished to merge ?

@cdeline
Copy link
Contributor Author

cdeline commented May 20, 2024

Yes, this is functional and has pytests. We might want to consider demonstrating the functionality in a notebook or two, with the new function name readWeatherData

@cdeline cdeline merged commit 6b397b5 into development May 20, 2024
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants