Giter Site home page Giter Site logo

ozone-clustering's Introduction

Ozone clustering in UKESM1

Here we use Gaussian mixture modelling as implimented in the scikit-learn python package to classify ozone profiles in the UKESM1 model. We train the model using annual mean profiles from:

  1. The historical simulation from 2004-2014

  2. SSP126 from 2090-2100

  3. SSP585 from 2090-2100

image

By training the GMM using a combined dataset with profiles from (1)-(3) we ensure that the GMM captures a wide variety of profile types across the forcing scenarios. We then label the profiles separately and examine how the class properties change over time and with forcing scenario.

This repository contains:

  • bic : a plot of the BIC score with number of classes to guide selection of N
  • classes-n : collections of plots and statistical models using 'n' classes
  • data_in : both the NetCDF data extracted from UKESM1 and the same data formatted as CSV
  • get_UKESM_ozone_profiles : the script used to extract ozone profiles from UKESM1 on Pangeo
  • Ozone profile clustering : notebook containing the fitting and labeling of classes

image

ozone-clustering's People

Contributors

danijonesocean avatar

Watchers

 avatar  avatar

ozone-clustering's Issues

Decide how to treat interannual variability, change code accordingly

At present, only one year is selected for plotting in the notebook. We could take the mean over years for each decade instead. To implement this, use the Pandas groupby function with the reset_index function to convert the result back to single indices. For example,

df.groupby(['x','y']).mean().reset_index()

That way we can be more general than just plotting individual years. We could also consider plotting the interannual variability in some way as well.

Add background information about UKESM1 biases

Luke Abraham showed at the ACSIS meeting (July 2021) that UKESM1 has total column ozone values that are too high relative to the rest of the CMIP6 ensemble. In addition, it has a greater relative drop than other CMIP6 members.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.