Code Monkey home page Code Monkey logo

climate_bias_analysis's Introduction

A climate simulation output analysis tool

Introduction

This project implements a method for detecing spatio-temporal consistent bias patterns in climate simulation output. Paper introducing the method can be found on https://doi.org/10.5194/gmd-2019-107.

File Organization

  • analyze.py is the main file. The core analysis logic is implemented in this file.
  • BiasInstance.py and BiasFamily.py defines data structure for bias instance and bias family.
  • PlotHeatMap.py defines a function to output a figure for a bias family, like Figure 3 in the paper.

How to run it

The project can be run with python 3.5 and you may need to install some python packages, including Basemap, matplotlib, mlpy and netCDF4.

After the running environment has been set up, you can run the project with "python analyze.py".

Parameter Setting

All parameters used in this tool can be set at Lines 19-22 in "analyze.py".

  • deltaA de fines the minimum number of grid points that must appear in a bias instance. deltaA takes a value in [0, number of grid points].
  • deltaR determines the minumum overlapping ratio that two bias instances in a family need to satisfy. deltaR takes a value in [0,1].
  • gammaR is the significance level used to filter nonsignificant residuals. Smaller gammaR means more significant bias. gammaR takes the value in [0,1].
  • gammaD is a paramter used to ensure the similarity of two bias instances in a family. Larger gammaD means stricter similarity requirement among bias instances in a family. gammaD takes a value in [0,infinity).

climate_bias_analysis's People

Contributors

martincao12 avatar

Stargazers

Andreza Dantas dos Santos avatar

Watchers

James Cloos avatar  avatar

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.