sup3r.preprocessing.utilities.get_source_type

sup3r.preprocessing.utilities.get_source_type#

get_source_type(file_paths)[source]#

Get data source type

Parameters:

file_paths (list | str) – One or more paths to data files, can include a unix-style pat*tern

Returns:

source_type (str) – Either “h5” or “nc”