Examples of 1D and 2D inversions for Geoscience Without Border Projects at Myanmar
You can run these notebooks online through mybinder by clicking on the badge below:
Step 1: Install Anaconda
To run the notebooks locally, you will need to have python installed, preferably through anaconda. Please download Python 3.7 or greater.
Step 2: Download the apps
Once you have downloaded and installed anaconda, you can then download this repository through: https://github.com/simpeg-research/gwb-dc-inversions/archive/master.zip, and the unzip the directory somewhere convienent (e.g. your desktop).
If you are familiar with
git, you can clone this repository; from a command line (if you are on windows, please use the anaconda terminal that came with the installation)
git clone https://github.com/simpeg-research/gwb-dc-inversions.git
Step 3: Install Dependencies
Open the anaconda prompt (if on windows) or a terminal otherwise.
cd into the
gwb-dc directory. Note that you will need to replace
[path] with the path to where you downloaded the apps to. You can find this by opening up a file-browser where you unzipped the directory and copying that path:
To setup your software environment, please use conda forge and install SimPEG:
conda install -c conda-forge/label/beta simpeg
If this is not successful, try:
conda install -c conda-forge/label/beta -c conda-forge simpeg
Step 4: Launch Jupyter
You can then launch Jupyter
Jupyter will then launch in your web-browser.
Running the notebooks
Each cell of code can be run with
shift + enter or you can run the entire notebook by selecting
Run All in the toolbar.
For more information on running Jupyter notebooks, see the Jupyter Documentation
If you are new to Python, I highly recommend taking a look at:
Please make an issue if you encounter any problems while trying to run the notebooks.