jtwhite79 / decision_support_analysis_notebooks

17 stars 4 forks source link

Theory and Practice of Decision Support Modeling with PEST++ and pyEMU

Learning approach: In the interest of making this class accessible to as many people as possible, and embracing the distance-learning format, the course materials for several of the more advanced workflow topics is optional. That is, if you are interested in understanding how to implement these workflows, then you are encouraged to complete the associated jupyter notebook(s) before the meeting. Then during meeting, we can cover any questions or comments you have about the implementation, as well as discuss the results of the analysis and implications. In this way, those who are more interested in the results/higher-level interpretation do not need to complete the analyses on their machines.

What will be covered:

Semi-prerequisites (nice to have's):

Installation and course prep

Course Materials:

https://github.com/jtwhite79/decision_support_analysis_notebooks

Step-by-step instructions:

  1. If you do not already use git, please install it following directions here: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git You may accept all defaults.

  2. Clone the course repo (first sign up for github if you haven't before). On windows, open git bash, navigate to the location where you want to course materials to be, then type:

git clone https://github.com/jtwhite79/decision_support_analysis_notebooks

This will create a local copy of the git repository in a directory called decision_support_analysis_notebooks.

  1. If you already have Anaconda Python installed, you can skip this step. If not, please install Miniconda from this link: https://docs.conda.io/en/latest/miniconda.html Be sure to get the python 3.X and the 64-bit links for your particular operating system. Also, experience has shown that it is best to install miniconda/anaconda not on C: since IT likes to lock down file access to C:, so if you have separate partition or drive, installing miniconda/anaconda there can make life easier.

  2. If you are on Windows, from the start Menu, open an Anaconda prompt and navigate to the course materials repo you cloned above (linux and mac, just standard terminal). Then type conda update conda. Then type

conda env create -f environment.yml.

This will create an anaconda environment called pyclass that is configured with all the python dependencies needed for the class. (Note, we may install a couple other things during the class as well)

To start up the jupyter notebook:

If you can start the jupyter notebook instance successfully, please open these two notebooks and from the cell menu, select run all to make sure your installation is working (in order and wait for the first one to finish!):

101: Mechanics of PEST and Other Course Prelims

Part 1:

Part 2:

201: Theory, Concepts and Practice of Decision Support Modeling with PEST++ and pyEMU

Part 1:

Part 2:

Part 3:

Part 4: