Description
Objective
To build a complete working Java program that offer practice with basic Java graphical user interface components and the
interaction of a GUI with an object of a class.
Overview & Instruction
Write a Java program that will determine the risk of severe weather at a given weather station by utilizing measurements
taken from a weather balloon. Weather balloons are used to observe upper air measurements.
There are several severe weather indexes used by meteorologists. Two are included in this assignment. Each include a
simple arithmetic formula and are defined to calculate values based on patterns and conditions likely to produce severe
weather. They offer a forecaster a quick number that can be referenced to assist in judging weather risks on a given day.
These measurements taken via weather balloons are not taken at standard heights, but instead at standard pressure
levels (in the unit of millibars). The severe weather indexes your program will calculate require the following values:°C
T850 temperature at 850 mb
Td850 dew point at 850 mb
T700
Td700
temperature at 700 mb
dew point at 700 mb
T500 temperature at 500 mb
For validation, assume that 850 mb values must be between -40 °C and 40 °C, 700 mb values must be between -60 °C
and 10 °C, and 500 mb values must be between -50 °C and 0 °C. Note also that the dew point values can never exceed
the temperature values.
Below are two indexes your program needs calculate:
Total Totals Index
TT = T850 + Tda50 – 2(Т500) in degrees Celsius
The value produced then can be interpreted to produce the following forecasts:
Total Totals Index Severe Weather Risk
Less Than 43 Thunderstorms Unlikely
44 to 45
46 to 47
48 to 49
50 to 51
52 to 55
Isolated Moderate Thunderstorms
Scattered Moderate, Few Heavy Thunderstorms
Scattered Moderate, Few Heavy, Isolated Severe Thunderstorms
Scattered Heavy, Few Severe Thunderstorms, Isolated Tornadoes
Scattered to Numerous Heavy, Few to Scattered Severe Thunderstorms, Isolated
Tornadoes
Greater Than 55 Numerous Heavy, Scattered Severe Thunderstorms, Few to Scattered Tornadoes