Here you can find the full article Managing null values in raster data with Python, which accompanies this notebook, published on Towards Data Science (Medium).
Create environment:
python3 -m venv ./venv
Activate environment:
source ./venv/bin/activate
Install dependencies:
pip install -r requirements.txt
- “Geoprocessing with Python" by Chris Garrard