X lines of Python
An Agile blog series exploring common geosciencey workflows in x lines, where ideally x ≤ 10 but not necessarily.
import
statements and comments don't count. I'm really interested in the bits of code that do the thing, whatever that is.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