Rasterio Windowed Raster Preprocessing Starter
SkillAI & modelsUse this skill to generate a tiny toy raster with Rasterio, extract a window, downsample it, and summarize the preprocessing result in compact JSON.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Rasterio Windowed Raster Preprocessing Starter skill
About this capability
A framework for discovering, compiling, and validating reusable skills for scientific agents.
What this skill tells your AI
The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/earth-climate-and-geospatial-science/rasterio-windowed-raster-preprocessing-starter/SKILL.md and read by ahel’s review.
Use this skill to generate a tiny toy raster with Rasterio, extract a window, downsample it, and summarize the preprocessing result in compact JSON.
What it does
- Creates a deterministic single-band GeoTIFF with a simple
EPSG:4326transform. - Reads a 2x2 window from the raster.
- Produces a 2x2 average-resampled version of the whole raster.
- Emits a compact JSON summary with bounds, means, and extracted values.
When to use it
- You need a local starter for raster preprocessing or remote-sensing data handling.
- You want a minimal example of
rasterio.open,Window, and average resampling. - You want a deterministic JSON artifact before moving on to larger raster pipelines.
Example
slurm/envs/geospatial/bin/python skills/earth-climate-and-geospatial-science/rasterio-windowed-raster-preprocessing-starter/scripts/run_rasterio_windowed_preprocessing.py \
--out scratch/geospatial/rasterio_preprocessing_summary.json
Verification
- Skill-local tests:
python3 -m unittest discover -s skills/earth-climate-and-geospatial-science/rasterio-windowed-raster-preprocessing-starter/tests -p 'test_*.py' - Expected summary:
window_values == [[6.0, 7.0], [10.0, 11.0]]
Signals
- GitHub stars
- 39
- Forks
- 5
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
rasterio-windowed-raster-preprocessing-starter- Source
- github.com/ma-compbio-lab/skillfoundry