earthscopestraintools.bottle module

class earthscopestraintools.bottle.Bottle(filepath, fileobj=None)

Bases: object

get_datetime_timestamps()
get_seed_codes()
get_timestamps()
get_unix_ms_timestamps()
parse_filename()

Add info encoded within file name of bottle file from GTSM Logger to file metadata. hour and min may be None. All values are strings, even if they contain only digits.

read_data(print_it=False, timestamps=True)
read_header(print_it=False)