Skip to content

Instantly share code, notes, and snippets.

@enguer
Last active April 10, 2019 09:17
Show Gist options
  • Save enguer/cd63c7eb7aabff1835c4b1071a52097a to your computer and use it in GitHub Desktop.
Save enguer/cd63c7eb7aabff1835c4b1071a52097a to your computer and use it in GitHub Desktop.
NextGEOSS second training - Integration of your data processing algorithm onto the NextGEOSS Cloud platform (Part1)

NextGEOSS Training - Integration of your data processing algorithm onto the NextGEOSS Cloud platform (Part1)

Work session with Cloud resources

An application template is provided by this training material (with the main application wrappers defined), and you will learn to include a toolbox (doing the actual data processing step) as part of it.

Prerequisites

Get the Application

Log on the Developer Cloud Sandbox,

git clone https://gitlab.com/ec-better/common/applications/ewf-sen2cor.git
cd ewf-sen2cor
sudo yum install miniconda -y
sudo conda update conda -y
sudo conda install -y --file /home/<username>/ewf-sen2cor/src/main/app-resources/dependencies/python/packages.list
mvn install

Execute the Application

To submit the application with its default parameters, run the command below in the Developer Cloud Sandbox shell:

ciop-run

Or invoke the Web Processing Service via the Sandbox dashboard:

  • Open a browser,
  • Type http://sandbox-host (Hint: according to the Prerequisites: Preparatory Step 2/2, see Cloud Dashboard access and Sandbox deployment to get instructions about how to obtain the sandbox-host value),
  • Click on the link User Dashboard,
  • Click on the tab Invoke,
  • Click on the link ewf-sen2cor,
  • Leave the default parameters and click on Run process

Monitor and Debug the Application

  • Open a browser,
  • Type http://sandbox-host,
  • Click on the link User Dashboard,
  • Click on the tab Debug,
  • Click on the Oozie run item,
  • Click on the info icon on the block with the label n-sen2cor,
  • Click on the link consoleUrl,
  • Follow the guidance provided by your instructor.

Developer Cloud Sandbox online documentation

Cloud Sandbox - Getting Started Guide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment