Skip to content
Snippets Groups Projects
Commit 62b7c23a authored by Felix Kleinert's avatar Felix Kleinert
Browse files

sort pathlist

parent f9d79d83
No related branches found
No related tags found
1 merge request!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
Pipeline #65193 passed
......@@ -140,8 +140,9 @@ class BaseWrfChemDataLoader:
self.common_file_starter) + '*' + day.strftime(
self.date_format_of_nc_file) + '*'
))[0])
logging.info(f"Reading file(s): {list(path_list)}")
return list(path_list)
path_list = sorted(list(path_list))
logging.info(f"Reading file(s): {path_list}")
return path_list
else:
raise ValueError(f"`start_time' and `end_time' must both be given or None.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment