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

Config refactor #61

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Config refactor #61

wants to merge 14 commits into from

Conversation

AUdaltsova
Copy link
Contributor

Pull Request

Description

  • Created a base data source config with path, image pixel sizes, and time and dropout mixins.
  • Moved forecast and history minutes into time mixin fo easier validation.
  • Refactored to remove data source prefixes

Fixes #59

How Has This Been Tested?

ran the tests locally

  • Yes

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@AUdaltsova AUdaltsova requested review from dfulu and peterdudfield and removed request for dfulu September 27, 2024 17:25
@AUdaltsova
Copy link
Contributor Author

his should be merged after #45 is merged

AUdaltsova and others added 7 commits October 25, 2024 17:13
# Conflicts:
#	ocf_data_sampler/config/__init__.py
#	ocf_data_sampler/config/load.py
#	ocf_data_sampler/config/model.py
#	ocf_data_sampler/config/save.py
#	ocf_data_sampler/torch_datasets/pvnet_uk_regional.py
#	requirements.txt
#	tests/config/test_config.py
#	tests/test_data/configs/test_config.yaml
#	tests/torch_datasets/test_pvnet_uk_regional.py
@AUdaltsova AUdaltsova requested review from dfulu and removed request for peterdudfield October 25, 2024 17:03
@AUdaltsova
Copy link
Contributor Author

Interval start/end will ned to be added but other than that ready for review

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.

remove source prefixes from config parameters
1 participant