Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.61 KB

README.md

File metadata and controls

35 lines (29 loc) · 1.61 KB

pyrosar-otf

On the fly production of Sentinel-1 RTC Backscatter using pyroSAR (download -> process -> upload). The project makes use of the pyrosar tool - https://github.com/johntruckenbrodt/pyroSAR

Requirments

  • Git
  • Docker

Setup

  • Add user credentials to the files stored in the credentials folder
  • run the setup script to build the docker container
sh setup.sh

Instructions

  • set scene, path and processing details in config.yaml
  • run process scripts
sh run_process.sh

Mount the correct directories in docker

WARNING - current setup mounts the /data folder inside the container. This assumes all of the paths where data will be accessed are in the /data folder (e.g. /data/scenes, /data/pyrosar ...). If data is stored across multiple folders without a common root folder (such as /data), the run_process.sh script will need to be changed to mount these folders to /data within the container. The workflow also mounts the local aws files in the container.

For example, if scenes are downloaded to /my/path/scenes, and other folders are all in /data the run_process.sh script will look like:

docker run -v /data:/data -v ${PWD}:/app/ -v $HOME/.aws:/root/.aws -v /my/path/scenes:/my/path/scenes -it pyrosar