Skip to content

AlbCa/GeophysicalTools

Repository files navigation

GeophysicalTools

Teaching material and exercises

⚙️ Setup Instructions

To ensure reproducibility and modularity, three separate conda environments are used — one for each main module.

1. Clone the repository

Open your terminal/Anaconda prompt and run this:

git clone https://github.com/AlbCa/GeophysicalTools.git
cd GeophysicalTools

2. Create the environments

The requirements are stored in the main folder (GeophysicalTools/) as .yml files, used to describe an environment — that is, all the packages and dependencies used to install them.
You can simply run the following commands:

conda env create -f electro.yml		# for electro-magnetic methods
conda env create -f seismic.yml		# for seismic methods
conda env create -f gpr.yml			# for gpr

3. Activate the environment

Before running a notebook, activate the corresponding environment:

conda activate electro
conda activate seismic
conda activate gpr

--- 💻 Solving errors

If you encounter errors when creating the environments, you can manually create and install them as follows:

1. electro

conda create -n electro -c gimli -c conda-forge "pygimli>=1.5.0"
conda activate electro
conda install jupyterlab
pip install resipy emagpy

2. seismic

conda create -n seismic -c gimli -c conda-forge "pygimli>=1.5.0"
conda activate seismic
conda install jupyterlab
pip install scipy obspy disba evodcinv tqdm 

3. gpr

Follow the instructions to install GPRPy.

---

Remember that missing dependencies or libraries can always be managed by pip which lets you download, install, upgrade, and remove packages:

pip install package_name

---

4. Launch Jupyter

Once the desired environment is active, start Jupyter:

jupyter lab

📘 Basic Python & Jupyter Instructions

For dummy users, a quick guide is available here:
📄 Python & Jupyter Guide
and a "Getting started Notebook" here

About

Teaching matherial and exercises

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages