make_filetime_index¶
-
nawdex_analysis.io.selector.make_filetime_index(varname, tobject, filepart='', subdirs=['meteosat', 'synsat', 'sim-toarad', 'gerb-like'])¶ The function generates an time index listing all filenames that contain selected time and variable name.
Parameters: - varname (str) – considered variable name
- tobject (datetime object) – selected time slot
- filepart (str) – a part of the filename given as substring to select only a subset of files
- subdirs (list of str, optional, default = ['meteosat', 'synsat', 'sim-toarad', 'gerb-like']) – list of subdirectories where file search is done
Returns: timefile_index – dictionary lists filenames depending on time slot
Return type: dict