Skip to content
Snippets Groups Projects

Add inactive sensors to graph

Closed Jorge Prado requested to merge github/fork/RasmusOrsoe/load_inactive_sensors into main

Created by: RasmusOrsoe

This PR is a draft. It's a bit rough around the edges but outlines a method of adding inactive sensor modules to the graphs.

The general idea is to add abstract (backend specific implementations needed) methods to the Dataset class that queries geometry_tables for sensor_id's. In SQLite I've created a method that constructs geometry_table (look-up table for geometry) from pulsemap tables.

Right now, the _get_inactive_sensors will actually extract the active pulsemap on its own (and create the UID in the process). This means that every pulsemap will be extracted twice; a bit inefficient.

Let me know what you think of the general approach! I'll try to polish this up during the week.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading