solar-calc-go

command module
v0.0.0-...-aff43b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 5 Imported by: 0

README

SolarCalc

Calculate solar rooftop potential using a post address

From the resulting json we can remove the following fields:

  • roofSegmentStats
  • solarPanelConfigs
  • solarPanels
  • financialAnalyses and feed the rest to an LLM model to predict the solar potential.

Usage

go build -o solarcalc

export GOOGLE_API_KEY=<your_google_api_key>
./solarcalc "1600 Amphitheatre Parkway, Mountain View, CA" > output.json

# remove solarPotential.roofSegmentStats, solarPotential.solarPanelConfigs, solarPotential.solarPanels:
cat output.json | jq 'del(.solarPotential.roofSegmentStats, .solarPotential.solarPanelConfigs, .solarPotential.solarPanels, .solarPotential.financialAnalyses)'

TODO:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
chromedp command
Command screenshot is a chromedp example demonstrating how to take a screenshot of a specific element and of the entire browser viewport.
Command screenshot is a chromedp example demonstrating how to take a screenshot of a specific element and of the entire browser viewport.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL