This repo is a basic Docker container with geospatial capapbilities for Python. More specifically it
- install Python 3.12
- installs key geospatial packages:
rasterio
,xarray
,rioxarray
If going the dev container route, you will need the following:
- Docker (cli, but optionally the desktop app)
- VSCode, and the
Dev Containers
extension
After cloning the repo, you will need to open it in VSCode ( code .
in the command line) and run the following command:
Cmd + Shift + P -> Dev Containers: Reopen in Container
or
Cmd + Shift + P -> Dev Containers: Rebuilt Container
- Activate the correct Python environment
conda activate GeospatialPyContainer
- Start notebook with
jupyter notebook --allow-root --NotebookApp.token=''
├── .devcontainer 📁
│ └── devcontainer.json
📄 mounts external folders, ...
│ └── Dockerfile
📄 mounts external folders, ...
│ └── python_environment.yaml
📄 *handles
│ └── scripts 📁 scripts to be run during built
│ └── handle_startup_sh
📄 ?
│ └── *install_git_and_ssh.sh
📄 handles, git, ssh, and executables
installation of python and python packages*
├── simulation 📁 files for simulations within container
│ └── *.py
📄 Runs python files. Conda environment of yaml file needs to be activated and script run in terminal with conda