GithubHelp home page GithubHelp logo

trendingtechnology / photochempy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nicholaswogan/photochempy

0.0 2.0 0.0 23.69 MB

Photochemical model of rocky planet's atmospheres.

Fortran 97.11% Python 2.89%

photochempy's Introduction

PhotochemPy Memcheck Build Status

PhotochemPy is a photochemical model of rocky 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: To install PhotochemPy, you must have the following installed on your system.

  • Python (>3.6.0) with the numpy package. I suggest using anaconda to install these regardless of your operating system.
  • The GNU compiler collection, version >4.9.4 (includes gfortran, gcc, etc.). If you are using a Mac, I suggest installing it with Homebrew: brew install gcc. For other operating systems follow this GNU installation guide.
  • CMake. On Mac you can install with brew install cmake.

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

  • Clone or download the github repository https://github.com/Nicholaswogan/PhotochemPy
  • In a terminal, navigate to the folder src/dependencies, and run the shell script compile.sh.
  • Navigate to the root directory of PhotochemPy, then install with python -m pip install .

Fortran source: If you prefer to use the code exclusively in Fortran, that is OK too. An example is provided in the folder examples/fortran_example.

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.

photochempy's People

Contributors

nicholaswogan avatar

Watchers

 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.