• Stars
    star
    223
  • Rank 178,458 (Top 4 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created almost 6 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python API to access the Copernicus Climate Data Store (CDS)

Install

Install via pip with:

$ pip install cdsapi

Configure

Get your user ID (UID) and API key from the CDS portal at the address https://cds.climate.copernicus.eu/user and write it into the configuration file, so it looks like:

$ cat ~/.cdsapirc
url: https://cds.climate.copernicus.eu/api/v2
key: <UID>:<API key>
verify: 0

Remember to agree to the Terms and Conditions of every dataset that you intend to download.

Test

Perform a small test retrieve of ERA5 data:

$ python
>>> import cdsapi
>>> cds = cdsapi.Client()
>>> cds.retrieve('reanalysis-era5-pressure-levels', {
           "variable": "temperature",
           "pressure_level": "1000",
           "product_type": "reanalysis",
           "date": "2017-12-01/2017-12-31",
           "time": "12:00",
           "format": "grib"
       }, 'download.grib')
>>>

License

Copyright 2018 - 2019 European Centre for Medium-Range Weather Forecasts (ECMWF)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

In applying this licence, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.

More Repositories

1

cfgrib

A Python interface to map GRIB files to the NetCDF Common Data Model following the CF Convention using ecCodes
Python
398
star
2

climetlab

Python package for easy access to weather and climate data
Python
373
star
3

notebook-examples

Example notebooks showing how to work with ECMWF services and data
Jupyter Notebook
192
star
4

eccodes

ECMWF's GRIB and BUFR decoding/encoding library
C++
183
star
5

ecmwf-opendata

A package to download ECMWF open data
Python
162
star
6

metview-python

Python interface to Metview meteorological workstation and batch system
Python
126
star
7

eccodes-python

Python interface to the ecCodes GRIB/BUFR decoder/encoder
Python
113
star
8

atlas

A library for numerical weather prediction and climate modelling
C++
110
star
9

ecmwf-api-client

Python API to access ECMWF archive
Python
66
star
10

thermofeel

thermofeel is a library to calculate human thermal comfort indexes
Python
65
star
11

magics

Plotting package to visualise meteorological data in GRIB, NetCDF, BUFR and ODB format.
Jupyter Notebook
56
star
12

earthkit-data

A format-agnostic Python interface for geospatial data
Python
53
star
13

magics-python

Python interface to Magics meteorological plotting package
Python
49
star
14

skinnywms

Lightweight WMS server for serving maps of netCDF and GRIB data
Python
47
star
15

earthkit

Python tools to work with weather and climate data
Python
40
star
16

ecflow

ECMWF's workflow manager
C++
40
star
17

infero

A lower-level API for Machine Learning inference in operations
C++
35
star
18

fckit

A Fortran toolkit for interoperating Fortran with C/C++
Python
29
star
19

polytope

A library for extracting polytope "features" from datacubes
Python
28
star
20

anemoi-datasets

Python
28
star
21

ecbuild

A CMake-based build system, consisting of a collection of CMake macros and functions that ease the managing of software build systems
CMake
26
star
22

fdb

Fdb is a domain-specific object store for meteorological objects
C++
24
star
23

pdbufr

High-level BUFR interface for ecCodes
Python
23
star
24

eckit

A C++ toolkit that supports development of tools and applications at ECMWF.
C++
23
star
25

anemoi-models

Python
21
star
26

ecpoint-calibrate

Interactive GUI (developed in Python) for calibration and conditional verification of numerical weather prediction model outputs.
JavaScript
21
star
27

caliver

caliver: CALIbration and VERification of gridded fire danger models
R
18
star
28

ecmwflibs

Python
15
star
29

anemoi-inference

Python
11
star
30

metview-docs

Source for Metview's documentation on readthedocs
10
star
31

magpye

Jupyter Notebook
10
star
32

ecPoint

Post-processing system that provides probabilistic forecasts at point scale.
10
star
33

troika

Python
10
star
34

anemoi-graphs

Python
10
star
35

anemoi-training

Python
9
star
36

aviso

Time-critical notification system designed to trigger users' workflows across HPC and Cloud systems
Python
9
star
37

earthkit-maps

Geospatial visulation tools and templates
Python
9
star
38

cfgrib.jl

Julia
8
star
39

mir

C++
8
star
40

pyflow

A high level Python interface to ecFlow allowing the creation of ecFlow suites in a modular and "pythonic" way
Jupyter Notebook
8
star
41

hda

API to harmonised data access for DIAS/WEkEO
Python
8
star
42

odc

Package to read/write ODB data
C++
8
star
43

anemoi-docs

7
star
44

multio

MultIO is a runtime-configurable multiplexer for Weather Model output of GRIB data
Fortran
7
star
45

multiurl

A package to download several URL as one, as well as supporting multi-part URLs.
Python
7
star
46

kronos

Kronos provides tools for analysing profiling information, model and generating portable HPC workloads
Python
7
star
47

spartacus-surface

Radiative transfer in forests and cities
Fortran
7
star
48

pyeccodes

EXPERIMENTAL - A pure Python GRIB decoder
Python
6
star
49

metkit

Toolkit for manipulating and describing meteorological objects, implementing the MARS language and associated processing and semantics.
C++
6
star
50

magics-test

Magics regression test suite
GLSL
6
star
51

pyodc

Python interface for ODC
Python
6
star
52

earthkit-meteo

Python
4
star
53

ecbundle

Bundle management tool for CMake projects
Python
4
star
54

anemoi-utils

Python
4
star
55

anemoi-registry

Python
4
star
56

jupyter-notebook

Jupyter Notebook image with ECMWF software installed
Dockerfile
3
star
57

covjsonkit

A library for encoding and decoding coverageJSON files/objects of meteorlogical features such as vertical profiles and time series.
Python
3
star
58

hat

Python
3
star
59

polytope-server

Python
3
star
60

ecmwf-data

A package to inspect and process ECMWF open data
Jupyter Notebook
3
star
61

ecflow-light

A light ecFlow UDP and HTTP client
C++
2
star
62

findlibs

Python
2
star
63

queueos

Python
2
star
64

atlas-orca

atlas-orca plugin for Atlas, providing support for ORCA grids and mesh generation
C++
2
star
65

pyfdb

Python
2
star
66

climetlab-demo-dataset

Python
1
star
67

atlas-docs

Documentation for Atlas package
Python
1
star
68

magics-styles

Style definitions for Magics plot package
1
star
69

earthkit-regrid

Python
1
star
70

ecquote

Python
1
star
71

homebrew-ecmwf

Homebrew packages for ECMWF software
Ruby
1
star
72

servicelib

A services framework for Python (EXPERIMENTAL!!)
Python
1
star
73

earthkit-transforms

Python
1
star
74

earthkit-plots

Visualisation tools and templates designed for earth science data.
Python
1
star
75

ogc-gdc-usecase

A collection of scripts for access to test data for the OGC GeoDataCubes working group
Jupyter Notebook
1
star
76

pyflow-wellies

A set of tools to build consistent pyflow suites.
Python
1
star
77

earthkit-time

Date and time manipulation routines for the use of weather data
Python
1
star
78

conflator

Python
1
star
79

.github

Default issue and PR templates for ECMWF repos.
1
star