AROL compatibility
One of the objectives of obsinfo is to be compatible with the AROL instrumentation database.
AROL is a yaml-based instrumentation database which can be explored through the Yasmine application.
Its syntax is heavily based on version v0.106 of obsinfo.
Efforts are underway to make the syntax of the current version of obsinfo and of AROL be as close as possible.
However, since the philosophy is somewhat different, some discrepancies will be inevitable.
AROL builds a configuration out of user choices made with the Yasmine tool.
obsinfo lists all available configurations and lets the user choose using the
configuration fields (sensor_configuration, preamplifier_configuration,
datalogger_configuration) in a station or network information file.
The current effort is to make AROL yaml files readable by obsinfo. However, there are some outstanding issues:
AROL uses
unitsinstead oftransfer_function_typein Pole/Zero filters. Their value is directly translatable, via a table, to thetransfer_function_typeenumeration used by StationXML (see table below). Proposed solution: let AROL change names. If not possible, read the AROL file and change within the obsinfo application.
AROL unit |
obsinfo/StationXML equivalent |
“rad/s” |
“LAPLACE (RADIANS/SECOND)” |
“hz” |
“LAPLACE (HERTZ)” |
“z-transform” |
“DIGITAL (Z-TRANSFORM)” |
AROL specifies both
input_sample_rateandoutput_sample_ratefor all stages. obsinfo only specifies the input sample rate for the first stage in the whole instrument. It calculates all the other values out of decimation factors. This gives more flexibility to the definition of each individual stage in thestagesfield of an information file. Proposed solution: read the AROL file and ignore these fields within the obsinfo application.AROL specifies response stages thus:
response: decimation_info: correction: true stages:obsinfo simply specifies
stagesand thecorrectionattribute is specified at thedataloggerlevel, as it is the only place where it makes sense for the global instrument. Also,correctionis specified as either boolean in AROL or as a real number. In obsinfo a value ofNoneis equivalent to AROLFalseand a numeric value is equivalent to AROLTrue. Proposed solution: make obsinfo read the AROL file and interpret this attribute. If found in a response other than the datalogger, give a warning and ignore.