Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

16
Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR

Transcript of Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

Page 1: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

Marcel Casado NCAR/RAP

WEATHER WARNING TOOLWEATHER WARNING TOOL

NCAR

Page 2: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

• Motivation• Software Development• Capabilities Overview• Weather warning Creation and

Dissemination Process• The basics: GUI description • Disseminate a warning• Configuration options• The warning on the server

OutlineOutline

Page 3: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

MotivationMotivation

NCAR

• To automate the process : • Increase the speed at which the weather warning can be generated and disseminated.• Keep it consistent no matter who is doing it.

• To provide a graphical output to be used as a Decision Support System for the customers.

Page 4: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

Software Development Software Development

NCAR

• We developed a GUI with JAVA (Java Web Start downloadable) using the MVC pattern for the conception and dissemination of the warning. The model is loaded from a XML configuration file.

• Cross-Platform. Run unchanged on multiple operating systems.• Runs independently of any browser.

• A script called from crontab takes care of update the warning images and text on the server every 15’.

• Used Java Server Pages for the posted warning output on the websites.

• Using JSP technologies allows dynamic and interactive contents.

Page 5: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

Weather Warning Tool provides a GUI interface for the creation and dissemination of textual and graphical weather warnings. The user can select the location, time frame, theintensity, and the type(s) of weather involved. The warning is automatically generated and it can be previewed and edit at any moment and before been disseminated.

The user after creation can disseminate the warning by mail and posting it on the web server(s). For future releases the capability to send the warning by fax and phone will be added.

The JSP pages installed on the server(s) take care of trackingthe warning on time removing elements when they expired.

Capabilities OverviewCapabilities Overview

Page 6: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

Weather Warning Creation and Dissemination Process

Weather Warning Creation and Dissemination Process

Posted to the webJSP web pages

Posted to the webJSP web pages

WEATHER WARNING PRODUCT

(text, map, timeline)

WEATHER WARNING PRODUCT

(text, map, timeline)

Sent by e-mailSent by e-mail

Create WarningSelect time, location, types of weather

Output PreviewText, map, timeline

Dissemination OptionsWeb site and e-mail

WWTJava WebStart GUI

Disseminate WarningDisseminate Warning

Page 7: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

GUI Description: The Frame(1) GUI Description: The Frame(1) ..

File, Warning& help menus

Criteria & Configuration Panel

Display Panel

Warning Panel

Parameters Panel

Dissemination Button

Status Bar

Page 8: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

..Criteria & Configuration Panel : Model ElementsCriteria & Configuration Panel : Model Elements

List of available criteria.

List of available issuers. Editable & Configurable

List of available locations. Editable & Configurable

List of available dissemination options. Editable & Configurable

GUI Description: The Frame(2)GUI Description: The Frame(2)

Page 9: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

XML Configuration FileXML Configuration File

<?xml version="1.0" encoding="UTF-8"?><WWT xmlns="http://www.4dwx.org/WWT" className="edu.ucar.rap.wwt.WWT_Model">

<map className="edu.ucar.rap.wwt.WWT_Map" image="Images/atc.gif" latup="39.61F" latdown="39.23F" lonleft="76.47" lonright="75.92F" />

<timeline className="edu.ucar.rap.wwt.WWT_Timeline" displayeddays="4" startPosX="260" />

<mail className="edu.ucar.rap.wwt.WWT_Mail" from="ATC_METEOROLOGY_BRANCH@4dwx-ingest-atc" />

<date className="edu.ucar.rap.wwt.WWT_Date" pattern="HHmm z dd MMM yy" />

<issuer className="edu.ucar.rap.wwt.Issuer" name="Gerry Luft"> <parameter className="edu.ucar.rap.wwt.TextAreaParameter" name="E-mail" default="[email protected]" /> <parameter className="edu.ucar.rap.wwt.TextAreaParameter" name="Initials" default="GL" /> </issuer>

<?xml version="1.0" encoding="UTF-8"?><WWT xmlns="http://www.4dwx.org/WWT" className="edu.ucar.rap.wwt.WWT_Model">

<map className="edu.ucar.rap.wwt.WWT_Map" image="Images/atc.gif" latup="39.61F" latdown="39.23F" lonleft="76.47" lonright="75.92F" />

<timeline className="edu.ucar.rap.wwt.WWT_Timeline" displayeddays="4" startPosX="260" />

<mail className="edu.ucar.rap.wwt.WWT_Mail" from="ATC_METEOROLOGY_BRANCH@4dwx-ingest-atc" />

<date className="edu.ucar.rap.wwt.WWT_Date" pattern="HHmm z dd MMM yy" />

<issuer className="edu.ucar.rap.wwt.Issuer" name="Gerry Luft"> <parameter className="edu.ucar.rap.wwt.TextAreaParameter" name="E-mail" default="[email protected]" /> <parameter className="edu.ucar.rap.wwt.TextAreaParameter" name="Initials" default="GL" /> </issuer>

Page 10: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

GUI Description: The Frame (3)GUI Description: The Frame (3)..Display Panel : Warning preview & LocationsDisplay Panel : Warning preview & Locations

Map : Graphical representation of the warning

Text : Textual representation of the warning

Timeline : Representation on time of warnings

Locations : Graphical representation of locations

Page 11: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

GUI Description: The Frame (4)GUI Description: The Frame (4)..

Warning Panel : Building Warning Tree Warning Panel : Building Warning Tree

The warnings are built over this panel. Selected criteria are added at the warning tree. Many opened warnings are allowed on this panel and stored on different tab panes.

Page 12: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

GUI Description: The Frame (5)GUI Description: The Frame (5)..

Parameter Panel(1) : Element ParametersParameter Panel(1) : Element Parameters

Every time a tree element on the tool is selected his parameters are displayed on this panel. There are several kind of parameters depending of the element. Most of them are editable.

Page 13: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

Disseminate a warning(1)Disseminate a warning(1)

Select the warning from the warning panel to be disseminate then Select Disseminate Warning from the Warning menu or click over Dissemination button.

A pop up dialog is displayed asking if we really want to disseminate the selected warning and the actions that will be take.

Getting Started… : Disseminating a warning Getting Started… : Disseminating a warning

Page 14: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

Disseminate a warning(2)Disseminate a warning(2)

A report is displayed on the parameters panel showing the results of the dissemination. The default browser will be launched displaying the current warning webpage.

Next… : Dissemination Report Next… : Dissemination Report

Page 15: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

Configuration OptionsConfiguration Options

Select Reload Configuration from XML file to load your own configuration file from the local disk.

Getting started… : Reloading and saving configurations Getting started… : Reloading and saving configurations

Modify the configuration elements and then select Save Configuration to XML file to save your own configuration to the local disk.

Page 16: Marcel Casado NCAR/RAP WEATHER WARNING TOOL NCAR.

The Warning on the serverThe Warning on the server

A bunch of JSP and servlets take care of tracking the current warning, removing expired criteria and updating the current warning on the web page.

Next… : JSP takes care of tracking the current warning Next… : JSP takes care of tracking the current warning