Skip to content

jslim93/PyLCM_edu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyLCM_parcel

Lagrangian Cloud Model(LCM) parcel model for education purposes.

Note: The entrainment module is still under development. I recommend not using it yet.

Installation

  1. Install anaconda3 for python / jupyter https://docs.anaconda.com/

  2. Create a conda environment for PyLCM (Mac/Linux)

conda create -n PyLCM
  1. Activate conda env (Mac/Linux).
conda activate  PyLCM
  1. 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

Model Run

To run the PyLCM model, follow these steps:

  1. Activate conda env (Mac/Linux).
conda activate  PyLCM
  1. run jupyter
   jupyter notebook
  1. run `PyLCM_edu.ipynb' from your browser

Usage

  • 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_process module, such as analysis.py and print_plot.py. Users can use or modify these codes to create the desired plots.

About

LCM parcel model for an education purpose.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors