Skip to content

nate-benton90/dockerize_LSeisUnix

Repository files navigation

SeismicUnix GUI (SUG) "Dockerization" Project

Welcome - before reading anything else below, note that the main functionality of this project is based on Dr. Juan Lorenzo's work at LSU (more info here. The Dockerizing portion, graphics rending (NOT GUI), versioning, docs herein and some other presumably "nice stuff" is added by Nathan Benton here. Because adoption of this tool is currently low, I can usually respond to any questions or issues you may have as soon as possible at nbenton90@gmail.com.

Main intro image

Section 1: To get started (assuming Windows OS, but more specifically AMD or Intel x86 / x64 instruction set):

  1. Install Docker Desktop (or equivalent) on your machine (if this is your first time using Docker).
  2. Clone this repo to your local machine (if this is your first time using this project).
  3. Acquire (or update) the Docker Image by running this command: docker pull nathanbenton/sug.
  4. Start the graphics rendering software with (for Windows users): & 'C:\Program Files\VcXsrv\vcxsrv.exe' :0 -ac. If you haven't installed that yet (via choco - see further note), refer to the Appendix below by clicking here: Appendix.
  5. Run Docker container with basic, non-file sharing command: docker run -it nathanbenton/sug.
  6. If you want to enable file sharing, run this command: docker run --mount type=bind,source=C:\Users\nbent\dev_testing\k8s\youtube\videos,target=/usr/local/cwp_su_all_44R22/data -it nathanbenton/sug (see email to Dr. Lorenzo for more details in regards to changing the source file path example here).

Section 2: To get started (assuming pre-2000s Apple OS with Intel x86 / x64 instruction set):

  • No official published instruction set here yet - please contact author for support.

Section 3: To get started (Apple OS with ARM instruction set):

  • No setup or support.

Appendix: DEV Notes

  • All preliminary, ongoing, and future work based strictly on initial dev provided by Dr. Juan Lorenzo (at LSU), which his work is here: https://github.com/gllore. Right now, these notes are not listed in order, and are here mostly for reference.
  1. & 'C:\Program Files\VcXsrv\vcxsrv.exe' :0 -ac = use this command to start Xserver graphics UI for Windos OS (it's advised to use the latest Windows Terminal with Powershell, so NOT CMD or something else like it).
  2. Run this command to start SUG: SeismicUnixGui (inside the running container, which you can provision with #8 below).
  3. Samples here.
  4. Use Choco (for Windows users) to install stuff for #1 above: choco install vcxsrv.
  5. For macOS users, use XQuartz instead of VcXsrv and install that via Homebrew: brew cask install xquartz (and in case one does not have brew, install it via: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)".
  6. For Linux users, use X11 and install it via: sudo apt-get install x11-apps.
  7. To acquire the Docker image, run this: docker pull nathanbenton/sug.
  8. To run the container with file sharing enabled and interacting with it directly, run this command (which is similar to the initial one, which is docker run -it nathanbenton/sug): docker run --mount type=bind,source=C:\Users\<YOUR_USERNAME>\...,target=/usr/local/cwp_su_all_44R22/data -it nathanbenton/sug (see email to Dr. Lorenzo for more details).
  9. Note that this file is to automatically handle all the initial prompts thrown from Seismic Unix during the install/config: ./install_cwp.exp.
  10. In order to see any graphics from the container, make sure you have Xserver (or equivalent software for other non-Windos OS) running.
  11. This is the unzipped SU download (i.e. SeisUnix-master) from here: https://github.com/JohnWStockwellJr/SeisUnix.
  12. Also, this is the unzipped folder download (i.e. sioseis-2024.1.1) from here: https://sioseis.com/index.html.
  13. See all TODO notes to understand just how much stuff needs fixing and enhancing for this project.

About

This tool takes existing software packages and modernizes its ease-of-use for others in such a way that it's basically plug-and-play.

Topics

Resources

Stars

Watchers

Forks

Contributors