Corey4005 / three-layer-atmosphere

This is an object-oriented model to simulate the radiation budget in the atmosphere across three layers and associated temperature effects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

three-layer-atmosphere

This is an object-oriented model to simulate the radiation budget in the atmosphere across three layers and associated temperature effects.

Credit: This model was created by Dr. John R. Christy at the University of Alabama Huntsville.

Script Purpose
Model Class A class to model three atmospheric layers and associated methods.
Simulate Cloud Cover This module demonstrates how the model can be iterated upon to simulate temperature changes in the upper atmosphere with increasing cirrus cloud cover. Returns a plot of temperature changes at each layer over small changes with reflectivity.
Calculate Layer Temps This is a module to show how a text file containing solar and infrared values for each layer can be read in and processed to model temperatures. Returns a print statement containing the calculated temperatures from radiation inputs.
Model Greenhouse Effect This is a module to simulate changing CO2 and its effect on the layer temperatures. Injection of CO2 into the troposphere causes increased reflectance of infrared and decresed absorption. Returns a plot of layer temperatures with changing infrared reflectance.
Model Aerosols in Upper Atmosphere This is a module to demonstrate the effect of small changes in solar reflectivity in the stratosphere and absorption on the surface temperature. This would occur with the stratosphere being injected with aerosols that increase solar reflection and decrease solar transmission. Returns a plot of varying solar reflectance with temperature.
Model Aerosols in Lower Atmosphere This is a module to demonstrate the effect of small changes in solar reflectivity in the troposphere and absorption on the surface temperature. This is to simulate the effect of aerosols on the troposphere. Returns a plot after increasing solar reflectance and decreasing solar absorption.
Calculate Stratospheric Sensitivity This module calculates surface sensitivity to temperature change in relation to solar radiation and transmission in the stratosphere.
Calculate Surface Sensitivity This module calculates surface sensitivity of temperature in relation to solar radiation and absorption at the surface.
Calculate Tropospheric Sensitivity This module calculates surface surface sensitivity to temperature change in relation to solar reflectivity and transmission.

Model Equations

The model uses the functions in the Model Class module to derive new temperatures. calculateRadiationBudget() takes in the coeficients of absorption, transmission and reflection from a choice of parameters (EMB30 or K&T textfiles) and calculates net short and longwave radiation budgets. These calculations are then used by getTemperatures() to solve a linear algebra matrix for coeficients used for temperature calculations across each layer. Reading modelEquations.py from top to bottom should provide a clear idea of how calculations are performed.

About

This is an object-oriented model to simulate the radiation budget in the atmosphere across three layers and associated temperature effects


Languages

Language:Python 100.0%