@@ -154,7 +154,7 @@ def usgs_multivariate(pat, outfile):
154154 _ = iter (series ) # Test that the variable is iterable
155155 except TypeError as te :
156156 _quarantine_file (fname )
157- logger .info (
157+ logger .warning (
158158 f"Quarantined { fname } in usgs_multi. Scan resulted in a non iterable object"
159159 )
160160 continue
@@ -260,7 +260,7 @@ def process_multivariate_usgs(fpath, pat=None, rescan=True):
260260 original_header = read_yaml_header (fn )
261261
262262 ts = read_ts (fn )
263- logger .info (
263+ logger .degug (
264264 f"Number of sublocation metadata entries for { station_id } { param } = { len (subdf )} "
265265 )
266266 vertical_non = [0 , 0 ] # for counting how many subloc are vertical or not
@@ -270,7 +270,7 @@ def process_multivariate_usgs(fpath, pat=None, rescan=True):
270270 # then if one left it is default and if many use the average
271271 for index , row in subdf .iterrows ():
272272 asubloc = row .asubloc [:]
273- logger .info (f"Isolating sublocation { asubloc [:]} " )
273+ logger .debug (f"Isolating sublocation { asubloc [:]} " )
274274 if asubloc [:] in ["lower" , "upper" , "upward" , "vertical" ]:
275275 # write out each sublocation as individual file
276276 selector = (
@@ -301,7 +301,7 @@ def process_multivariate_usgs(fpath, pat=None, rescan=True):
301301 newfpath = os .path .join (tmpdir .name , newfname_f ) ## todo: hardwire
302302 univariate .columns = ["value" ]
303303 univariate .name = "value"
304- logger .info (f"Writing to { newfpath } " )
304+ logger .debug (f"Writing to { newfpath } " )
305305 write_ts_csv (univariate , newfpath , original_header , chunk_years = True )
306306 vertical_non [0 ] = vertical_non [0 ] + 1
307307 ts = ts .drop ([selector ], axis = 1 )
@@ -317,7 +317,7 @@ def process_multivariate_usgs(fpath, pat=None, rescan=True):
317317 ts .columns = ["value" ]
318318 else :
319319
320- logger .info (
320+ logger .debug (
321321 f"Several sublocations for columns, averaging { fn } and labeling as value"
322322 )
323323 # Multivariate not collapsed, but we will add a 'value' column that aggregates and note this in metadata
0 commit comments