Commit 29b8163a authored by jonas.hoersch's avatar jonas.hoersch

Update setup and requirements (closes #3)

parent 1f208faa
# Download # Download
You can download the tutorials with `git` with the following command (it should be public): You can download the tutorials with `git` with the following command (it should
be public):
``` ```
git clone https://git.scc.kit.edu/sp2668/esm_tutorials.git git clone https://git.scc.kit.edu/sp2668/esm_tutorials.git
``` ```
Alternatively, you can download the tutorials as compressed folder. Alternatively, you can download the tutorials as compressed zip-file from
https://git.scc.kit.edu/sp2668/esm_tutorials/-/archive/master/esm_tutorials-master.zip
# Installation Guide # Installation Guide
Install `miniconda` (or Anaconda). For instructions for your operating system see **Make sure to follow these steps BEFORE the first tutorial (The wireless WILL
https://conda.io/docs/user-guide/install/index.html be spotty with so many heavy users and we'll loose precious tutorial time)!**
Now create a new environment from the provided `requirements.yml` file. For detailed instructions see Install `miniconda` (or Anaconda). For instructions for your operating system
see https://conda.io/docs/user-guide/install/index.html
Now create a new environment from the provided `requirements.yml` file. For
detailed instructions see
https://conda.io/docs/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file https://conda.io/docs/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file
Open a terminal. Creating the environment requires the following set of commands: Open a terminal. Creating the environment requires the following set of
commands. They take time and have to download several packages!
Windows: Windows:
``` ```
conda env create -f requirements.yml conda env create -f requirements.yml
activate esm-tutorials activate esm-tutorials
conda list
``` ```
macOS and Linux: macOS and Linux:
``` ```
conda env create -f requirements.yml conda env create -f requirements.yml
source activate esm-tutorials source activate esm-tutorials
conda list
``` ```
Open a jupyter notebook with the following command in the tutorial folder (where your notebooks are): Open a jupyter notebook with the following command in the tutorial folder (where your notebooks are):
......
...@@ -7,8 +7,15 @@ dependencies: ...@@ -7,8 +7,15 @@ dependencies:
- matplotlib - matplotlib
- nb_conda - nb_conda
- numpy - numpy
- scipy
- networkx
- pandas - pandas
- python - python
- scikit-learn - scikit-learn
- pyomo
- xarray
- netcdf4
- bottleneck
- glpk
- pip: - pip:
- pypsa - pypsa
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment