usgs-water-iv-fetch
Fetch USGS Water Services Instantaneous Values JSON for one bounding box or explicit site list, then return structured hydrology observations with site metadata, parameter codes, timestamps, qualifiers, and validation output. Use when tasks need deterministic station-based streamflow or gage-height evidence from USGS for flood, runoff, river, or water-level verification in the United States.
What this skill does
# USGS Water IV Fetch ## Core Goal - Fetch USGS Water Services `iv` data for one bounding box or explicit site list. - Keep the call atomic: one request, one structured JSON payload, no follow-up site-discovery chain required. - Return site metadata plus flattened time-series records that downstream normalization can map into hydrology observations. - Keep runtime deterministic with retries, throttling, response-size caps, and validation summaries. ## Repository Policy - This is the canonical USGS station-hydrology skill in this repository. - When eco-council or OpenClaw assigns a raw artifact path, write this skill's full JSON payload to that exact path with `--output`. - Do not treat dry-run output as collected evidence. ## Required Environment - Configure runtime by environment variables in `references/env.md`. - Start from `assets/config.example.env`. - Load env values before running commands: ```bash set -a source assets/config.example.env set +a ``` ## Workflow 1. Validate effective configuration. ```bash python3 scripts/usgs_water_iv_fetch.py check-config --pretty ``` 2. Dry-run the query plan first. ```bash python3 scripts/usgs_water_iv_fetch.py fetch \ --bbox=-77.3,38.8,-77.0,39.1 \ --period P1D \ --parameter-code 00060 \ --parameter-code 00065 \ --site-type ST \ --site-status active \ --dry-run \ --pretty ``` 3. Run one time-window fetch and write the payload. ```bash python3 scripts/usgs_water_iv_fetch.py fetch \ --bbox=-77.3,38.8,-77.0,39.1 \ --start-datetime 2026-03-21T00:00:00Z \ --end-datetime 2026-03-22T23:59:59Z \ --parameter-code 00060 \ --parameter-code 00065 \ --site-type ST \ --site-status active \ --output ./data/usgs-water-iv.json \ --pretty ``` 4. Optional explicit-site fetch when the mission already knows site numbers. ```bash python3 scripts/usgs_water_iv_fetch.py fetch \ --site 01646500 \ --site 01646000 \ --period P1D \ --parameter-code 00060 \ --parameter-code 00065 \ --output ./data/usgs-water-iv-sites.json \ --pretty ``` ## Output Record Shape Each item in `records` is one site-parameter-timestamp observation with fields: - `site_number`, `site_name`, `agency_code` - `site_type`, `state_code`, `county_code`, `huc_code` - `latitude`, `longitude` - `parameter_code`, `variable_name`, `variable_description`, `unit` - `observed_at_utc`, `value` - `qualifiers`, `provisional` - `source_query_url` ## Scope Boundaries - This skill targets the USGS Water Services `Instantaneous Values` endpoint only. - This skill does not infer flood thresholds, return periods, or policy meaning. - This skill does not geocode place names. - This skill does not need an API key. - This skill supports `file://` base URLs for deterministic local fixture testing. ## References - `references/env.md` - `references/usgs-water-iv-api-notes.md` - `references/usgs-water-iv-limitations.md` - `references/openclaw-chaining-templates.md` ## Script - `scripts/usgs_water_iv_fetch.py`
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.