diff options
author | Gard Spreemann <gspr@nonempty.org> | 2021-08-14 20:33:19 +0200 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2021-08-14 20:33:19 +0200 |
commit | 4e608966f4cd5ea995189f8a23e00e4154ddf2a9 (patch) | |
tree | 6ee9bae4145ff00c595f3635db027c8549a84f4d /example-glaciers.py | |
parent | b70a5361202307c26bac18d15453b5193a22f11c (diff) | |
parent | f3b94a9bc40f8d56b0d1ac8cc8bc84765509ef05 (diff) |
Merge tag '0.5.1' into debian/sid
Diffstat (limited to 'example-glaciers.py')
-rwxr-xr-x | example-glaciers.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/example-glaciers.py b/example-glaciers.py new file mode 100755 index 0000000..538f9f6 --- /dev/null +++ b/example-glaciers.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python + +# (C) Copyright 2018 ECMWF. +# +# This software is licensed under the terms of the Apache Licence Version 2.0 +# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. +# 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. + +import cdsapi + +c = cdsapi.Client() + +c.retrieve( + "insitu-glaciers-elevation-mass", + {"variable": "elevation_change", "format": "tgz"}, + "dowload.data", +) |