Question
Write a menu driven java program that will perform the following options: Load Data: request user for filename that contains Weather Station Data . (10
Write a menu driven java program that will perform the following options: Load Data: request user for filename that contains Weather Station Data . (10 minute data format); report if the filename does not exist; report if the file is not in the 10 minute data format [**** As announced in class on Feb 26: if the first line of the file matches the below sample file first line, then the file will be considered in the proper data format]; with a good file, load file data.
The following options will display only after a good data file has been provided.This the format of the Weather station data
1.Load Data menu option (2 pts)
- Peak Wind Speed (4 pts)
- Maximum Temp (4 pts)
- Humidity and Temperature (4 pts)
- Solar Energy (4 pts)
- Good source comments and code organization (2 pts)
Temp Hi Low Out Dew Wind Wind Wind Hi Hi Wind Heat THW THSW Rain Solar Solar Hi Solar UV UV Hi Heat Cool In In In In Wind Wind ISS Arc. Date Time Out Temp Temp Hum Pt. Speed Dir Run Speed Dir Chill Index Index Index Bar Rain Rate Rad. Energy Rad. Index Dose UV D-D D-D Temp Hum Dew Heat ET Samp Tx Recept Int. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 2/10/19 12:10a 24.8 24.9 24.8 86 21.2 2.0 ESE 0.33 4.0 ESE 23.1 24.6 22.9 19.2 1010.4 0.00 0.00 0 0.00 0 0.0 0.00 0.0 0.279 0.000 65.2 22 25.4 60.3 0.000 235 1 100.0 10 2/10/19 12:20a 24.9 24.9 24.9 85 21.0 2.0 ESE 0.33 3.0 E 23.2 24.7 23.0 19.3 1010.4 0.00 0.00 0 0.00 0 0.0 0.00 0.0 0.278 0.000 65.2 22 25.4 60.3 0.000 234 1 100.0 10 2/10/19 12:30a 25.0 25.2 24.9 84 20.8 2.0 ESE 0.33 5.0 SE 23.3 24.8 23.1 19.4 1010.4 0.00 0.00 0 0.00 0 0.0 0.00 0.0 0.278 0.000 65.2 22 25.4 60.3 0.000 232 1 100.0 10 2/10/19 12:40a 25.2 25.2 25.1 83 20.8 2.0 ESE 0.33 4.0 ESE 23.5 25.0 23.3 19.6 1010.4 0.00 0.00 0 0.00 0 0.0 0.00 0.0 0.276 0.000 65.2 22 25.4 60.3 0.000 234 1 100.0 10 2/10/19 12:50a 25.1 25.2 25.1 84 20.9 3.0 ESE 0.50 5.0 ESE 21.5 24.9 21.3 17.6 1010.4 0.00 0.00 0 0.00 0 0.0 0.00 0.0 0.277 0.000 65.2 22 25.4 60.3 0.000 233 1 100.0 10 2/10/19 1:00a 25.2 25.3 25.1 83 20.8 3.0 ESE 0.50 5.0 ESE 21.6 25.0 21.4 17.7 1010.4 0.00 0.00 0 0.00 0 0.0 0.00 0.0 0.276 0.000 65.2 22 25.4 60.3 0.000 233 1 100.0 10 2/10/19 1:10a 25.2 25.2 25.2 84 21.0 3.0 ESE 0.50 5.0 ESE 21.6 25.0 21.4 17.7 1010.4 0.00 0.00 0 0.00 0 0.0 0.00 0.0 0.276 0.000 65.2 22 25.4 60.3 0.000 234 1 100.0 10 2/10/19 1:20a 25.2 25.3 25.2 83 20.8 3.0 ESE 0.50 5.0 E 21.6 25.0 21.4 17.7 1010.4 0.00 0.00 0 0.00 0 0.0 0.00 0.0 0.276 0.000 65.2 22 25.4 60.3 0.000 201 1 88.2 10 2/10/19 1:30a 25.1 25.2 25.0 84 20.9 3.0 ESE 0.50 5.0 ESE 21.5 24.9 21.3 17.6 1010.7 0.00 0.00 0 0.00 0 0.0 0.00 0.0 0.277 0.000 65.2 22
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started