How to Use NASA POWER climate averages in opencode
Returns monthly climate averages for temperature, precipitation, solar radiation, and other weather measures over a predefined reference period. Use it to put a recent season in context and identify departures from typical conditions.
Prompts to try with NASA POWER climate averages in opencode
Copy an example into opencode, or ask in your own words.
Use NASA POWER climate averages for Phoenix, Arizona, at 33.45, -112.07. Add a monthly solar radiation baseline chart to the project and label the returned reference period.
Use NASA POWER climate averages to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from NASA POWER climate averages and tell me what changed since last week.
Check NASA POWER climate averages and summarize what you find in three bullet points.
Pull the newest data from NASA POWER climate averages and give me the result as a table.
How to set up NASA POWER climate averages in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run NASA POWER climate averages
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "power-larc-nasa-gov/weather-history/climate_normals", "input": { "geometry": {} } }'
Then paste one of the prompts above: opencode finds NASA POWER climate averages on Spiral, shows the price and runs it.
NASA POWER climate averages providers and prices
Spiral runs NASA POWER climate averages through Alexandria. Open a card for today's price, with every fee included.
What can you do with NASA POWER climate averages in opencode?
Build a crop-weather report that combines NASA POWER's documented measures with the project's study locations. A coding agent can turn the results into tables and charts while preserving the difference between daily events, monthly history, climate averages, and modeled soil wetness.
Review a completed growing season
Build a season review for a point near Ames, Iowa. Select documented measures, examine daily heat and rainfall, compare monthly conditions across years, add the climate baseline, and describe root-zone wetness through the season.
Explain persistent dry conditions
Investigate a point near Fresno, California, using daily rainfall, monthly history, climate averages, and root-zone wetness. Check definitions and units before describing whether low rainfall coincided with sustained soil drying.
Compare crop sourcing regions
Prepare a weather context brief for representative points near Ribeirão Preto and Londrina, Brazil. Compare rainfall, heat, seasonal baselines, and root-zone wetness using consistently defined measures.
Prepare environmental inputs for crop research
Assemble documented weather inputs for a crop study near Toowoomba, Australia. Use daily records for event timing, monthly records for seasonal comparisons, climate averages for context, and root-zone wetness as an additional environmental measure.
Check solar resource seasonality
Compare monthly solar radiation near Phoenix, Arizona, across several years and against climate averages. Inspect daily values during unusually weak months and use the parameter definitions to keep the radiation measures and units consistent.
Add weather context to building energy analysis
Compare an existing building's energy records with temperature history near Chicago, Illinois. Use daily temperatures to examine particular periods, monthly history for seasonal comparisons, and climate averages to describe how unusual the weather was.
More on NASA POWER climate averages and opencode
Overview
NASA POWER climate averages in other agents
Questions about NASA POWER climate averages in opencode
Can opencode use NASA POWER climate averages?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run NASA POWER climate averages like any built-in tool.
How much does NASA POWER climate averages cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use NASA POWER climate averages in opencode?
No. Spiral runs NASA POWER climate averages on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up NASA POWER climate averages in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while NASA POWER climate averages runs?
NASA POWER climate averages runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
How much geographic detail does NASA POWER provide?
NASA POWER serves worldwide weather and solar data on source grids. NASA lists meteorology at 0.5 by 0.625 degrees and solar data at 1 by 1 degree, so a location query should not be interpreted as a measurement taken inside an individual field.
How recent is NASA POWER data?
NASA reports typical delays of two to three days for meteorological data and five to seven days for solar data. These are archive availability delays, so the latest weather and solar dates can differ.
How far back does the weather record go?
NASA documents daily coverage beginning January 1, 1981. The start date depends on the measure, so that date does not establish the history available for every solar or derived parameter.
Can historical values change?
Yes. NASA replaces recent meteorological products with improved climate-quality products within two to three months, so an earlier download and a later download can contain different values for the same dates.
Is every weather measure available at every time scale?
No. NASA explicitly states that parameter availability varies by community and temporal level, so availability in daily history does not establish availability in monthly history or climate averages.
Start using NASA POWER climate averages in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


