diff options
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..976c8ca --- /dev/null +++ b/example-glaciers.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python + +import cdsapi +import logging + + +logging.basicConfig(level=logging.DEBUG, + format='%(asctime)s %(levelname)s %(message)s') + + +c = cdsapi.Client() + + +c.retrieve("insitu-glaciers-elevation-mass", + { + "variable": "elevation_change", + "format": "tgz" + }, + "dowload.data") |