Skip to content

czarniek/climateDisplay

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

  1. Clone the repository and make sure that all .m files are inside climateDisplay.mlapp's directory
  2. Install MatLab
  3. Apps tab > Design App to open App Designer
  4. Load the climateDisplay.mlapp file
  5. Run the code
  6. Input proper climate data file in NC format

Example Output

Alt text Ozone layer over Europe at 10:00 generated using chimere_ozone climate model

Compiling the application

  1. In Matlab > Apps > Get More Apps > Find and install 'MATLAB Compiler'
  2. Open climateDisplay.mlapp file in App Designer
  3. Designer > Share > Choose appropriate option

Running the tests

  1. Open TestClimateDisplay.m in MatLab
  2. Note: these tests require you to input a test file in NC format
  3. 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';
  1. 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'
  1. Choose the test file when prompted
  2. Choose save destination when prompted

Note: test testSelectButtonWrongFile requires you to input a file with an extension different than NC to pass

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published