Skip to content

Notebooks with basic - intermediate geoscience related scripts with the main purpose of learning, teaching and exploring python solutions for the earth sciences

Notifications You must be signed in to change notification settings

unal-seg/python-geosciences

Repository files navigation

Programming for geology using python

Environment settings

Create a python conda environment with full anaconda packages and aditional ones listed in requirements.txt

  • conda create --name segpy python=3.8 anaconda
  • pip install nb_conda_kernels
  • conda activate segpy
  • python -m ipykernel install --user --name segpy
  • pip install -r requirements.txt

Notebook Contents

  • 00-intro.ipynb - Introduction to python with examples in geological contexts.
  • 01-functions.ipynb - Introduction to functions and use in geological equation modeling.
  • 02-data-visualization.ipynb - Basic data visualization using matplotlib and related packages.
  • 03-visualizing-dems.ipynb - Using matplotlib, pandas and numpy to access dem data and visualizing it.

Notebooks in detail

00-intro.ipynb

01-functions.ipynb

02-data-visualization.ipynb

03-visualizing-dems.ipynb

Data wrangling and visualization of Digital elevation models

  1. Using numpy, imageio and pandas to transform DEM data from a tif file to a npy array and then to a pandas dataframe
  2. Using matplotlib and interactive ipywidgets to plot data both static and interactively

About

Notebooks with basic - intermediate geoscience related scripts with the main purpose of learning, teaching and exploring python solutions for the earth sciences

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published