Welcome to kis_tools’s documentation!¶
-
class
kis_tools.gris.GrisDay.
GrisDay
(directory)¶ class to represent a single day folder in the gris archive
- Args:
directory: target directory
Returns:
-
check_completeness
()¶ check for completeness of a day, includes checking of l1 data, l1s data, context_data, map_save_file, coord_save_file, location_preview
-
count
(pattern)¶ count files matching a certain pattern
- Args:
pattern: pattern to be concatenated with root path of day. accepts standard unix wildcards
- Returns:
number: number of files matching the given pattern (positive integer)
-
get_runs
()¶ construct GrisRun objects for each collection of files in level1_split folder
-
query
(attribute)¶ Get query attribute either from self or search constituents for that attribute Args:
attribute: name of attribute to query
- Returns:
res: value of given attribute if the current instance has the attribute, list of attributes for all constituents if there is no attribute in “self”
-
subfolder
(folder)¶ - Args:
folder: name of folder
Returns: