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

Allow GSP data to be optional #41

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Allow GSP data to be optional #41

merged 2 commits into from
Aug 30, 2024

Conversation

dfulu
Copy link
Member

@dfulu dfulu commented Aug 23, 2024

Allows the sampler to not use GSP data if the gsp_zarr_path is None or ""

Should make GSP mocking in openclimatefix/uk-pvnet-app#118 unnecessary

@dfulu dfulu requested a review from peterdudfield August 23, 2024 16:37
@peterdudfield
Copy link
Contributor

Code looks great, is it worth adding a test with no gsp config?

@peterdudfield peterdudfield merged commit 92d9718 into main Aug 30, 2024
3 checks passed
@peterdudfield peterdudfield deleted the optional_gsp branch August 30, 2024 15:14
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.

2 participants