Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 2.64 KB

README.md

File metadata and controls

66 lines (51 loc) · 2.64 KB

WXT536 Sampler

Waggle Plugin for the Vaisala WXT536 weather transmitter.

Science

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.

Usage

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

  1. Baud Rate = 19200
  2. Data Bits = 8
  3. Parity = None
  4. Stop Bits = 1

Data Sample

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'

Deployment

Similar to the Windsonic 2D Plugin a docker container will be setup via Makefile

  1. Build the Container
make build
  1. Deploy the Container in Background
make deploy
  1. Test the plugin
make run

Access the data

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.