byliz-ai

Data Sourcing — Data skill for Claude Code

Data community

For AgWise researchers and module developers (working in Python or R) who.

How to install Data Sourcing

This entry records only its repository, not the path inside it, so there is no exact command to give. Open byliz-ai/data_sourcing and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Data Sourcing does

For AgWise researchers and module developers (working in Python or R) who.

Alternatives in Data

  • Azure Cosmos DB Python — Cosmos DB development for Python 1.8k ★
  • Generate More Training Data — This command analyzes patterns in existing data files (CSV, JSONL) and generates additional synthetic training 201 ★
  • Anthropic Retrieval Demo — Lightweight demo using the Anthropic Python SDK to experiment with Claude's Search and Retrieval capabilities 191 ★

README

agwise-data — the AgWise data-sourcing module

**For AgWise researchers and module developers** (working in Python *or* R) who need analysis-ready climate, soil, terrain and remote-sensing inputs — **without reading the source code**. One call fetches, harmonizes, **quality-checks** and caches the data. The same data is downloaded **once** into a shared cache with agreed names and units (`PRCP` in mm/day, `CLAY` in %, …) and everyone reuses it afterwards.

**In one minute:**

from agwise_data import get_climate, extract_static_points, to_dssat
get_climate("PRCP", years=range(2015, 2025), country="Rwanda", freq="monthly")  # a cube
extract_static_points("trials.csv", ["CLAY", "PH", "SOC"])                      # a table
to_dssat("trials.csv", planting_date="2021-03-01", harvest_date="2021-07-31",
         out_dir="DSSAT", station_col="site")                                   # model files

(Temperature and radiation come from AgERA5, which needs a free Copernicus account. Soil, terrain and rainfall on CGLabs need none; see [Section 3](docs/credentials_setup.md).)

Same in R (`ad_get_climate(...)`) and on the command line (`agwise-data get ...`). See [what you get back](#15-what-you-get-back).

New here? Let an AI assistant set you up — and drive the module for you

The fastest way through **everything below** is to not do it by hand: use the **AI assistant you prefer** (Claude Code, OpenAI Codex, Gemini CLI, GitHub Copilot, Cursor, ChatGPT…) and ask in plain language. Tell it first to read **[AGENTS.md](AGENTS.md)**, the repo's guide for any AI. A terminal agent started on CGLabs in a folder you own runs the same public functions documented here and reports back. A browser chat writes the code and you run it. New teammates: start from the [onboarding guide](docs/onboarding.md).

Ask it to… Example prompt Covers
Install & verify *"Set me up to use agwise-data: register the shared env and run a first no-credential