[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [NASA POWER root-zone soil wetness](https://spiral.ai/integrations/opencode/nasa-power-root-zone-soil-wetness)

# How to Use NASA POWER root-zone soil wetness in opencode

Returns modeled root-zone soil wetness for the grid cell covering a location. Use it to examine changes in soil water conditions over a season; the underlying root-zone measure represents relative saturation in the top 100 centimeters.

|  |  |
| --- | --- |
| Model | NASA POWER root-zone soil wetness |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with NASA POWER root-zone soil wetness in opencode

- Use NASA POWER root-zone soil wetness for Toowoomba, Australia, at -27.56, 151.95, from September 1 through December 31, 2025. Add a wetness time-series chart to the project's crop report.
- Use NASA POWER root-zone soil wetness to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NASA POWER root-zone soil wetness and tell me what changed since last week.
- Check NASA POWER root-zone soil wetness and summarize what you find in three bullet points.
- Pull the newest data from NASA POWER root-zone soil wetness and give me the result as a table.

## How to set up NASA POWER root-zone soil wetness in opencode

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **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.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run NASA POWER root-zone soil wetness**: One request; the result comes back by polling or a webhook.

```bash
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/soil_moisture",
    "input": {
      "end": "<end>",
      "start": "<start>",
      "geometry": {}
    }
  }'
```

Then paste one of the prompts above: opencode finds NASA POWER root-zone soil wetness on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## NASA POWER root-zone soil wetness tools and prices

- [NASA POWER · Soil moisture](https://spiral.ai/tools/alexandria/power-larc-nasa-gov/weather-history/soil_moisture) (Alexandria): $0.00873 per call.

## What can you do with NASA POWER root-zone soil wetness 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.

### Review soil wetness after rainfall

Examine whether modeled root-zone wetness near Wagga Wagga, Australia, rose after rain and how long the change persisted. Pair the wetness series with daily precipitation, then compare the monthly context across seasons.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## NASA POWER root-zone soil wetness in other agents

- [Amp](https://spiral.ai/integrations/amp/nasa-power-root-zone-soil-wetness)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/nasa-power-root-zone-soil-wetness)
- [Claude](https://spiral.ai/integrations/claude-desktop/nasa-power-root-zone-soil-wetness)
- [Claude Code](https://spiral.ai/integrations/claude-code/nasa-power-root-zone-soil-wetness)
- [Cline](https://spiral.ai/integrations/cline/nasa-power-root-zone-soil-wetness)
- [Codex](https://spiral.ai/integrations/codex/nasa-power-root-zone-soil-wetness)
- [Cursor](https://spiral.ai/integrations/cursor/nasa-power-root-zone-soil-wetness)
- [Devin](https://spiral.ai/integrations/devin/nasa-power-root-zone-soil-wetness)
- [dots](https://spiral.ai/integrations/dots/nasa-power-root-zone-soil-wetness)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/nasa-power-root-zone-soil-wetness)
- [Gemini](https://spiral.ai/integrations/gemini/nasa-power-root-zone-soil-wetness)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/nasa-power-root-zone-soil-wetness)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/nasa-power-root-zone-soil-wetness)
- [goose](https://spiral.ai/integrations/goose/nasa-power-root-zone-soil-wetness)
- [Grok](https://spiral.ai/integrations/grok/nasa-power-root-zone-soil-wetness)
- [Grok Build](https://spiral.ai/integrations/grok-build/nasa-power-root-zone-soil-wetness)
- [Hermes](https://spiral.ai/integrations/hermes/nasa-power-root-zone-soil-wetness)
- [Instinct](https://spiral.ai/integrations/instinct/nasa-power-root-zone-soil-wetness)
- [Manus](https://spiral.ai/integrations/manus/nasa-power-root-zone-soil-wetness)
- [Muse](https://spiral.ai/integrations/muse/nasa-power-root-zone-soil-wetness)
- [Muse Code](https://spiral.ai/integrations/muse-code/nasa-power-root-zone-soil-wetness)
- [n8n](https://spiral.ai/integrations/n8n/nasa-power-root-zone-soil-wetness)
- [Notion](https://spiral.ai/integrations/notion/nasa-power-root-zone-soil-wetness)
- [OpenClaw](https://spiral.ai/integrations/openclaw/nasa-power-root-zone-soil-wetness)
- [Perplexity](https://spiral.ai/integrations/perplexity/nasa-power-root-zone-soil-wetness)
- [Raycast](https://spiral.ai/integrations/raycast/nasa-power-root-zone-soil-wetness)
- [VS Code](https://spiral.ai/integrations/vscode/nasa-power-root-zone-soil-wetness)
- [Windsurf](https://spiral.ai/integrations/windsurf/nasa-power-root-zone-soil-wetness)
- [Zapier](https://spiral.ai/integrations/zapier/nasa-power-root-zone-soil-wetness)

## More opencode guides

- [NASA POWER monthly weather history](https://spiral.ai/integrations/opencode/nasa-power-monthly-weather-history)
- [NASA POWER weather parameter catalog](https://spiral.ai/integrations/opencode/nasa-power-weather-parameter-catalog)
- [NASA POWER daily weather history](https://spiral.ai/integrations/opencode/nasa-power-daily-weather-history)
- [NIFC active fires near a location](https://spiral.ai/integrations/opencode/nifc-active-fires-near-a-location)
- [NASA POWER climate averages](https://spiral.ai/integrations/opencode/nasa-power-climate-averages)
- [NIFC fire perimeter history](https://spiral.ai/integrations/opencode/nifc-fire-perimeter-history)

## Questions about NASA POWER root-zone soil wetness in opencode

**Can opencode use NASA POWER root-zone soil wetness?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run NASA POWER root-zone soil wetness like any built-in tool.

**How much does NASA POWER root-zone soil wetness 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 root-zone soil wetness in opencode?**

No. Spiral runs NASA POWER root-zone soil wetness 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 root-zone soil wetness in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while NASA POWER root-zone soil wetness runs?**

NASA POWER root-zone soil wetness 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.

