HCA Tech Note 111: Using Weather Underground with HCA

Similar documents
Appendix 4 Weather. Weather Providers

Forecast.io Driver. Installation and Usage Guide. Revision: 1.0 Date: Tuesday, May 20, 2014 Authors: Alan Chow

WeatherWatcher ACP. Astronomers Control Panel (V4 or >) Ambient Virtual Weather Station (Pro or Internet editions) ASCOM platform v4.

Jr. Meteorologist Club

Data Structures & Database Queries in GIS

Weather Predictor. NC Standards 5.E.1.1, 5.P.1.2 Page 28. Grade 5 Earth Science. Activity Description & Estimated Class Time.

WeatherSnoop Users Guide Tee-Boy!

La Crosse Technology. Heavy Weather Pro. Software User s Guide. (for 2800 series weather stations with USB connectivity) Revision: 1.

UltraWeatherBug HSPI User s Guide A HomeSeer HS2 plug-in to access live local weather conditions, forecasts and severe weather alerts

Introduction to Measurements of Physical Quantities

Orange Visualization Tool (OVT) Manual

Weather View 32. User Guide. For Windows NT 4.x+, 2000, XP Version 7.0. Created by Dave Heider

OpenWeatherMap Module

The Kestrel Handheld Weather Tracker. 1) If the unit is configured to log data and it is turned off, will it continue to log temperature data?

Play Ball! Or Not. Whether the Weather will compel you to call the Game Off. Figure 1: Accuweather forecast outlook issued at 8:00 AM June 23, 2015

Assembly and Operation Manual. April 2016

Product Description. 1 of 6

UltraWeatherBug3 HSPI User s Guide A HomeSeer HS3 plug-in to access live local weather conditions, forecasts and severe weather alerts

Yes, the Library will be accessible via the new PULSE and the existing desktop version of PULSE.

PolarSync Quick Start

Introduction. Sunny Partly Cloudy Cloudy. Flurries Snow Ice. Showers Thunderstorms Rain. High Pressure Low Pressure FRONTS. Cold Warm Stationary

Quick Start Guide New Mountain Visit our Website to Register Your Copy (weatherview32.com)

Flight Utilities Metar Reader version 3.1 by Umberto Degli Esposti

MAST ACADEMY OUTREACH. WOW (Weather on Wheels)

Virtual Beach Making Nowcast Predictions

TORO SENTINEL APPLICATION NOTE AN01: ET-BASED PROGRAMMING

McIDAS-V Tutorial Displaying Point Observations from ADDE Datasets updated July 2016 (software version 1.6)

Sources of Hourly Surface Data and Weather Maps for the U.S.

MAST ACADEMY OUTREACH. WOW (Weather on Wheels)

HURREVAC The software Tool used by emergency officials for hurricane evacuation assistance

DiscoveryGate SM Version 1.4 Participant s Guide

Non-Acoustical Inputs

WEATHER AND CLIMATE COMPLETING THE WEATHER OBSERVATION PROJECT CAMERON DOUGLAS CRAIG

Google Maps Hacks by Rich Gibson and Schuyler Erle

Weather Stations. Evaluation copy. 9. Post live weather data on the school s web site for students, faculty and community.

Package rwunderground

Working with Digital Elevation Models in ArcGIS 8.3

ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK

Lab Exploration #4: Solar Radiation & Temperature Part II: A More Complex Computer Model

Vantage PRO2 Quick. Reference Guide

SOFTWARE USER MANUAL. Weather Capture Advance WS1640 WM9280

M E R C E R W I N WA L K T H R O U G H

Construction and Interpretation of Weather Station Models

WeatherHub2 Quick Start Guide

Guide to the Late Blight Decision Support System (DSS) For Potatoes and Tomatoes

LAB 2 - ONE DIMENSIONAL MOTION

Instruction Manual. Solar Weather Centre With Wireless Weather Vane. Product Code: WS5056C. Solar Powered Outdoor Weather Data Collector

Sources of Hourly Surface Data and Weather Maps for the U.S.

Supplement D Weather Instruments Review

Quick Reference Guide

TECDIS and TELchart ECS Weather Overlay Guide

Guide to Hydrologic Information on the Web

WindNinja Tutorial 3: Point Initialization

Introducing GIS analysis

Weather Maps. Name:& & &&&&&Advisory:& & 1.! A&weather&map&is:& & & & 2.! Weather&fronts&are:& & & & & &

Molecular Modeling and Conformational Analysis with PC Spartan

GMS 8.0 Tutorial MT3DMS Advanced Transport MT3DMS dispersion, sorption, and dual domain options

You Might Also Like. I look forward helping you focus your instruction while saving tons of time. Kesler Science Station Lab Activities 40%+ Savings!

How to Perform a Site Based Plant Search

WEATHER ON WHEELS Elementary School Program

HEC-HMS Lab 4 Using Frequency Storms in HEC-HMS

dynamic environments mobile edition!

Building Inflation Tables and CER Libraries

-ASTR 204 Application of Astroimaging Techniques

Sampling Distributions of the Sample Mean Pocket Pennies

COMP61011! Probabilistic Classifiers! Part 1, Bayes Theorem!

Chem 1 Kinetics. Objectives. Concepts

Road Weather: Pavement Forecasting

MAST ACADEMY OUTREACH. WOW (Weather on Wheels)

Chemwatch How To. Create Labels for Chemicals, Products & Mixtures.

MxVision WeatherSentry Web Services Content Guide

Tutorial 12 Excess Pore Pressure (B-bar method) Undrained loading (B-bar method) Initial pore pressure Excess pore pressure

Road Weather: The Science Behind What You Know

Displaying and Rotating WindNinja-Derived Wind Vectors in ArcMap 10.5

Feel free to ask for help also, we will try our best to answer your question or at least direct you to where you can find the answer.

Overview of Left Menu Items on the New OK-FIRE

ST-Links. SpatialKit. Version 3.0.x. For ArcMap. ArcMap Extension for Directly Connecting to Spatial Databases. ST-Links Corporation.

Science and Literacy. Lesson Sets. Weather vs. Climate. By Elementary Ali. Created by Elementary Ali 2014

Snow Measurement Guidelines for National Weather Service Snow Spotters

Rainfall, Part IV. Rain does not normally accumulate above this level

08-Nov METARs and TAFs are shown in coded and decoded text format under the Airfield information where weather data is available.

EXPERIMENT : Thermal Equilibrium. Topics of investigation: Temperature, heat, heat capacity, entropy, irreversibility

The data for this lab comes from McDonald Forest. We will be working with spatial data representing the forest boundary, streams, roads, and stands.

D.T.M: TRANSFER TEXTBOOKS FROM ONE SCHOOL TO ANOTHER

Weather 101 Brad Jakubowski Doane College Water

Learning ArcGIS: Introduction to ArcCatalog 10.1

Searching Substances in Reaxys

Sherlock Tutorial Plated Through Hole (PTH) Fatigue Analysis

Weather Prediction Using Historical Data

Experiment 1: The Same or Not The Same?

Setting a Straight Course RCA Weather Protocol

Ammonia Synthesis with Aspen Plus V8.0

You w i ll f ol l ow these st eps : Before opening files, the S c e n e panel is active.

How to use the guidance tool (Producing Guidance and Verification)

Module 11: Meteorology Topic 3 Content: Weather Instruments Notes

RainMachine Touch HD- 12 Quick- Start Guide

FAQS TABLE OF CONTENTS

Lab 19.2 Synoptic Weather Maps

WMS 10.1 Tutorial GSSHA Applications Precipitation Methods in GSSHA Learn how to use different precipitation sources in GSSHA models

WindNinja Tutorial 3: Point Initialization

Transcription:

HCA Tech Note 111: Using Weather Underground with HCA Before you can use Weather Underground ( WU ) as a weather provider you need to sign up as a developer. What WU is doing is making weather data available to people creating applications but as each of you are a developer of your own home design, you should have your own key. Go here: http://www.wunderground.com/weather/api/ Complete the signup for the API Key. That is the key piece of info you need. You may also want to do a quick review of the documentation that WU provides. It may be helpful if you want to use the new features that go beyond the standard weather data extraction that HCA does. Once you have your apikey, the next thing to do is to determine a location. Go here: http://www.wunderground.com/weather/api/d/docs?d=data/index Look at the section on Query. There are lots of different ways to specify your location. The easiest is to use your zip-code. One you have a key and a location you are ready to configure HCA. In the HCA ribbon Interfaces category, Weather panel, press the Provider Setup button. On the Provider tab choose Weather Underground and enter your api key and location. No verification is done on either. 1 P a g e

Some of the others tabs have changed from previous HCA versions. The Internet Schedule sets the schedule to be used to retrieve observations from WU and from METAR. The File Frequency tab is used for file based providers and has no effect on WU. When using WU, on the units tab make sure that the source units are configured as: Temperature in F Rain in Inches Barometer in Inches Wind in MPH When the schedule tells HCA to take an observation retrieve data from WU - the XML is retrieved and saved in the Temp folder in the HCA documents area. If you choose to create a log file last checkbox on the Provider tab that is located in the Logs folder and is called WeatherLog.txt After each observation is taken HCA extracts the data for these variables: Outside temperature Relative humidity Barometer (inches) Barometer Trend Wind speed (mph) Wind Dir (degrees) Wind Direction (string) Wind Chill Daily rain (precipitation today inches) Rain rate (1 hour Precipitation) Dewpoint Wind Gust (mph) WeatherCondition (string) All these various values are extracted and are available to the Weather VP element as usual. You can also use the _Weather function to operate on these values. One additional function has been added to allow you to get deeper into all the data provided by WU. The function is called _WUnderground and it takes a minimum of 4 arguments and a max of 10. The format is: _Wunderground ("feature", "location", "path1", "path2", "pathn", "tag") The feature is one of these on this list: http://www.wunderground.com/weather/api/d/docs?d=data/index 2 P a g e

The location is any acceptable location as described on that page in the query section. You can use for the feature and it defaults to conditions. You can use for location and it defaults to whatever you entered as the location in the weather provider dialog. Using this you can get to anything that weather underground provides. Here is an example: Enter this into a browser: http://api.wunderground.com/api/<your api key>/forecast/q/<your zipcode>.xml Substitute your API key and location into this URL. This is similar to what you will see: For this example, what I want to extract is the forecast string for today. The path to that string is this: Response forecast txt_forecast forecastdays forecastday fcttext The _wunderground function that extracts this data is: Forecast = _wunderground ("forecast", "", "forecast", "txt_forecast", "forecastdays", "forecastday", "fcttext") The top level of the path - response - is always used so you leave it off the path you create in the arguments to _WUnderground. Starting with the 3 rd argument the path to the data wanted is given. The last argument is the tag that has data associated with it. In the above example, the first argument tells it to retrieve forecast.xml. The second argument, given as an empty string, tells it to take the location from the weather provider setup. The next 4 are the path to the key we want. The last argument is the name key of the key with the data: in this case fctext. Given the above XML, this function evaluates to this string: 3 P a g e

Overcast with rain. High of 45F. Breezy. Wind from the South at 15 to 20 mph. Chance of rain 90%. Instead of the forecast, if you wanted to get the icon the path would be: Response forecast txt_forecast forecastdays forecastday icon As a final example, to get the moon percent: Moon = _wunderground ("astronomy", "", "moon_phase", "percentilluminated") There is one complication with some keys: In this example below there are multiple forecastday branches: In this case, include a qualifier in the name of the tag: Forecast = _wunderground ("forecast", "", "forecast", "txt_forecast", "forecastdays", "forecastday:3", "fcttext") And it retrieves that specific forecast day. To get the first forecast day use forecastday:1. To find the second use forecastday:2, etc. If you leave off the qualifier it defaults to 1. A good suggestion is to try out the various retrievals in your browser first then look at the data and figure out the path you need to get at that data in HCA. Pay close attention to any paths that will need qualifiers. Two more important points: To prevent multiple queries to Weather Underground each time a _wunderground function is evaluated, the file is retrieved, parsed, and saved internally along with the date/time that it was retrieved and parsed. Subsequent _wunderground functions don t retrieve the data again from the internet if the already parsed XML is recent. There is a registry setting currently no UI for it that says how many 4 P a g e

minutes the data stays recent. For now that is set to 15 minutes. This way you can extract lots of data and do it quickly since only one internet action is needed. And finally, the interactions with the Weather Underground site are done using HTTP so there should be no firewall issues. 5 P a g e