ReadMETARS
Synopsis
This module returns the wheather information (i.e. Temperature and Preassure) for given weather stations. The weather information is stored in METARS (a representation of the current weather situation provided by the National Weather Service for Aviation in USA.)
Inputs
| Name |
Type |
Description |
|
| StationLocation |
Mesh |
Location of the weahter station as read by ReadStations. |
| StationID |
string[] |
ID of the weather Stations read by ReadStations. |
|
Parameters
| Name |
Type |
Description |
UI Control |
|
| Filename |
string |
The filename of the METARS file. |
FileDialog |
|
Output Ports
| Name |
Type |
Description |
|
| out |
Mesh+Node_Data |
output mesh data of the location of stations, with temperature and preassure as Node_Data |
| obj |
DataObject |
Directly renderable object. |
|
Description
ReadMETRAS is used to read weather information from METARS Data files. These data files contain the current weather situation and are provided by the National Weather Service for Aviation in USA. Current data files can be downloaded from METAR Data Access page on the National Weather Service Website(USA).
Inputs
StationLocation
The coordinates of the stations for which the weather information is to be read.
StationID
String array of the station ID for which the weather information is to be read. Each ID is a four letter code.
Parameters
filename
Name of the METARS file.
Outputs
out
The coordinates of the stations and associated weather information. It contains the mesh data of the station location and Node_Data for the teperature and preassure of the station.
obj
Directily renderalbe object of the out mesh.
Utility Modules
The User Macro ReadMETARS makes use of the Functional Macro ReadMETARSFunc and the UI Macro ReadMETARSUI.
Example
An example application ReadMETARS_Eg is provided, which uses an ASCII data file, to display all selected stations on the world sphere map and reads the METARS for these stations.
Files
iac_proj/rd_metar/metarmod.v Creates the ReadMETARSMods library containing the low-level module ReadMETARS and the parameter group ReadMETARSParams.
iac_proj/rd_metar/metarmac.v Creates the ReadMETARSMacs library containing the high-level macros ReadMETARSUI, ReadMETARSFunc, and the user macro ReadMETARS.
iac_proj/rd_metar/metarapp.v Creates the ReadMETARSApps library which contains the example appplication ReadMETARS_Eg.
Other Notes
This project include a METAR data file for station location information. However, the lastest version can be downloaded from METAR Data Access page on the National Weather Service Website(USA).
The format of this data file is also described on this page.
Author
anonymous
Modifications
MA YingLiang
Manchester Visualization Centre
Tobias Schiebeck
Manchester Visualization Centre
Contact
International AVS Centre
Manchester Visualization Centre
Manchester Computing
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL
|