Logo: Cds Download

Cds Download

Communautéit
jinwx
cds-download

Download climate/weather data from the Copernicus Climate Data Store (CDS) using the CDS API. Use this skill whenever the user wants to download ERA5, ERA5-Land, seasonal forecasts, or any other CDS dataset. Also use it when the user mentions CDS, Climate Data Store, ECMWF reanalysis, cdsapi, .cdsapirc, or asks about downloading climate/weather reanalysis data — even if they don't say "CDS" explicitly. Covers: writing efficient download scripts, choosing the right dataset, configuring API access, optimizing request splitting, and selecting data formats (NetCDF vs GRIB).

Iwwersiicht

Editeurjinwx
Repositoryweather-data-skills
Skill-Nummcds-download
Stären
39
Forks
10
Matgeliwwert Dateien
8
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 8 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    jinwx huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Cds Download an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/jinwx/weather-data-skills/tree/main/skills/cds-download
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jinwx/weather-data-skills.git /tmp/weather-data-skills
mkdir -p .claude/skills
cp -r /tmp/weather-data-skills/skills/cds-download .claude/skills/cds-download
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Cds Download an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Cds Download automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Cds Download net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

CDS Data Download Skill

This skill helps users download data from the Copernicus Climate Data Store (CDS) efficiently. It covers setup, dataset selection, and writing optimized Python download scripts.

Quick Orientation

The CDS (https://cds.climate.copernicus.eu) is the main portal for Copernicus climate data.

Reference files — read the relevant one when you need dataset-specific details:

  • references/api-setup.md — Account setup, .cdsapirc configuration, cdsapi installation. Read this when the user needs help getting started or has authentication issues.
  • references/era5.md — ERA5 and ERA5-Land datasets: identifiers, variables, storage types, efficiency strategies, and download script usage. Read this for any ERA5/ERA5-Land download task.
  • references/seasonal.md — Seasonal forecast datasets: identifiers, parameters, system versioning, efficiency strategies, and download script usage. Read this for seasonal prediction downloads.

A scripts/ directory contains reusable download scripts for ERA5 and seasonal forecasts — see the reference files for usage. These scripts cover the common ERA5/ERA5-Land and C3S seasonal forecast workflows. For other CDS datasets, unsupported parameter combinations, or custom post-processing, read the relevant script source as a reference and write a tailored script.

Workflow

When a user asks to download CDS data, follow this sequence:

1. Check Setup

Before writing any download script, confirm the user has CDS access configured:

  • Do they have a CDS account? If not, direct them to register at https://cds.climate.copernicus.eu
  • Is their .cdsapirc file configured? If unsure, read references/api-setup.md for the current format and walk them through it.
  • Is cdsapi installed (pip install "cdsapi>=0.7.7")? The version matters — older versions use incompatible syntax.

If the user seems experienced (they mention specific dataset names, already have scripts), skip the hand-holding and go straight to their request.

2. Identify the Right Dataset

If the user isn't sure which dataset they need, help them narrow it down. The CDS catalog (https://cds.climate.copernicus.eu/datasets) has hundreds of datasets organized by these dimensions:

Product type — What kind of data?

  • Reanalysis — Gridded historical reconstruction of the atmosphere/land/ocean. Best for "what actually happened" questions. (e.g., ERA5, ERA5-Land)
  • Seasonal forecasts — Multi-month predictions from coupled models. Best for "what is expected" questions.
  • Climate projections — Long-term future scenarios (CMIP-based).
  • Satellite observations — Remotely sensed measurements.
  • In-situ observations — Ground station and radiosonde data.
  • Derived reanalysis — Post-processed products like climate indicators, agrometeorological indices.

Variable domain — What part of the Earth system?

  • Atmosphere (surface / upper air / composition)
  • Land (physics / hydrology / biosphere / cryosphere)
  • Ocean (physics / biology / biochemistry)

Spatial coverage — Global or regional (Europe, Arctic, Antarctic)?

Temporal coverage — Past, present, or future?

Walk the user through these questions to narrow down the right dataset. If they already know the general category (e.g., "I need reanalysis surface temperature"), you can go straight to the reference file. If the search is open-ended, browse the CDS catalog together or fetch the catalog page to find matching datasets.

For datasets not covered by the reference files, go to https://cds.climate.copernicus.eu/datasets/<dataset-identifier> to check the dataset description and download form. The "Show API request code" button on the download form generates correct API syntax — use this as the authoritative source for variable names and parameter formats.

3. Write an Efficient Download Script

This is where most of the value lies. Read the relevant dataset reference file first — each one contains dataset-specific efficiency strategies. The optimal request structure varies significantly between datasets because they use different storage backends and archival layouts.

General principles that apply to all CDS downloads:

  • Use area to subset geographically when the user doesn't need global data
  • Use grid to request coarser resolution if full resolution isn't needed
  • Make scripts resumable — check if output files already exist before requesting
  • Put configuration at the top of the script so users can modify parameters without reading the download logic
  • Handle errors gracefully — wrap API calls in try/except so one failed request doesn't kill the whole batch
  • Never mix atmospheric, wave, and ensemble data in one NetCDF request (different grids cause conversion errors)

For dataset-specific efficiency (request splitting, parallelization, grouping strategies), always consult the reference file. What works for ERA5 (split by month) can be counterproductive for seasonal forecasts (combine into fewer, larger requests).

4. Format Choice: NetCDF vs GRIB

Help the user choose if they're unsure:

NetCDFGRIB
Best forAnalysis in Python (xarray), sharingOperational meteorology, WRF input
Ecosystemxarray, netCDF4, pandascfgrib, eccodes, wgrib2
File sizeLargerSmaller (packed)
ReadabilitySelf-describing, easy to inspectRequires specialized tools
CDS defaultNo (must specify)Yes

Default recommendation: NetCDF for most research users, GRIB for operational/NWP workflows. Note that some datasets (e.g., seasonal forecasts) work better in their native GRIB format — NetCDF conversion can be lossy or slow.

5. Verify Before Downloading

Before finalizing any script, verify key details. The CDS API will reject requests with invalid parameter names, so accuracy matters:

  • For seasonal forecasts — use the constraints API: System versions, temporal coverage, and product type availability vary greatly across centres. Always query the CDS constraints API to check what's available before writing a download script. See references/seasonal.md for details and code examples. This is far more reliable than hardcoding system versions.
  • For other datasets — check the download form: Go to the dataset page on CDS (e.g., https://cds.climate.copernicus.eu/datasets/<dataset-identifier>) and use the download form. The "Show API request code" button at the bottom generates correct, verified API syntax.
  • Check temporal coverage: Different datasets have different start dates.
  • Check available levels/variables: Available options vary by dataset.

Common Issues

  • Authentication errors: User likely has an outdated .cdsapirc or old cdsapi version. See references/api-setup.md.
  • Very slow downloads: Check the dataset's storage type. Read the relevant reference file for dataset-specific efficiency strategies.
  • Request failures: Often caused by invalid variable names or parameter combinations. Verify against the CDS download form's "Show API request code" button.
  • License errors: User needs to accept the dataset license on the CDS web interface (bottom of the download form) before API downloads work. This is a one-time step per dataset.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Cds Download?

Download climate/weather data from the Copernicus Climate Data Store (CDS) using the CDS API. Use this skill whenever the user wants to download ERA5, ERA5-Land, seasonal forecasts, or any other CDS dataset. Also use it when the user mentions CDS, Climate Data Store, ECMWF reanalysis, cdsapi, .cdsapirc, or asks about downloading climate/weather reanalysis data — even if they don't say "CDS" explicitly. Covers: writing efficient download scripts, choosing the right dataset, configuring API access, optimizing request splitting, and selecting data formats (NetCDF vs GRIB).

Firwat Cds Download op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Cds Download besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Cds Download an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/jinwx/weather-data-skills/tree/main/skills/cds-download an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Cds Download benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Cds Download benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Cds Download domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Cds Download gratis?

Jo. jinwx huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇