... | ... | @@ -14,10 +14,14 @@ Other script languages can be supported, please contact us if you have a specifi |
|
|
In a first step, we start with a very basic shell script which adds two integers and returns the result in a text file. This example illustrates how the integration mechanism works.
|
|
|
|
|
|
The shell script is the following:
|
|
|
|
|
|

|
|
|
|
|
|
Notice that it has two input variables `$1` and `$2` and that output results are placed in the `CTEP_OUTPUT_DIR` folder. The last point is important: this will allow the CTEP to know where to retrieve the processing results.
|
|
|
|
|
|
To upload the processor, create a targz archive with this file. Assuming the file is called `proc1.sh`, the command is
|
|
|
`tar cvzf proc1.tar.gz proc1.sh`.
|
|
|
|
|
|
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/](https://coastal-tep.eo.esa.int/geobrowser/).
|
|
|
4. Go to the uploading processor interface [https://coastal-tep.eo.esa.int/wps/ui/#/](https://coastal-tep.eo.esa.int/wps/ui/#) and click on the New button.
|
|
|

|
... | ... | |