Lagrangian Cloud Model(LCM) parcel model for education purposes.
Note: The entrainment module is still under development. I recommend not using it yet.
-
Install anaconda3 for python / jupyter https://docs.anaconda.com/
-
Create a conda environment for PyLCM (Mac/Linux)
conda create -n PyLCM
- Activate conda env (Mac/Linux).
conda activate PyLCM
- Install necessary packages (jupyter,numpy, scipy, pandas, matplotlib, plotly, ipywidgets)
#For Mac/Linux users:
conda install jupyter
conda install -c plotly plotly
conda install numpy
conda install scipy
conda install pandas
conda install matplotlib
conda install ipywidgets
#For Windows users: Please install the packages listed above via Anaconda Navigator
To run the PyLCM model, follow these steps:
- Activate conda env (Mac/Linux).
conda activate PyLCM
- run jupyter
jupyter notebook
- run `PyLCM_edu.ipynb' from your browser
- The Python files in the PyLCM module are core files for running the model. It is recommended only to modify them if you fully understand their functionality.
- For post-processing, useful codes are included in the
Post_processmodule, such asanalysis.pyandprint_plot.py.Users can use or modify these codes to create the desired plots.
- Contact: J.lim@physik.uni-muenchen.de