Skip to content

Commit 4d627af

Browse files
committed
STY: fix blank lines
Fix PEP8 compliance for blank lines after functions.
1 parent be1bbe3 commit 4d627af

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

pysatNASA/instruments/reach_dosimeter.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def preprocess(self):
9191
#
9292
# Use the default CDAWeb and pysat methods
9393

94+
9495
# Set the list_files routine
9596
datestr = '{year:04d}{month:02d}{day:02d}'
9697
fname = 'reach-vid-{inst_id}_dosimeter-l1c_{datestr}_v{{version:01d}}.nc'
@@ -100,6 +101,16 @@ def preprocess(self):
100101
supported_tags=supported_tags)
101102

102103

104+
# Support download routine
105+
download_tags = {iid: {'': 'REACH-VID-{iid}_DOSIMETER-L1C'.format(iid=iid)}
106+
for iid in inst_ids.keys()}
107+
download = functools.partial(cdw.cdas_download, supported_tags=download_tags)
108+
109+
# Support listing files currently on CDAWeb
110+
list_remote_files = functools.partial(cdw.cdas_list_remote_files,
111+
supported_tags=download_tags)
112+
113+
103114
def load(fnames, tag=None, inst_id=None):
104115
"""Load REACH data into `pandas.DataFrame` and `pysat.Meta` objects.
105116
@@ -160,13 +171,3 @@ def load(fnames, tag=None, inst_id=None):
160171
meta.header = MetaHeader(new_header)
161172

162173
return data, meta
163-
164-
165-
# Support download routine
166-
download_tags = {iid: {'': 'REACH-VID-{iid}_DOSIMETER-L1C'.format(iid=iid)}
167-
for iid in inst_ids.keys()}
168-
download = functools.partial(cdw.cdas_download, supported_tags=download_tags)
169-
170-
# Support listing files currently on CDAWeb
171-
list_remote_files = functools.partial(cdw.cdas_list_remote_files,
172-
supported_tags=download_tags)

0 commit comments

Comments
 (0)