olm.loggers package¶
Submodules¶
olm.loggers.CampbellToolkit module¶
olm.loggers.CyclopsToolkit module¶
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.