Logo di Cds Download

Cds Download

Community
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).

Panoramica

Pubblicato dajinwx
Repositoryweather-data-skills
Nome della skillcds-download
Stelle
39
Fork
10
File inclusi
8
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 8

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da jinwx su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Cds Download in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/jinwx/weather-data-skills/tree/main/skills/cds-download
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Cds Download in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Cds Download non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Cds Download non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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).

Perché usare Cds Download su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Cds Download è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Cds Download in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/jinwx/weather-data-skills/tree/main/skills/cds-download. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Cds Download?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Cds Download?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Cds Download: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Cds Download è gratuita?

Sì. È pubblicata su GitHub da jinwx con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇