Pulls in the PyPSA-Eur function for creating snapshots, which handles leap years (via the new function get_snapshots(...)). Current implementation is that leap year day (feb 29) will be dropped. Associated function calls throughout the workflow have been updated to always use this function. Creation of mulit-index snapshots has been updated to use this function and renamed to get_multiindex_snapshots(...)
Checklist
[ ] I tested my contribution locally and it seems to work fine.
[ ] Code and workflow changes are sufficiently documented.
[ ] Changed dependencies are added to envs/environment.yaml.
[ ] Changes in configuration options are added in all of config.default.yaml.
[ ] Changes in configuration options are also documented in doc/configtables/*.csv.
Closes #347, Closes #225
Changes proposed in this Pull Request
Pulls in the PyPSA-Eur function for creating snapshots, which handles leap years (via the new function
get_snapshots(...)
). Current implementation is that leap year day (feb 29) will be dropped. Associated function calls throughout the workflow have been updated to always use this function. Creation of mulit-index snapshots has been updated to use this function and renamed toget_multiindex_snapshots(...)
Checklist
envs/environment.yaml
.config.default.yaml
.doc/configtables/*.csv
.