hamsci_psws.grape1.GrapeNodes

class hamsci_psws.grape1.GrapeNodes(fpath='nodelist.csv', logged_nodes=None)[source]

Bases: object

__init__(fpath='nodelist.csv', logged_nodes=None)[source]

Create an object with information about known Grape1 nodes from a nodelist.csv.

fpath: path to nodelist.csv logged_nodes: list of nodes we have data for. This can be obtained from DataInventory.logged_nodes.

Methods

__init__([fpath, logged_nodes])

Create an object with information about known Grape1 nodes from a nodelist.csv.

plot_map([color, projection, width, height])

Use plotly to generate a map of Grape1 nodes.

status_table()

Returns the nodes_df data frame with nodes that we have data for highlighted in green.

update_status(logged_nodes)

Updates the nodes_df dataframe with with information regarding which nodes we have data from.

plot_map(color='Status', projection='albers usa', width=1200, height=900)[source]

Use plotly to generate a map of Grape1 nodes.

status_table()[source]

Returns the nodes_df data frame with nodes that we have data for highlighted in green.

update_status(logged_nodes)[source]

Updates the nodes_df dataframe with with information regarding which nodes we have data from.

logged_nodes: list of nodes we have data for. This can be obtained from DataInventory.logged_nodes.