helikite.instruments.smart_tether

  1. SmartTether -> LOG_20220929_A.csv (has pressure)

The SmartTether is a weather sonde. time res 2 seconds if lon lat recorded. 1 sec if not.

Important variables to keep: Time, Comment, P (mbar), T (deg C), RH (%), Wind (degrees), Wind (m/s), UTC Time, Latitude (deg), Longitude (deg)

!!! Date is not reported in the data, but only in the header (yes, it’s a pity) -> therefore, I wrote a function that to includes the date but it needs to change date if we pass midnight (not implemented yet).

Attributes

logger

smart_tether

Classes

SmartTether

Module Contents

helikite.instruments.smart_tether.logger
class helikite.instruments.smart_tether.SmartTether(*args, **kwargs)

Bases: helikite.instruments.base.Instrument

name = 'smart_tether'
date_extractor(first_lines_of_csv) datetime.datetime
file_identifier(first_lines_of_csv) bool
set_time_as_index(df: pandas.DataFrame) pandas.DataFrame

Set the DateTime as index of the dataframe and correct if needed

Using values in the time_offset variable, correct DateTime index

As the rows store only a time variable, a rollover at midnight is possible. This function checks for this and corrects the date if needed

data_corrections(df, *args, **kwargs)
read_data() pandas.DataFrame
helikite.instruments.smart_tether.smart_tether