Contenido

  1. turbulence.Sensor
  2. turbulence.Sensor.graph_AllVariables
  3. turbulence.Sensor.backup
  4. turbulence.Sensor.diff_lists
  5. turbulence.Sensor.heatmap_percent

turbulence.Sensor

class turbulence.Sensor(name = None, database = 'Processed', type_data = 'Flux', days = None, all_range = False, all_record = False, temp_resolution = None, type_v = 'rawdata')

Parameters:

Examples

Calling raw data from last 1 day ago and

Calling data in multiples dates

Calling data in a time range

Changing the resolution of data

Calculating anomalies with the data

turbulence.Sensor.graph_AllVariables

turbulence.Sensor.graph_AllVariables(show_figure = False)

Returns a bokeh object of the variables that the sensor measures, this object can be export to HTML. If the database is Flux, it also gives a graph of the turbulent flows

Parameters:

Examples

Generating interactive graphs for the variables processed in EddyPro. It is recommended not to use this function with the 'Raw' database since the temporal resolution is too high so the graphing process may hang, if it is necessary to use this database, modify the temporal resolution of the data using temp_resolution or type_v when generating the object Sensor

img

turbulence.Sensor.backup

turbulence.Sensor.backup(folder_backup, show_figure = False)

This function is only used in backup periods, for more information here. The files available for backup are analyzed based on:

Parameters:

Examples

backup

turbulence.Sensor.diff_lists

turbulence.Sensor.diff_lists(li1, li2)

Evaluate which elements of list 1 are not found in list 2

Parameters:

Returns:

Examples

turbulence.Sensor.heatmap_percent

turbulence.Sensor.heatmap_percent(data = None, style='Bokeh', fig_size = (14,7), colorbar=False, show_figure = False, save_fig=False)

Create an interactive heatmap using the bokeh library, displaying the sensor's data record, throughout the year.

Parameters:

Returns:

Examples

img


1 If you are a developer you can also find these graphs in this location on the GOMITA server