-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from darothen/pyrcel_rename
Rename project from "parcel_model" to "pyrcel"
- Loading branch information
Showing
39 changed files
with
28,643 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: parcel_model | ||
name: pyrcel | ||
channels: | ||
- darothen | ||
dependencies: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: parcel_model | ||
name: pyrcel | ||
channels: | ||
- darothen | ||
dependencies: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: parcel_model | ||
name: pyrcel | ||
channels: | ||
- darothen | ||
dependencies: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: parcel_model | ||
name: pyrcel | ||
dependencies: | ||
- python=2.7 | ||
- cython | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Because the Assimulo dependency is difficult to build on third-party content providers (travis, RTD, etc), I've opted to manually control the examples in this directory. Here are the steps to keep the examples up to date: | ||
|
||
1. Run each notebook independently, so that the results (figures, etc) it includes are pre-rendered and self-contained | ||
2. Execute the supplied Makefileto convert ipynb -> rst and generate hte rendered figures | ||
2. Execute the supplied Makefile to convert ipynb -> rst and generate hte rendered figures | ||
3. Commit the newly generated *_files/ folders and all new resources | ||
|
||
In the future, this can be simplified by packaging the entire parcel model install. However, that will require either (a) re-opening the ability to use third-party ODE solvers from SciPy, or (b) packaging Assimulo and Sundials into conda for easy access on a third-party server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
|
||
Model/Package Overview | ||
====================== | ||
pyrcel: cloud parcel model | ||
========================== | ||
|
||
|DOI|\ |Build Status|\ |Documentation Status| | ||
|
||
.. |DOI| image:: https://zenodo.org/badge/12927551.svg | ||
:target: https://zenodo.org/badge/latestdoi/12927551 | ||
.. |Build Status| image:: https://travis-ci.org/darothen/pyrcel.svg?branch=master | ||
:target: https://travis-ci.org/darothen/pyrcel | ||
.. |Documentation Status| image:: https://readthedocs | ||
.org/projects/pyrcel/badge/?version=stable | ||
:target: http://pyrcel.readthedocs.org/en/stable/?badge=stable | ||
|
||
This is an implementation of a simple, 0D adiabatic cloud parcel model tool (following `Nenes et al, 2001`_ and `Pruppacher and Klett, 1997`_). It allows flexible descriptions of an initial aerosol population, and simulates the evolution of a proto-cloud droplet population as the parcel ascends adiabatically at either a constant or time/height-dependent updraft speed. Droplet growth within the parcel is tracked on a Lagrangian grid. | ||
|
||
|
@@ -9,7 +19,10 @@ This is an implementation of a simple, 0D adiabatic cloud parcel model tool (fol | |
|
||
.. image:: figs/model_example.png | ||
|
||
You are invited to use the model (in accordance with the `licensing <https://raw.githubusercontent.com/darothen/parcel_model/master/LICENSE>`_), but please get in touch with the author via `e-mail <mailto:[email protected]>`_ or on `twitter <https://twitter.com/darothen>`_. Up-to-date versions can be obtained through the model's `github repository <https://github.com/darothen/parcel_model>`_ or directly from the author. If you use the model for research, please cite `this journal article <http://journals.ametsoc.org/doi/abs/10.1175/JAS-D-15-0223.1>`_ which details the original model formulation: | ||
You are invited to use the model (in accordance with the `licensing <https://raw | ||
.githubusercontent.com/darothen/pyrcel/master/LICENSE>`_), but please get in touch with | ||
the author via `e-mail <mailto:[email protected]>`_ or on `twitter <https://twitter.com/darothen>`_. Up-to-date versions can be obtained through the model's `github repository <https://github.com/darothen/pyrcel>`_ or directly from the | ||
author. If you use the model for research, please cite `this journal article <http://journals.ametsoc.org/doi/abs/10.1175/JAS-D-15-0223.1>`_ which details the original model formulation: | ||
|
||
|
||
| Daniel Rothenberg and Chien Wang, 2016: Metamodeling of Droplet Activation for Global Climate Models. *J. Atmos. Sci.*, **73**, 1255–1272. doi: http://dx.doi.org/10.1175/JAS-D-15-0223.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ point it to the source code `repository`_ on github: | |
|
||
.. code-block:: bash | ||
$ pip install git+git://github.com/darothen/parcel_model.git | ||
$ pip install git+git://github.com/darothen/pyrcel.git | ||
This should automatically build the necessary Cython modules and export the | ||
code package to your normal package installation directory. If you wish to | ||
|
@@ -29,7 +29,7 @@ points directly to the git-monitored code: | |
|
||
.. code-block:: bash | ||
$ cd path/to/parcel_model/ | ||
$ cd path/to/pyrcel/ | ||
$ pip install -e . | ||
|
@@ -44,7 +44,7 @@ scientific python distribution, such as | |
out-of-the box with almost all dependencies filled (exception being numerical | ||
solvers) on a recent version (1.2+) of this distribution. To faciliate this, | ||
`conda <http://conda.pydata.org/docs/>`_ environments for Python versions 2.7 | ||
and 3.4+ are provided in the ``parcel_model/ci`` directory. | ||
and 3.4+ are provided in the ``pyrcel/ci`` directory. | ||
|
||
Necessary dependencies | ||
^^^^^^^^^^^^^^^^^^^^^^ | ||
|
@@ -101,19 +101,19 @@ version of the model with the pre-packed simple run case: | |
|
||
.. code-block:: bash | ||
$ cd path/to/parcel_model/ | ||
$ cd path/to/pyrcel/ | ||
$ ./run_parcel examples/simple.yml | ||
Bugs / Suggestions | ||
------------------ | ||
|
||
The code has an | ||
`issue tracker on github <https://github.com/darothen/parcel_model/issues>`_ | ||
`issue tracker on github <https://github.com/darothen/pyrcel/issues>`_ | ||
and I strongly encourage you to note any problems with the model there, such | ||
as typos or weird behavior and results. Furthermore, I'm looking for ways to | ||
expand and extend the model, so if there is something you might wish to see | ||
added, please note it there or `send me an e-mail <mailto:[email protected]>`_. | ||
The code was written in such a way that it should be trivial to add physics in a modular fashion. | ||
|
||
.. _repository: http://github.com/darothen/parcel_model | ||
.. _repository: http://github.com/darothen/pyrcel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.. _parcel: | ||
|
||
.. currentmodule:: parcel_model | ||
.. currentmodule:: pyrcel | ||
|
||
Parcel Model Details | ||
==================== | ||
|
Oops, something went wrong.