{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Using the Labow Climatology" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "%matplotlib inline" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "import sasktran as sk\n", "import numpy as np\n", "import matplotlib.pyplot as plt" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "labow = sk.Labow()\n", "\n", "print(labow)" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "altitudes = np.linspace(0, 50000, 100)\n", "\n", "ozone = labow.get_parameter('SKCLIMATOLOGY_O3_CM3', latitude=0, longitude=0, mjd=54372, altitudes=altitudes)" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "plt.plot(ozone, altitudes)\n", "plt.ylabel('Altitude [m]')\n", "plt.xlabel('Number Density [/cm$^3$]')\n", "plt.show()" ] } ], "metadata": { "kernelspec": { "display_name": "Python [default]", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.2" } }, "nbformat": 4, "nbformat_minor": 1 }