Go to Part 4: Interactive Application Service |
---|
Part 3 - Upload and run your own processor
-
Create your own processor. Here we will use a shell processor "proc1.sh" (don't forget to put #!/bin/sh at the beginning). This script will take two arguments in input and write the result in a text file.
(You must use the environment variable $CTEP_OUTPUT_DIR).
2. Compress your file (tar.gz)
3. Go to the geobrowser and login with your ESA SSO account: https://coastal-tep.eo.esa.int/geobrowser/.
4. Go to the uploading processor interface https://coastal-tep.eo.esa.int/wps/ui/#/.
5. Click on the Upload button and select you compressed file.
6. Your processor is building. Please refresh the page.
7. Your processor is now ready.
8. Click on the edit button to define your processor parameters. First you will see the Info panel. Enter a name and a short description for your processor.
9. Open the Inputs panel and define your parameters (name and type).
10. Go to the execution panel and enter the path of your processor.
11. Return to the geobrowser interface: https://coastal-tep.eo.esa.int/geobrowser/. In the processor panel you will now see your processor.
12. Enter the values of input parameters. And execute your job.
13. After few minutes, your process should be done.
14. Go now to the Interactive Application Service to see your results.
15. Open an Ubuntu virtual machine by clicking on Start new.
16. Click on Start container.
17. And connect to the machine.
18. You should see the following result. Click on the file manager button.
19. Go in your basket folder.
20. Choose the folder corresponding to your last job.
21. You can see two files: the output of your process and the associated log.
22. Click on the result file and open it with the application of your choice.
23. For example LibreOffice.
24. Congratulations! You have processed your first job on the CTep!
25. You can also have a look on the log file.
Go to Part 4: Interactive Application Service |
---|