/data-access:blob-iofrom data-access
Load or save team data — Azure blob storage or the Postgres DB — the standard way (ocha-stratus, blob naming convention, rasters-vs-stats split), plus the semantics needed to read team tables correctly (valid_time vs issued_time, CRS, boundaries). Use whenever reading/writing parquet/CSV/COG/zarr from blob, querying dev/prod Postgres, or deciding where output data should live.
Ships in data-access. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Everything goes through ocha-stratus — never raw Azure SDK, never raw psycopg2.
import ocha_stratus as stratus
from src.constants import PROJECT_PREFIX
df = stratus.load_parquet_from_blob(
f"{PROJECT_PREFIX}/processed/seas5/2024-03_tercile_probs.parquet"
)
{PROJECT_PREFIX}/{raw|processed}/{datasource}/{filename} — raw/ for
untouched source data, processed/ for anything derived; datasource matches the
source name (chirps, seas5, ibtracs, …); filenames descriptive, with
date/version where applicable.PROJECT_PREFIX from src.constants — never inline the string.engine = stratus.get_engine() # stage/mode per the stratus docs
dsci host secrets). From a laptop, open the Databricks SSH tunnel
(internal KB infrastructure/local-db-access.md) and point stratus at it with
DSCI_AZ_DB_{DEV,PROD}_HOST=127.0.0.1:<tunnel port>. GitHub Actions cannot reach
them: do the database step on Databricks and hand data to the workflow through blob.
A timeout means no network path, not bad credentials. No PGSSLMODE needed.engine.connect() need an explicit conn.commit().valid_time = when the observation/forecast is FOR; issued_time = when it was
published. Issued month + leadtime = valid month. Mixing these up silently corrupts
any forecast-skill or trigger analysis.public.polygons (limited countries).infrastructure/db-schema.md (+ db-schema-dev.md).assets/<project>/ pages.infrastructure/libs/ocha-stratus.md.datasets skill in this plugin.What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub ocha-dap/ds-knowledge-base --plugin data-access