Waggle Sensor Plug-In for the uSonic-3 CLASS-A MP
The Sonic 3D provides observations of 3 wind components x, y, z and acoustic temperature T at sampling rate up to 50 Hz..
The Sonic utilzies an RS-485 serial connection to transmit data.
Therefore, to determine which port the instrument is plugged into, PySerial offers a handy toollist to list all serial ports currnetly in use.
python -m serial.tools.list_ports
The default serial settings for the RS-485 interface are:
- Baud Rate = 57600
- Data Bits = 8
- Parity = None
- Stop Bits = 1
Below is a sample of the ASCII formatted data string transmitted from the instrument. It is in the format status;x;y;z;T;vel;dir;vels;dirs
1B010000322000000300100000000000;-0.015;0.053;0.062;16.486;0.055;164.451;0.055;1
Similar to the Vaisala AQT530 plugin a docker container will be setup via Makefile
make build
make deploy
make run
import sage_data_client
df = sage_data_client.query(start="2023-07-09T00:00:00Z",
end="2023-07-09T01:00:00Z",
filter={
"plugin": "10.31.81.1:5000/local/waggle-sonic3d",
"vsn": "W039",
"sensor": "metek-sonic3D"
}
)
Check out a basic Cookbook for more details.