Climate Display Application
The European Centre for Medium Range Weather Forecasts (ECMWF) uses a variety of climate models to produce data about different chemistry species. e.g. CO2, H20, O3. Each of these models gener-ates 280,000 data points per 1 of 25 1-hour periods to cover a single day. By taking a simple mean of the values, they output an overall estimate of the climate. It was found that using the Cluster-Based-Ensemble (CBE) can improve ensembles’ accuracy but at an expense of processing time. The overall project aims to reduce the processing time to <2hours.
This project focuses on visualization part of this process, as plotting a large number of data points may be difficult to comprehend without proper visualization technique. A standalone application with intuitive GUI is to be developed in MatLab language, for reading climate data from NetCDF files and displaying the results over a map, while having options such as world region, climate model, color scheme; to choose from.
Prerequisites
MatLab R2020a Stable release and MatLab's App Designer to view and run the code.
MathWork's Application Compiler to compile the application to a standalone format.
Running the code
- Clone the repository and make sure that all .m files are inside climateDisplay.mlapp's directory
- Install MatLab
- Apps tab > Design App to open App Designer
- Load the climateDisplay.mlapp file
- Run the code
- Input proper climate data file in NC format
Example Output
Ozone layer over Europe at 10:00 generated using chimere_ozone climate model
Compiling the application
- In Matlab > Apps > Get More Apps > Find and install 'MATLAB Compiler'
- Open climateDisplay.mlapp file in App Designer
- Designer > Share > Choose appropriate option
Running the tests
- Open TestClimateDisplay.m in MatLab
- Note: these tests require you to input a test file in NC format
- Set TestFile var to a full path of your test file, e.g.
TestFile = 'D:\Program Files (x86)\OneDrive - Coventry University\2Year\Semester2\bigDataProject\vis\climateDisplay\TEST_NC_FILE_o3_surface_20180701000000.nc';
- Set saveDest to a path where your test exported file will be saved. Name it myAnimation.gif, e.g.
saveDest = 'D:\Program Files (x86)\OneDrive - Coventry University\2Year\Semester2\bigDataProject\vis\climateDisplay\myAnimation.gif'
- Choose the test file when prompted
- Choose save destination when prompted
Note: test testSelectButtonWrongFile requires you to input a file with an extension different than NC to pass