Coder Social home page Coder Social logo

photochempy's Introduction

PhotochemPy Memcheck Build Status

PhotochemPy is a photochemical model of planet's atmospheres. Given inputs, like the stellar UV flux, the atmospheric temperature structure, etc., this code will find the steady-state chemical composition of an atmosphere, or evolve atmospheres through time.

PhotochemPy is a Python wrapper to Fortran source code. This makes the code very speedy, but also user-friendly.

Installation

Requirements:

  • MacOS or any Linux OS.
  • Python (>3.6.0) with the numpy package. I suggest using anaconda to install these regardless of your operating system.
  • A Fortran and C compiler (any should work). I suggest the GNU compiler collection (includes gfortran, gcc, etc.). If you are using a Mac, install it with Homebrew: brew install gcc.

Python Module: After satisfying the requirements, then follow these setups to install PhotochemPy

Fortran library: If you prefer to use the code exclusively in Fortran, that is OK too. You can build libphotochem with CMake. Download or clone this respository, then from the root directory of the repository run

mkdir build
cd build
cmake ..
make -j

Examples/Tutorial

See the examples directory. Also check out this tutorial

History

PhotochemPy is a distant fork of the Atmos photochemical model, originally developed by Jim Kasting and Kevin Zahnle and further developed by many of their students and colleges.

Contact + Publications

If you have questions email me: [email protected]

Also, if you plan on using PhotochemPy for a publication please email me before you submit anything to a journal, just so we can confirm your planned application of the model is reasonable.

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.