| Information | |
|---|---|
| When | November 7, 2024 |
| Slides (web) | ubcgif.github.io/2024-aqgeo-potential-fields-tutorial |
| Slides (PDF) | slides.pdf |
| Forward modelling notebook | notebooks/forward.ipynb |
| Inversion notebook | notebooks/inversion-sparse.ipynb |
Slides are being hosted in GitHub Pages, you can see them by visiting ubcgif.github.io/2024-aqgeo-potential-fields-tutorial.
Alternatively, you can download this repository as a zip file, or
clone it with git:
git clone https://github.com/ubcgif/2024-aqgeo-potential-fields-tutorialAnd then serve them locally by opening the index.html file in your browser,
or running a local web server with:
python -m http.serveror
livereloadThese commands will provide you a URL you can open in your browser to see the slides.
In order to run the notebooks you need to install a Python distribution like Miniforge, Anaconda or Miniconda.
Follow the instructions provided by any of them to install it in your system.
Note
In the following steps we'll instruct you to run some commands. They are meant to be run in a terminal (for Mac and Linux users), or in an Anaconda Prompt or Miniforge Prompt if you are running Windows.
Then, download this repository as a zip file, or clone it with git:
git clone https://github.com/ubcgif/2024-aqgeo-potential-fields-tutorialIn the downloaded folder you'll find an environment.yml file that you can use
to create a conda environment by running:
conda env create -f environment.ymlOnce the new environment is created and all the packages are installed, we need to activate the environment with:
conda activate aqgeo-2024-potential-fieldsAfter we activated the environment, let's start JupyterLab, where we can open, edit and execute the notebooks:
jupyterlabI will automatically open a new tab in your browser with the Jupyter Lab, where
you can navigate into the notebooks folder and open any of the notebooks
you'll find there.
Important
It's important not to close the terminal (or Prompt) window while you are using Jupyter Lab. Closing the terminal will make Jupyter Lab to quit.
The slides and their content are provided under the CC-BY License.
The code under the notebooks folder is provided under the MIT
License.