@@ -91,6 +91,7 @@ def preprocess(self):
91
91
#
92
92
# Use the default CDAWeb and pysat methods
93
93
94
+
94
95
# Set the list_files routine
95
96
datestr = '{year:04d}{month:02d}{day:02d}'
96
97
fname = 'reach-vid-{inst_id}_dosimeter-l1c_{datestr}_v{{version:01d}}.nc'
@@ -100,6 +101,16 @@ def preprocess(self):
100
101
supported_tags = supported_tags )
101
102
102
103
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
+
103
114
def load (fnames , tag = None , inst_id = None ):
104
115
"""Load REACH data into `pandas.DataFrame` and `pysat.Meta` objects.
105
116
@@ -160,13 +171,3 @@ def load(fnames, tag=None, inst_id=None):
160
171
meta .header = MetaHeader (new_header )
161
172
162
173
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