From aefff0fe683d4a3b7f222f3b667a34185e37bb3f Mon Sep 17 00:00:00 2001 From: Alessandro Amici Date: Fri, 22 Jun 2018 12:34:27 +0200 Subject: Fix code style to PEP8. --- example-era5.py | 21 +++++++++++---------- 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", +) -- cgit v1.2.3