Skip to content

Commit c751ca0

Browse files
author
Matt Bertrand
committed
Flake8 fixes
1 parent a82157e commit c751ca0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dataqs/cmap/cmap.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
import shutil
66
from datetime import date
77
from ftplib import FTP
8-
8+
from time import sleep
99
from dateutil.relativedelta import relativedelta
1010
from dataqs.processor_base import GeoDataMosaicProcessor, GS_DATA_DIR, \
11-
GS_TMP_DIR
11+
GS_TMP_DIR, RSYNC_WAIT_TIME
1212
from dataqs.helpers import get_band_count, gdal_translate, \
1313
nc_convert, style_exists, cdo_fixlng
1414

@@ -135,7 +135,7 @@ def run(self):
135135
if dst_file.endswith('.tif'):
136136
shutil.move(os.path.join(self.tmp_dir, band_tif), dst_file)
137137
dst_files.append(dst_file)
138-
time.sleep(RSYNC_WAIT_TIME * 2)
138+
sleep(RSYNC_WAIT_TIME * 2)
139139
for dst_file in dst_files:
140140
self.post_geoserver(dst_file, self.layer_name, sleeptime=0)
141141

dataqs/worldclim/worldclim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class WorldClimProcessor(GeoDataProcessor):
8989
base_description = (
9090
"WorldClim data layers were generated through interpolation of average "
9191
"monthly climate data from weather stations on a 30 arc-second "
92-
"resolution grid (often referred to as "1 km2" resolution).\n\nMethods:"
92+
"resolution grid (often referred to as '1 km2' resolution).\n\nMethods:"
9393
" http://worldclim.org/methods1\n\nSource: http://worldclim.org/"
9494
"version1\n\nCitation: Hijmans, R.J., S.E. Cameron, J.L. Parra, P.G. "
9595
"Jones and A. Jarvis, 2005. Very high resolution interpolated climate "

0 commit comments

Comments
 (0)