Skip to content

TGSAI/mdio-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MDIO Docker Images

Docker Build

Image Description Versions
ghcr.io/tgsai/mdio Base image to use MDIO with full functionality



ghcr.io/tgsai/mdio-dask Dask image to use MDIO in Dask Distributed



Example

Pull the container image like this:

docker pull ghcr.io/tgsai/mdio

Then you can execute things like this:

docker run --rm -v $HOST_PATH:$CONTAINER_PATH \
  mdio segy import \
    -i $CONTAINER_PATH/seismic.segy \
    -o $CONTAINER_PATH/seismic.mdio \
    -loc 181,185 \
    -names inline,crossline

where $HOST_PATH is a directory you want to mount in the container as $CONTAINER_PATH. You can usually make these the same.

If you are in a UNIX based HPC environment, you may want to pass the user id and group id. This will create files with the right permissions.

docker run --rm --user $(id -u):$(id -g) -v $HOST_PATH:$CONTAINER_PATH \
  mdio segy import \
    -i $CONTAINER_PATH/seismic.segy \
    -o $CONTAINER_PATH/seismic.mdio \
    -loc 181,185 \
    -names inline,crossline

Developer Environment

The main MDIO repository has a devcontainer.json in it. Please use that for developing MDIO. No custom container necessary.

If you want to know more about it please read Development Containers.

They work with VSCode and PyCharm out of the box.