Update all file readers with command line interface so we can run them as a subprocess. Added also registry.yaml to decouple code from user-based instrument adaptations or extensions.

This commit is contained in:
2025-02-24 17:27:12 +01:00
parent bb48cfa0cd
commit 92a2560ed7
7 changed files with 495 additions and 85 deletions

75
instruments/registry.yaml Normal file
View File

@ -0,0 +1,75 @@
instruments:
- instrumentFolderName: default
fileExtension: csv
fileReaderPath: instruments/readers/g5505_text_reader.py
InstrumentDictionaryPath: null
- instrumentFolderName: NEXAFS
fileExtension: h5
fileReaderPath: null
InstrumentDictionaryPath: null
- instrumentFolderName: SES
fileExtension: ibw
fileReaderPath: instruments/readers/xps_ibw_reader.py
InstrumentDictionaryPath: null
- instrumentFolderName: RGA
fileExtension: txt
fileReaderPath: instruments/readers/g5505_text_reader.py
InstrumentDictionaryPath: instruments/dictionaries/RGA.yaml
- instrumentFolderName: Pressure
fileExtension: dat
fileReaderPath: instruments/readers/g5505_text_reader.py
InstrumentDictionaryPath: instruments/dictionaries/Pressure.yaml
- instrumentFolderName: Humidity_Sensors
fileExtension: dat
fileReaderPath: instruments/readers/g5505_text_reader.py
InstrumentDictionaryPath: instruments/dictionaries/Humidity_Sensors.yaml
- instrumentFolderName: ICAD
fileExtension: dat
fileReaderPath: instruments/readers/g5505_text_reader.py
InstrumentDictionaryPath: instruments/dictionaries/ICAD.yaml
- instrumentFolderName: Lopap
fileExtension: dat
fileReaderPath: instruments/readers/g5505_text_reader.py
InstrumentDictionaryPath: instruments/dictionaries/Lopap.yaml
- instrumentFolderName: T200_NOx
fileExtension: dat
fileReaderPath: instruments/readers/g5505_text_reader.py
InstrumentDictionaryPath: instruments/dictionaries/T200_NOx.yaml
- instrumentFolderName: T360U_CO2
fileExtension: dat
fileReaderPath: instruments/readers/g5505_text_reader.py
InstrumentDictionaryPath: instruments/dictionaries/T360U_CO2.yaml
- instrumentFolderName: htof
fileExtension: h5
fileReaderPath: null
InstrumentDictionaryPath: null
- instrumentFolderName: smps
fileExtension: txt
fileReaderPath: instruments/readers/g5505_text_reader.py
InstrumentDictionaryPath: instruments/dictionaries/smps.yaml
- instrumentFolderName: gas
fileExtension: txt
fileReaderPath: instruments/readers/g5505_text_reader.py
InstrumentDictionaryPath: instruments/dictionaries/gas.yaml
- instrumentFolderName: ACSM_TOFWARE
fileExtension: txt
fileReaderPath: instruments/readers/acsm_tofware_reader.py
InstrumentDictionaryPath: instruments/dictionaries/ACSM_TOFWARE.yaml
- instrumentFolderName: ACSM_TOFWARE
fileExtension: csv
fileReaderPath: instruments/readers/acsm_tofware_reader.py
InstrumentDictionaryPath: instruments/dictionaries/ACSM_TOFWARE.yaml