How simiyuwafulah/solar-access-scorer works
The product is a small command-line ETL and county-ranking pipeline. A user runs the scorer, which reads county reference data, obtains irradiance from NASA POWER or uses mock values, scores and ranks the available counties, then writes a CSV and prints a summary. Grid-access values are illustrative; the repository does not implement the documented future World Bank, database, or scheduling plans. The graph reflects the sampled runtime files and README; no unsampled source connections are assumed.
Main entry points: main.go Scorer Command · client.go NASA POWER Client · counties.go County Reference Data · scoring.go Weighted Scoring
Components 7
County Inputs
- County Reference Data
data/counties.go
Irradiance Integration
- NASA POWER Client
internal/nasapower/client.go
Scoring and Output
- Scorer Command
cmd/scorer/main.go - Weighted Scoring
internal/scoring/scoring.go - CSV and Console Results
cmd/scorer/main.go
Other components
- CLI User
- NASA POWER API
Connections 6
- CLI User → Scorer Command: runs
README.md - Scorer Command → County Reference Data: reads
cmd/scorer/main.go - Scorer Command → NASA POWER Client: fetches irradiance
cmd/scorer/main.go - NASA POWER Client → NASA POWER API: requests data
internal/nasapower/client.go - Scorer Command → Weighted Scoring: scores counties
cmd/scorer/main.go - Scorer Command → CSV and Console Results: writes and prints
cmd/scorer/main.go