seabirdfilehandler.bottlelogfile module

- class seabirdfilehandler.bottlelogfile.BottleLogFile(path_to_file, create_dataframe=False)[source]
Bases:
DataFile
Bottle Log file representation, that extracts the three different data types from the file: reset time and the table with bottle IDs and corresponding data ranges.
- data_whitespace_removal()[source]
Strips the input from whitespace characters, in this case especially newline characters.
- Return type:
the original data stripped off the whitespaces
- obtaining_reset_time()[source]
Reading reset time with small input check.
- Return type:
a datetime.datetime object of the device reset time
- create_list()[source]
Creates a list of usable data from the list specified in self.data. the list consists of: an array of ID’s representing the bottles, the date and time of the data sample and the lines of the cnv corresponding to the bottles
- Return type:
a list representing the bl files table information