geocryology / geocryology/GeoCryoLabPy
Name handling for thermistors
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently, thermistors are arranged in a nice way and we can get the thermistor names based on the channel name as in the logDAQ script:
```python
def getChannelName(channel):
slot = channel / 100
k = channel % 100 + 20 * (slot - 1)
cable = 1 + (k-1) / 10
return "T17-S{}C{}-{}".format(str(slot), str(cable), str(k).zfill(3))
```
But if one of them were to break and we were to replace it with one of the spares, this nomenclature would break down. One possibility is to introduce a file where we keep track of which thermistor is in which channel (i.e. a 2-column csv) and then use it as a lookup table to get the names.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.