Step 5 - Deploy and run the Web Processing Service locally¶
Now that the data transformation jupyter streaming executable is done, let’s deploy it locally and expose the service as a Web Processing Service
- Use the Jupyter Launcher to open a Terminal and type:
cd /workspace/wfp-01-01-01-n
Then do:
mvn clean install
This will deploy the data transformation application files (the ones
created by the archetype instantiation and input.ipynb modified to
implement the data transformation workflow under the /application
folder:
First type the address of your sandbox and click on the User Dashboard link:
Then activate the Invoke tab:
This is the data transformation Web Processing Service deployed locally
- Scroll down and click on Run Process to launch the data transformation application. It will download the Sentinel-1 product, instanciate the input.ipynb notebook (saved as result.ipynb), execute it and publish the results generated (backscatter tif file) along side with the result.ipynb and a stage-in notebook.
Wait for the conclusion of the process:
This is how it will look like when done:
This interface shows the results produced:
To reproduce what happened during the process submitted earlier:
- Download the result.ipynb and stage-in.ipynb to your local machine
- Upload them to your workspace
- Run first the stage-in.ipynb notebook and then the result.ipynb.
The next step, Step 6 - Release the data transformation application,
will use the ciop-release
utility to create a release of the data
transformation application.