bearing / dosenet

Code for the Berkeley RadWatch dosimeter network
https://radwatch.berkeley.edu/dosenet
4 stars 0 forks source link

`stations` SQL table to handle multi-sensor stations #126

Closed bplimley closed 7 years ago

bplimley commented 7 years ago

Currently, stations represents only the Pocket Geiger device. As we add D3S and others, we need to represent which sensors exist at a station, and which should be displayed.

  1. Add a new column, something like hardware
  2. New column as well as displayFlag represent each possible sensor, bit-wise (e.g. 1 means PocketGeiger only, 2 means D3S only, 3 means PocketGeiger + D3S, 4 is the 3rd sensor...)
  3. Add code to mysql_tools.py
bplimley commented 7 years ago

@alihanks did you do this already?