-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
16 changed files
with
172 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,25 +17,17 @@ script: | |
before_deploy: | ||
- concat-json-files "*.json" -t "processes.json" | ||
- git clone --branch gh-pages https://[email protected]/Open-EO/openeo-processes.git gh-pages | ||
- cd gh-pages | ||
- | | ||
if [[ $TRAVIS_BRANCH == 'master' ]] ; then | ||
cp ../index.html index.html | ||
cp ../processes.json processes.json | ||
fi | ||
- | | ||
if [[ $TRAVIS_BRANCH == 'draft' ]] ; then | ||
rm -rf draft | ||
mkdir -p draft | ||
cp ../index.html draft/index.html | ||
cp ../processes.json draft/processes.json | ||
rm -rf gh-pages/draft | ||
mkdir -p gh-pages/draft | ||
rsync -rv --exclude=gh-pages --exclude=tests . gh-pages/draft/ | ||
fi | ||
- | | ||
if [ -n "$TRAVIS_TAG" ] ; then | ||
rm -rf $TRAVIS_TAG | ||
mkdir -p $TRAVIS_TAG | ||
cp ../index.html $TRAVIS_TAG/index.html | ||
cp ../processes.json $TRAVIS_TAG/processes.json | ||
rm -rf gh-pages/$TRAVIS_TAG | ||
mkdir -p gh-pages/$TRAVIS_TAG | ||
rsync -rv --exclude=gh-pages --exclude=tests . gh-pages/$TRAVIS_TAG/ | ||
fi | ||
deploy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"summary": "Check for `null` values", | ||
"description": "Check whether the array contains a `null` value.", | ||
"process_graph": { | ||
"apply": { | ||
"process_id": "array_apply", | ||
"arguments": { | ||
"data": { | ||
"from_parameter": "data" | ||
}, | ||
"process": { | ||
"process-graph": { | ||
"is_null": { | ||
"process_id": "is_nodata", | ||
"arguments": { | ||
"from_parameter": "x" | ||
}, | ||
"result": true | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"find": { | ||
"process_id": "array_contains", | ||
"arguments": { | ||
"data": { | ||
"from_node": "apply" | ||
}, | ||
"value": true | ||
}, | ||
"result": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"summary": "Find `null` values", | ||
"description": "Get the index of the first `null` value in an array.", | ||
"process_graph": { | ||
"apply": { | ||
"process_id": "array_apply", | ||
"arguments": { | ||
"data": { | ||
"from_parameter": "data" | ||
}, | ||
"process": { | ||
"process-graph": { | ||
"is_null": { | ||
"process_id": "is_nodata", | ||
"arguments": { | ||
"from_parameter": "x" | ||
}, | ||
"result": true | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"find": { | ||
"process_id": "array_find", | ||
"arguments": { | ||
"data": { | ||
"from_node": "apply" | ||
}, | ||
"value": true | ||
}, | ||
"result": true | ||
} | ||
} | ||
} |
Oops, something went wrong.