diff options
author | Alessandro Amici <a.amici@bopen.eu> | 2018-06-22 12:34:27 +0200 |
---|---|---|
committer | Alessandro Amici <a.amici@bopen.eu> | 2018-06-22 12:34:27 +0200 |
commit | aefff0fe683d4a3b7f222f3b667a34185e37bb3f (patch) | |
tree | b3fe9cdf0562bcdbf9a4039e6bb96a88bc9d1202 | |
parent | b613db25e9a45012e881da1fbd998eb248e6992e (diff) |
Fix code style to PEP8.
-rwxr-xr-x | example-era5.py | 21 | ||||
-rwxr-xr-x | example-glaciers.py | 16 |
2 files changed, 19 insertions, 18 deletions
diff --git a/example-era5.py b/example-era5.py index 38c3161..3e55a59 100755 --- a/example-era5.py +++ b/example-era5.py @@ -12,15 +12,16 @@ import cdsapi c = cdsapi.Client() -r = c.retrieve("reanalysis-era5-pressure-levels", - { - "variable": "temperature", - "pressure_level": "250", - "product_type": "reanalysis", - "date": "2017-12-01/2017-12-31", - "time": "12:00", - "format": "grib" - }) +r = c.retrieve( + "reanalysis-era5-pressure-levels", + { + "variable": "temperature", + "pressure_level": "250", + "product_type": "reanalysis", + "date": "2017-12-01/2017-12-31", + "time": "12:00", + "format": "grib", + }, +) r.download("dowload.grib") - diff --git a/example-glaciers.py b/example-glaciers.py index f14fa67..00f0709 100755 --- a/example-glaciers.py +++ b/example-glaciers.py @@ -10,13 +10,13 @@ import cdsapi - c = cdsapi.Client() - -c.retrieve("insitu-glaciers-elevation-mass", - { - "variable": "elevation_change", - "format": "tgz" - }, - "dowload.data") +c.retrieve( + "insitu-glaciers-elevation-mass", + { + "variable": "elevation_change", + "format": "tgz" + }, + "dowload.data", +) |