-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move docs from readme to markdown files and docstring (#459)
Co-authored-by: Sylwester Arabas <sylwester.arabas@agh.edu.pl>
- Loading branch information
1 parent
52b1d08
commit 2e43989
Showing
9 changed files
with
708 additions
and
547 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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Introduction | ||
PyMPDATA examples are bundled with PyMPDATA and located in the examples subfolder. | ||
They constitute a separate PyMPDATA_examples Python package which is also available at PyPI. | ||
The examples have additional dependencies listed in PyMPDATA_examples package setup.py file. | ||
Running the examples requires the PyMPDATA_examples package to be installed. | ||
|
||
Below is an example of how to use the PyMPDATA_examples package to run a simple advection-diffusion in 2D | ||
`PyMPDATA_examples.advection_diffusion_2d` | ||
![adv_diff](https://github.com/open-atmos/PyMPDATA/releases/download/tip/advection_diffusion.gif) | ||
|
||
# Installation | ||
Since the examples package includes Jupyter notebooks (and their execution requires write access), the suggested install and launch steps are: | ||
|
||
``` | ||
git clone https://github.com/open-atmos/PyMPDATA-examples.git | ||
cd PyMPDATA-examples | ||
pip install -e . | ||
jupyter-notebook | ||
``` | ||
|
||
Alternatively, one can also install the examples package from pypi.org by using | ||
``` | ||
pip install PyMPDATA-examples. | ||
``` |
Oops, something went wrong.