Skip to content
Back to skills

Xarray Climate Cube Starter

ASecurity

Use this skill to build a deterministic toy climate cube with Xarray and summarize simple spatiotemporal statistics.

  • 38 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
ai-agentspythonbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill xarray-climate-cube-starter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xarray Climate Cube Starter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Xarray Climate Cube Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-xarray-climate-cube-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-xarray-climate-cube-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Xarray Climate Cube Starter

Use this skill to build a deterministic toy climate cube with Xarray and summarize simple spatiotemporal statistics.

## What it does

- Creates a monthly temperature cube with `time`, `lat`, and `lon` dimensions.
- Computes annual mean temperature, seasonal range, per-latitude means, and the hottest month.
- Returns compact JSON that is easy to reuse in downstream scientific-Python workflows.

## When to use it

- You need a local, no-auth starter for climate or environmental data handling.
- You want a minimal example of labeled multidimensional array operations with Xarray.

## Example

```bash
slurm/envs/scientific-python/bin/python skills/earth-climate-and-geospatial-science/xarray-climate-cube-starter/scripts/run_xarray_climate_cube.py \
  --out scratch/xarray/climate_cube_summary.json
```

## Verification

- Skill-local tests: `python3 -m unittest discover -s skills/earth-climate-and-geospatial-science/xarray-climate-cube-starter/tests -p 'test_*.py'`
- Repository smoke: `python3 -m unittest tests.smoke.test_frontier_domain_skills -v`

Files in this skill

  • SKILL.md1.1 KB
  • assets/README.md115 B
  • assets/toy_climate_cube_summary.json342 B
  • examples/README.md222 B
  • metadata.yaml1.1 KB
  • refs.md159 B
  • scripts/run_xarray_climate_cube.py2.8 KB
  • tests/README.md100 B
  • tests/test_run_xarray_climate_cube.py1.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…