From a3dfe78cea341ec975175bf45f9c474d487750eb Mon Sep 17 00:00:00 2001 From: zmoon Date: Mon, 7 Oct 2024 15:21:40 -0500 Subject: [PATCH] fmt --- monetio/sat/_omps_nadir_mm.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/monetio/sat/_omps_nadir_mm.py b/monetio/sat/_omps_nadir_mm.py index f9575382..9b35dfbb 100644 --- a/monetio/sat/_omps_nadir_mm.py +++ b/monetio/sat/_omps_nadir_mm.py @@ -23,12 +23,12 @@ def read_OMPS_nm(files): count += 1 else: data_array = xr.concat([data_array, data], "x") - else: # using local files - if isinstance(files,str): # expansion of filestring to list + else: # using local files + if isinstance(files, str): # expansion of filestring to list filelist = sorted(glob(files, recursive=False)) - else: # ensure provided filelist is sorted - filelist = sorted(files) # assume list - for filename in filelist: #extract data + else: # ensure provided filelist is sorted + filelist = sorted(files) # assume list + for filename in filelist: # extract data try: data = extract_OMPS_nm(filename) if count == 0: