代写C C++ Java Python 视频讲解客服在线客服在线

代做国外C C++ Java程序 Python QQ 2365427650 Email 2365427650@qq.com 免费咨询编程问题

« Trie StructureJavaFx 2048 Game »

Simple Weather Data using JavaFX

 You will need to use the file CMT205CWDATA.zip, which you can find under the “Assessment” tab in

the CMT205 module on Learning Central. This zip archive file contains historical monthly weather data,
covering each month in the period from 2011 to 2019, for 37 UK meteorological stations (NOTE: You
will need to use appropriate software to extract these files from the zip archive). The uncompressed
archive contains 37 CSV (Comma-Separated Values) files, each relating to a specific meteorological
station. The list of meteorological stations is as follows:
Aberporth, Armagh, Ballypatrick Forest, Bradford, Braemar, Camborne, Cambridge NIAB, Cardiff Bute
Park, Chivenor, Cwmystwyth, Dunstaffnage, Durham, Eastbourne, Eskdalemuir, Heathrow, Hurn,
Lerwick, Leuchars, Lowestoft, Manston, Nairn, Newton Rigg, Oxford, Paisley, Ringway, Ross-on-Wye,
Shawbury, Sheffield, Southampton, Stornoway Airport, Sutton Bonington, Tiree, Valley, Waddington,
Whitby, Wick Airport, YeoviltonThe relevant weather data is stored in [Meteorological Station].csv. For instance,
Aberporth.csv stores the weather data for the Aberporth station.
Each CSV file is structured with the following fields, separated by commas:
year,month,tmax,tmin,af,rain
The following table provides an explanation of each field:
year
The year for the weather data
month
The month for the weather data
tmax
The mean maximum temperature in the month
tmin
The mean minimum temperature in the month
af
The number of days of air frost in the month
rain
The total rainfall in the month
Assessment Tasks
You are required to create a Java application for interactively exploring the historical
weather data contained in the given data files using JavaFX.
The following basic requirements should be met in order to gain average
to good marks:
1. The application should read the data stored within all CSV files and present the data
in a suitable format, using a grid, with the following information:
Meteorological Station
as well as statistics from the last year (2019):
Highest monthly mean maximum temperature (tmax)
Lowest monthly mean minimum temperature (tmin)
Total air frost days
Total rainfall
As a basic requirement, the list of and CSV files can be hard-coded in your program.
2. The application should allow individual meteorological station to be selected, which
provides the user with a more detailed view in a separate tab. This view should
present the user with historical data pertaining to that station and include suitable
charts to present the data.
3. The application should also allow users to generate a report containing a summary
of key facts for all the meteorological stations. The report should be a single text file
containing the following information for each station:
Number: <sequence number>
Station: <station name>Highest: <month/year with the highest tmax>
Lowest: <month/year with the lowest tmin>
Average annual af: <average days of air frost per year>
Average annual rainfall: <average annual rainfall>
In the above, texts in the angular brackets (<>) are placeholders and should be
replaced with the actual statistics calculated based on all the available data of the
station. The sequence number is a natural number assigned to each station in the
order they appear in the report (i.e. 1, 2, 3, 4, …).
4. You should develop an appropriate GUI for your application, using JavaFX.
In order to gain higher marks you need to add some novel extensions or additional features.
You need only provide two further different novel extensions. Here are a few suggestions.
Advanced GUI features
Advanced formatting of the report
Advanced visualisation of weather data
There are endless possibilities here and you are encouraged to think of
your own extensions.
Learning Outcomes Assessed
1. Write Java applications which include a Graphical User Interface (GUI)
  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Walle Build 100427

Copyright 代写C.