Skip to content

Add Geographic Visualization for Solar Forecasts#345

Open
Sharkyii wants to merge 4 commits intoopenclimatefix:mainfrom
Sharkyii:feat-visualizations
Open

Add Geographic Visualization for Solar Forecasts#345
Sharkyii wants to merge 4 commits intoopenclimatefix:mainfrom
Sharkyii:feat-visualizations

Conversation

@Sharkyii
Copy link

Pull Request

Description

Adds geographic visualization functionality to the evaluation pipeline. Generates elevation maps, PV forecast heatmaps, and overlay visualizations from evaluation results.

Key features:

  • Automatically downloads DEM data from NOAA if not present
  • Calculates geographic bounds from PV site locations
  • Uses inverse distance weighting for smooth heatmap interpolation
  • Creates three outputs: elevation map, PV heatmap, and combined overlay

Files changed:

  • Added quartz_solar_forecast/eval/visualize.py - Visualization functions
  • Modified quartz_solar_forecast/evaluation.py - Integrated into evaluation pipeline

How Has This Been Tested?

Tested with UK region PV sites:

  • Verified DEM file download and extraction
  • Confirmed elevation map generation with proper coastlines
  • Validated PV heatmap interpolation with site markers correctly positioned
  • Tested overlay blending functionality
  • Checked auto-calculated geographic bounds work correctly

Visual verification:

  • Yes - Generated maps show proper geographic alignment, smooth interpolation, and accurate site positioning

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

@Sharkyii
Copy link
Author

Fixes : #91

@Sharkyii
Copy link
Author

@peterdudfield could you please review it?

@Sharkyii Sharkyii mentioned this pull request Feb 19, 2026
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.

1 participant