Waggle Plugin for the Vaisala WXT536 weather transmitter.
The Vaisala WXT536 is a multi-parameter weather sensor measures atmospheric temperatures, pressure, humdity, wind speed, wind direction, and precipitation. High quality atmospheric observations allow for understanding of the environmental conditions at the location of the instrument, and allow us to estimate transport of gas and particles through the atmosphere.
In combination with additional sensors attached to a CROCUS Level 1 Node, we are then able to evaluate the concentration of pollutants at the node, the transport of these pollutants into and out of the area of the node, and estimate removal of these pollutants from the atmosphere from preciptiation. Provides observations on meteorological conditions, including wind speed and direction, temperature, pressure, and precipitation estimate.
Determine Serial Port PySerial offers a handy toolist to list all serial ports currently in use. To determine the port for the instrument, run
python -m serial.tools.list_ports
Otherwise, check /tty/devUSB#
to see active ports. Default serial device is /tty/devUSB1
The default serial settings for the Vaisala WXT-536 are
- Baud Rate = 19200
- Data Bits = 8
- Parity = None
- Stop Bits = 1
Below is a sample of teh ASCII formatted data string transmitted from the instrument. The specific variables included within the string and their location are displayed at the end.
b'0R0,Dm=166D,Sm=4.9M,Ta=20.4C,Ua=64.9P,Pa=989.5H,Rc=13.84M,Th=25.4C,Vh=0.0#\r\n'
Similar to the Windsonic 2D Plugin a docker container will be setup via Makefile
- Build the Container
make build
- Deploy the Container in Background
make deploy
- Test the plugin
make run
import sage_data_client
df = sage_data_client.query(start="2023-04-10T12:00:00Z",
end="2023-04-10T15:00:00Z",
filter={
"plugin": "10.31.81.1:5000/local/waggle-wxt536",
"vsn": "W057",
"sensor": "vaisala-wxt536"
}
)
Check CROCUS Instrument Cookbooks for details examples.