olm.loggers package

Submodules

olm.loggers.CampbellToolkit module

olm.loggers.CampbellToolkit.read_dat(dat_file)[source]

Reads in data from a .dat file produced by Campbell’s data logging software.

Parameters:
dat_file : string

The name of the .dat file to read.

Returns:
df : pandas.DataFrame

DataFrame containing data from .dat file.

olm.loggers.CyclopsToolkit module

olm.loggers.CyclopsToolkit.read_cat(cat_file)[source]

Reads in data from a concatenated Cyclops file.

Parameters:
dat_file : string

The name of the Cat.txt file to read.

Returns:
df : pandas.DataFrame

DataFrame containing data from cat file.

olm.loggers.CyclopsToolkit.read_single(txt_file)[source]

Reads in data from a single non-concatenated Cyclops file.

Parameters:
txt_file : string

The name of the Cat.txt file to read.

Returns:
df : pandas.DataFrame

DataFrame containing data from cat file.

olm.loggers.HoboToolkit module

olm.loggers.HoboToolkit.read_hobo_csv(csv_file, all_columns=False)[source]

Reads data from a csv file exported from HOBOware.

Parameters:
csv_file : string

A string containing the file name of the csv file to be read.

all_columns : boolean (optional)

Determines whether to read in all columns or just ones that we search for and relabel (RH, DewPt, Abs Pres, Temp, Attached, Stopped, Connected, EOF, Cond High Range, Cond Low Range). Default = False

Returns:
df : pandas.DataFrame

DataFrame containing data from HOBO csv file.

olm.loggers.SchlumbergerCTDToolkit module

olm.loggers.SchlumbergerCTDToolkit.concatCTD(dflist, zero_shift=True, n_to_average=5, offset_list=[], offset_dates=[])[source]

Accepts a list of CTD DataFrames and concatenates them.

Parameters:
dflist : list

List of pandas.DataFrames to concatenate.

zero_shift : boolean

If set to True, the pressure values will be adjusted at the time of each join, assuming that flow depth before and after the join was equal. If set to False, no adjustment will be made in pressure values. This is useful when downloading the logger may have resulted in a slightly different position in the water column. (Default = True)

n_to_average : int

Number of data points to average before and after join in order to determine data offset value for pressure

offset_list : list

List of offsets to be applied manually to pressure data.

offset_dates : list

List of datetime strings corresponding to manual offsets.

Returns:
(concatenated : pandas.DataFrame, offset_list

A tuple is returned with the first item being a DataFrame object containing the concatenated data and the second item in the tuple being a DataFrame object containing offsets with datetimes of the offsets as an index.

olm.loggers.SchlumbergerCTDToolkit.readBaro(csvfile)[source]

Reads data from a CSV or MON file from a Schlumberger Baro Diver.

Parameters:
csv_file : string

A string containing the file name of the CSV or MON file to be read.

Returns:
df : pandas.DataFrame

DataFrame containing data from HOBO csv file.

olm.loggers.SchlumbergerCTDToolkit.readCTD(csvfile)[source]

Reads data from a CSV or MON file exported from a Schlumberger CTD Diver.

Parameters:
csv_file : string

A string containing the file name of the CSV or MON file to be read.

Returns:
df : pandas.DataFrame

DataFrame containing data from HOBO csv file.

olm.loggers.TruBluToolkit module

olm.loggers.TruBluToolkit.readTruBlu(csvfile)[source]

Reads data from a CSV file exported from a TruBlu logger.

Parameters:
csv_file : string

A string containing the file name of the CSV or MON file to be read.

Returns:
df : pandas.DataFrame

DataFrame containing data from a TruBlu csv file.

olm.loggers.WTWpHToolkit module

olm.loggers.WTWpHToolkit.euroParser(datestring)[source]

Date parser for European style dates separated by ‘.’ characters.

Parameters:
datestring : string

String containing Euro style date

Returns:
dateTime : datetime object
olm.loggers.WTWpHToolkit.readpH(csvfile)[source]

Reads data from a CSV file produced by WTW-pH data loggers.

Parameters:
csvfile : string

Name of the CSV file to be read.

Returns:
df : pandas.DataFrame

DataFrame object containing pH data.

olm.loggers.loggerScripts module

Module contents