pyrcel: 0D adiabatic cloud parcel model
Project description
pyrcel: cloud parcel model
This is an implementation of a simple, adiabatic cloud parcel model for use in aerosol-cloud interaction studies. Rothenberg and Wang (2016) discuss the model in detail and its improvements and changes over Nenes et al (2001):
- Implementation of κ-Köhler theory for condensation physics (Petters and Kreidenweis, 2007)
- Extension of model to handle arbitrary sectional representations of aerosol populations, based on user-controlled empirical or parameterized size distributions
- Improved, modular numerical framework for integrating the model, including bindings
to several different stiff integrators:
lsoda
- scipy ODEINT wrappervode, lsode*, lsoda*
- ODEPACK via odespycvode
- SUNDIALS via Assimulo
among other details. It also includes a library of droplet activation routines and scripts/notebooks for evaluating those schemes against equivalent calculations done with the parcel model.
Updated code can be found the project github repository. If you'd like to use this code or have any questions about it, please contact the author. In particular, if you use this code for research purposes, be sure to carefully read through the model and ensure that you have tweaked/configured it for your purposes (i.e., modifying the accomodation coefficient); other derived quantities).
Detailed documentation is available, including a scientific description, installation details, and a basic example which produces a figure like the plot at the top of this page.
Requirements
Required
Optional
The following packages are used for better numerics (ODE solving)
The easiest way to satisfy the basic requirements for building and running the model is to use the Anaconda scientific Python distribution. Alternatively, a miniconda environment is provided to quickly set-up and get running the model. Assimulo's dependency on the SUNDIALS library makes it a little bit tougher to install in an automated fashion, so it has not been included in the automatic setup provided here; you should refer to Assimulo's documentation for more information on its installation process. Note that many components of the model and package can be used without Assimulo.
Development
http://github.com/darothen/pyrcel
Please fork this repository if you intend to develop the model further so that the code's provenance can be maintained.
License
All scientific code should be licensed. This code is released under the New BSD (3-clause) license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyrcel-1.3.2.tar.gz
.
File metadata
- Download URL: pyrcel-1.3.2.tar.gz
- Upload date:
- Size: 610.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fcf7c5d3c90595a6607bc2e2d865097e5a54de683d4654fbd438d855402da8d |
|
MD5 | f14d95209dd996f3e3cf5ca6777de198 |
|
BLAKE2b-256 | fa43403f9aff3a12512404c9a90d4ac1a4917eb47ce0438ce6727b9f50225e45 |
File details
Details for the file pyrcel-1.3.2-py3-none-any.whl
.
File metadata
- Download URL: pyrcel-1.3.2-py3-none-any.whl
- Upload date:
- Size: 140.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53615980e2bd9bfc5b9cc1fddd0c04999595cab22f510ff78f92b3807ec73934 |
|
MD5 | caebeb10aa2b5c6939ba485db22e343c |
|
BLAKE2b-256 | 724c191b9d9c5a8f8a59392b4440e7e18817d4d7125dc0857678475e9a32c209 |