hpwren
ANR/HPWREN News

March 24, 2011

Experimental real-time Google Earth visualizations of SDG&E and HPWREN meteorological sensor data focuses on Santa Ana conditions

Visualizing meteorological data is a much more complex problem than it seems at first, specially if many metrics, many sensor stations, and many interpretation objectives are to be considered. To reduce complexity, while focusing on the real Santa Ana threat, the visualizations described here only focus on wind speeds and wind directions typical to such Santa Ana conditions, and a subset of metrics used at http://hpwren.ucsd.edu/news/041106.html.

Some notes:

  • It may be advantageous to tilt the Google Earth image (shift key + mouse) to get a preferred perspective.
  • The 2000 meter elevation for the ground plate was chosen to be roughly at the highest mountain elevation in San Diego county (2000*3.28=6562 feet).
  • The block/tower colorings reflect the Santa Ana based direction of the wind, extending to red for 60 degrees, and blue for the inverse direction (240 degrees).
  • The block/tower elevations reflect the wind speed in miles per hour times 1000 meters, plus 2000 meters for the ground plate.

    This visualization shows real time data in a combination of SDG&E sensors that are updated every ten minutes, and ANR/HPWREN sensors that are updated every ten seconds. The ANR/HPWREN sensors deliver wind data once per second and average it across ten seconds, in order to create a compromise between high temporal data resolution and excessive hard disk use on the server.

    Clicking on top of a block shows a display of the actual data and a timestamp of when the data was received.



    The following KML objects create multi-megabyte output files, based on archived data to be sent to the (likely) Google Earth application. Note the time series animation option in the upper left of the Google Earth screen; clicking the "wrench" allows for changing thing like animation speed an looping.

    This pointer leads to a web page which allows for selecting a specific date to display a time series of wind data from HPWREN sensors at high temporal resolution (10 seconds).



    The archived data Google Earth interface shown in the graphic provides animatable access to specific dates for the many SDG&E sensors in San Diego county.

    A "current data" text interface is available in table form.



    Some technical details

    Key to this sensor system framework is an ability to multicast real-time raw and processed data, which immediately makes such data available to be picked up by multiple computers and processes, without additional load on the originating process or on the network bandwidth.

    Many sensors on HPWREN support a serial line interface, which is then made available to the network via serial-to-Ethernet converters. Some of the sensors have their own multicast translation processors, for others a centralized server collects data from the field-deployed sensor stations not having their own multicast translators, and multicasts the data to the network.

    A separate process retrieves new SDG&E meteorological data every ten minutes and multicasts it to the network.

    Long term archival of the data is accomplished by a separate machine receiving the multicasted telemetry streams, and storing them onto a RAID array via a hierarchical date/sensor file structure.

    Further processes are picking up various multicast streams, and making them publicly available in real-time via TCP sockets.

    A centralized machine collects sensor data off the multicast streams, and processes it into various HTML or KML files for the web interface. On the same machine, received meteorological data is forwarded to NOAA/NWS servers, automated Santa Ana alarms are being issued to public safety agencies based on analyzing the multicasted data, and sensor outage alarms are being sent to project staff. Finally, a web front end machine makes data publicly available on the Internet.

    The KML files described in this article are derived from the data on the telemetry server for the archived data. The real-time KML interface involves multiple processes listening to the multicasted data streams for the HPWREN and the SDG&E sensors, and converting them to various small KML files, which are then (re-)loaded into Google Earth, based on appropriate time intervals (currently ten seconds for HPWREN sensors, and ten minutes for SDG&E sensors), via the main KML object.

    Home page (includes information for acknowledgments/disclaimers and feedback/contact)