Giter Site home page Giter Site logo

simmod's Introduction

SimMod - Python Simple Climate Model

Version 0.3 (Alpha - may contain bugs!) SimMod vs. CMIP5

Usage

  1. Make sure you have numpy and pandas installed.
  2. Open simmod_controller.py in your editing tool of choice
  3. Select desired parameters for RCP, carbon model, climate sensitivity, etc.
  4. Run simmod_controller.py in your terminal via python simmod_controller.py
  5. Results will be saved as a csv in the SimMod/results folder.

Notes

The heat diffusion module that converts radiative forcing to global mean surface temperatures currently breaks for timesteps other than 1 year. This will be fixed in the near future.

The BEAM carbon model overestimates 2100 atmospheric CO2 concentrations by ~25% relative to RCP scenarios. Using the pulse response carbon model is recommended for the time being.

The latest BEAM model can be found here: https://github.com/RDCEP/BEAM-carbon/find/master

##CSV Output Legend MODEL INPUTS/DIAGNOSTIC VALUES

date - Count of timesteps since specified run_start_year

year - Calendar Year

co2_pg - Emissions of CO2 by timestep from selected RCP

ch4_tg - Emissions of CH4 by timestep from selected RCP

n2o_tg - Emissions of N20 by timestep from selected RCP

co2_forcing_rcp - Radiative forcing of CO2 in selected RCP; for comparison purposes

ch4_forcing_rcp - Radiative forcing of CH4 in selected RCP; for comparison purposes

n2o_forcing_rcp - Radiative forcing of N2O in selected RCP; for comparison purposes

total_forcing_rcp - Total radiative forcing in selected RCP; for comparison purposes

rcp_co2_ppm - CO2 ppm in selected RCP; for comparison purposes

rcp_ch4_ppb - CH4 ppm in selected RCP; for comparison purposes

rcp_n2o_ppb - N2O ppm in selected RCP; for comparison purposes

MODEL OUTPUTS

co2_pg_atm - Atmospheric CO2 concentration (in Pg CO2)

ch4_tg_atm - Atmospheric CH4 concentration (in Tg CH4)

n2o_tg_atm - Atmospheric N2O concentration (in Tg N2O)

ch4_co2_decay_marginal - Additional CO2 from oxidation of CH4 (in Pg)

co2_ppm - Parts per million CO2

ch4_ppb - Parts per billion CH4

n2o_ppb - Parts per billion N2O

co2_forcing - Radiative forcing (watts/m^2) from CO2

ch4_forcing - Radiative forcing (watts/m^2) from CH4

n2o_forcing - Radiative forcing (watts/m^2) from N2O

total_forcing_ghg - Total radiative forcing from GHGs

rcp_nonghg_forcing - Non-GHG radiative forcing (taken from RCP)

total_forcing - Sum of GHG and non-GHG forcing

t_os - Aquaworld transient temperature response (no land fraction)

t_eq - Equilibrium temperature reponse (no oceans)

t_s - Transient temperature response (land/ocean)

License

This code is distributed under the Apache 2 License.

simmod's People

Contributors

hausfath avatar

Watchers

 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.