command
module
Version:
v0.0.0-...-aff43b9
Opens a new window with list of versions in this module.
Published: Nov 18, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
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. |
|
|
Click to show internal directories.
Click to hide internal directories.