Extends PVNet to support the USA#108
Open
prasanna1504 wants to merge 12 commits intoopenclimatefix:mainfrom
Open
Extends PVNet to support the USA#108prasanna1504 wants to merge 12 commits intoopenclimatefix:mainfrom
prasanna1504 wants to merge 12 commits intoopenclimatefix:mainfrom
Conversation
…port, and robust GRIB conversion. Add US configs and tests.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #108 +/- ##
==========================================
+ Coverage 45.72% 46.21% +0.48%
==========================================
Files 16 18 +2
Lines 1124 1413 +289
==========================================
+ Hits 514 653 +139
- Misses 610 760 +150 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
@siddharth7113 @jcamier @peterdudfield hey could you review this pr fixing #103 |
Contributor
Author
Summary of Changes1. New US Data PipelineA complete pipeline has been implemented to fetch, process, and store US solar generation data.
2. GFS (Weather) Updates
3. Verification & Testing
4. Documentation
Let me know if you have any questions or would like any changes! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull Request
Description
Extends PVNet to support the United States by adding data ingestion for U.S. solar generation (EIA API) and GFS weather data processing. Enables training/validation for U.S. regions using the same CLI as UK.
Key Changes:
fetch_eia_data.pyandcollect_eia_data.pyto fetch hourly solar generation by Balancing Authority (7 major ISOs: CAISO, ERCOT, PJM, MISO, NYISO, ISO-NE, SPP)--region usand--region globalgfs_us_data_config.yamlfor US-specific GFS settings--regionflag (defaults to "global" for backward compatibility)Fixes
Fixes #103
How Has This Been Tested?
Unit tests: Added
test_eia_fetcher.pyandtest_collect_eia.pycovering API client, data collection, pagination, and error handlingIntegration: Verified GFS download from NOAA S3, GRIB→Zarr conversion, CLI
--region usflag, and backward compatibilityCode quality: Formatted with
black, linted withruff, Google-style docstringsYes, I have tested this code
Yes, I have tested plotting changes (if data processing is affected)
Checklist