Skip to content

Commit

Permalink
Merge pull request #6 from Open-EO/master
Browse files Browse the repository at this point in the history
updates
  • Loading branch information
pramitghosh authored Apr 5, 2019
2 parents 0676aca + 0077270 commit 679be02
Show file tree
Hide file tree
Showing 38 changed files with 51 additions and 42 deletions.
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: openEO.R.UDF
Type: Package
Title: User-defined functions (UDF) in R on Earth observation data in cloud back-ends
Version: 0.0.4
Date: 2019-01-07
Version: 0.1
Date: 2019-04-05
Authors@R: c(person(given = "Pramit", family = "Ghosh", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-1852-5951")),
person(given = "Florian", family = "Lahn", email = "[email protected]", role = c("aut", "ctb")))
Maintainer: Pramit Ghosh <[email protected]>
Expand All @@ -27,6 +27,7 @@ Imports:
Suggests:
RStoolbox,
Rcpp,
rmarkdown
rmarkdown,
knitr
RoxygenNote: 6.1.1
VignetteBuilder: knitr
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,12 @@ Here are some test results for operations on a timeseries (3 timesteps with a te

Aggregation over bands (using `max()`) and time (using `mean()`) using Strategy 1 and 2A
![Aggregation operations using Strategy 1 and 2A](https://github.com/Open-EO/openeo-r-udf/blob/master/data/s1v2a.png)
Reprojection (using `stars::st_warp()`) and Unsupervised Classification (using `RStoolbox::unsuperClass()`) using Strategy 2B and 3
![Reprojection and Unsupervised Classification using Strategy 2B and 3](https://github.com/Open-EO/openeo-r-udf/blob/master/data/s2bv3.png)
![Legend](https://github.com/Open-EO/openeo-r-udf/blob/master/data/s_legend.jpeg)
Calculation of NDVI, CRS transformation (using `stars::st_warp()`) and Unsupervised Classification (using `RStoolbox::unsuperClass()`) using Strategy 2B
![Calculation of NDVI, Reprojection and Unsupervised Classification using Strategy 2B](https://github.com/Open-EO/openeo-r-udf/blob/master/data/s2b.png)
Calculation of NDVI, CRS transformation (using `stars::st_warp()`) and Unsupervised Classification (using `RStoolbox::unsuperClass()`) using Strategy 3
![Calculation of NDVI, Reprojection and Unsupervised Classification using Strategy 3](https://github.com/Open-EO/openeo-r-udf/blob/master/data/s3.png)

Further details regarding these strategies and their implementations may be found on these [slides](https://pramitghosh.github.io/slides/defense_25-1.html) and in [Ghosh et al., 2018](https://www.researchgate.net/publication/330533820_Running_user-defined_functions_in_R_on_Earth_observation_data_in_cloud_back-ends).
Further details regarding these strategies and their implementations may be found on these [slides](https://pramitghosh.github.io/slides/defense_25-1.html) and in [Ghosh et al. (2018)](https://www.researchgate.net/publication/330533820_Running_user-defined_functions_in_R_on_Earth_observation_data_in_cloud_back-ends).

### Testing
Examples of HTTP POST bodies (as JSONs) for strategies 2A, 2B and 3 can be found in [pramitghosh/openeo-r-udf-examples](https://github.com/pramitghosh/openeo-r-udf-examples). Manuals on how to do that is available on the Wiki.
Binary file modified data/s1v2a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/s2b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/s3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docker/install_package_with_dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ install.packages("devtools",dependencies=TRUE)
library(devtools)

install.packages("plumber",dependencies=TRUE)
install.packages("stars", dependencies = TRUE)
install_version("stars", version = "0.2-0")
install.packages("base64enc", dependencies = TRUE)
install.packages("zip", dependencies = TRUE)

Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/file-based.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/openEO.R.UDF.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/web-based_JSON.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/web-based_base64.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/man/figures/strategy_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/man/figures/strategy_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/man/figures/strategy_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/reference/binary2stars.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/reference/figures/s1v2a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/reference/figures/s2b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/reference/figures/s3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/figures/strategy_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/figures/strategy_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/figures/strategy_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/reference/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/plot_response.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/raw2stars.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/read_generics.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/run_UDF.binary.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/run_UDF.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/run_UDF.json.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/run_UDF.json.raw.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 679be02

Please sign in to comment.