(v3.6.2) - EPW processing: Replace opyplus module by epw #450
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This update replaces the functionality provided by the
opyplus
library with the new library calledepw
.Opyplus
includes a lot more features beyond the processing of EPW files for climate data. Sinergym stopped using these additional features a while ago. Moreover,opyplus
has issues with warning messages in the latest versions of pandas.Therefore, we opted for a more minimalist and focused installation, precisely tailored to what Sinergym needs, using the
epw
library.It has been verified that variable changes are effective with the new library, ensuring that the tool functions exactly the same. Additionally, the documentation has been updated to include a list of energy variable names accessible through this library, as these names differ from those in
opyplus
.Types of changes
Checklist:
autopep8
second level aggressive.isort
.cd docs && make spelling && make html
pass (required if documentation has been updated.)pytest tests/ -vv
pass. (required).pytype -d import-error sinergym/
pass. (required)Changelog: