Skip to content

SEtting up a Docker container with basic geospatial processing capabilities to use in geospatial data science projects

Notifications You must be signed in to change notification settings

SchmidtDSE/GeospatialPyContainer

 
 

Repository files navigation

SyncroSIM

This repo aims to run the SyncroSim software in a Docker container. The goal is to run external Syncrosim libraries and scenarios from the command line.

How to set up this container

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

Running simulations

While building the Dokcer container, SyncroSim is installed an executed once, so if this is sucessful it should run in principle. Once the container is build you can execute in from the terminal using

mono syncrosim_linux_3_0_9/SyncroSim.Console.exe [command][argument, argument, ...]

To execute the SagebrushSteppeRestoration library, run

./simulation/run_syncrosim_scenario.sh

The library is mounted from external, as it is quite large. You would need to download this and mount accordingly

  • This currently does not run, because we have not installed the ST-SIM package!

Folder structure of the Docker container

├── .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

│           └── *install_syncrosim.sh📄

installation of python and python packages*

├── simulation 📁 files for simulations within container

│       └── *run_syncrosim_scenario.sh📄 *Run a syncrosim scenario from the library *

├── syncrosim_linux_3_0_9 📁 contains the .exe and all files to run it

About

SEtting up a Docker container with basic geospatial processing capabilities to use in geospatial data science projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 46.6%
  • Shell 33.5%
  • Python 19.9%