• This repository has been archived on 15/Nov/2023
  • Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    Jupyter Notebook
  • License
    Apache License 2.0
  • Created about 8 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

X lines of Python

xlines

x lines of Python

An Agile blog series exploring common geosciencey workflows in x lines, where ideally x ≤ 10 but not necessarily.

Terms of engagement

  • One line per English-language sentence.
  • No semi-colons or line continuation.
  • Lines can be broken for readability, especially sequence items, or function arguments.
  • import statements and comments don't count. I'm really interested in the bits of code that do the thing, whatever that is.
  • But we can only import libraries on conda-forge or PyPi.
  • Plotting and other kinds of inspection don't count, unless they're central to the point of the code. They're more just for seeing what you're doing.

Running the notebooks

Run in Binder

Binder

Run in Colaboratory

Open In Colab

Running the notebooks locally

If you want to run the notebooks on your own computer, I recommend installing miniconda, or Anaconda. To make an environment for this notebook, download this repo, then you can do this in a terminal (or cmd prompt on Windows):

# First, cd to the repo folder you just downloaded.

# Make the environment:
conda env create -f environment.yml

# Start it:
conda activate xlines

# Add it to Jupyter's kernels:
python -m ipykernel install --user --name xlines

# Now start Jupyter Notebook:
jupyter notebook

More Repositories

1

welly

Welly helps with well loading, wireline logs, log quality, data science
Python
313
star
2

bruges

Bag of really useful geoscience equations and stuff
Python
273
star
3

striplog

Lithology and stratigraphic logs for wells or outcrop.
Python
204
star
4

notebooks

IPython Notebooks
Jupyter Notebook
111
star
5

seisplot

Plots seismic, sorta
Python
108
star
6

geocomputing

Agile's courses
Jupyter Notebook
38
star
7

g3

Geoscience plotting functions built on d3.js
JavaScript
20
star
8

in-bruges

A walking tour of bruges
Jupyter Notebook
14
star
9

modelr

Google charts like API for Geoscience
Python
10
star
10

geotransect

Tool for summarizing data available along 2D transects.
Python
9
star
11

logio

Rescuing a DLIS reader
Python
9
star
12

jeepr

GPR utilities
Jupyter Notebook
8
star
13

visualizr

Demo app for g3.js
JavaScript
8
star
14

transform-2020-tutorial

Tutorial stuff for TRANSFORM 2020
Jupyter Notebook
8
star
15

fuzzylas

Fuzzy search for well log curves and tools
Python
7
star
16

snowfake

Fake snow flakes: snowfakes!
Python
7
star
17

geocomp-1day

Geocomputing notebooks for 1 day course
Jupyter Notebook
7
star
18

digilead

Digital Leadership course
Jupyter Notebook
6
star
19

rocky-playground

An adaptation of the TensorFlow Playground, with some new datasets and activation functions.
TypeScript
5
star
20

agilescientific.github.io

Pages site for Agile Geoscience
Python
4
star
21

LASinfections

Examples of LAS files that have been infected, diseased, broken, and in need of treatment.
4
star
22

freqbot

Skunkworks flask app for random geophysics stuff
Python
4
star
23

recipes

Well data recipes
Lasso
3
star
24

kosu

Build and maintain courses using Jupyter Notebooks.
Python
3
star
25

groningen

Reading the Groningen data
Jupyter Notebook
3
star
26

pickthat

Toolkit for the Pick This web API
Python
3
star
27

Texture_classification

Texture classification of seismic data
MATLAB
3
star
28

seismobit

A real-time seismograph animation using a micro:bit
Python
2
star
29

AVO_app

Geophysical analysis app for Android; AppInventor project
2
star
30

Wiki_bots

Bots for MediaWiki wikis
Python
2
star
31

geocomp-public

Geocomputing class material
Jupyter Notebook
2
star
32

seg2io

Read SEG-2 files
Python
1
star
33

agile.geosci.ai

Flask app for polarity app and bruges logo
Python
1
star
34

Volume_app

Subsurface volumetrics and risking
1
star
35

ricky

🌊 Seismic wavelets
Python
1
star