Skip to content

Latest commit

 

History

History
73 lines (47 loc) · 2.08 KB

README.md

File metadata and controls

73 lines (47 loc) · 2.08 KB

ACKNOWLEDGEMENT

This project is being developed as part of the G2OI project, cofinanced by the European Union, the Reunion region, and the French Republic.

GEOFLOW CONFIGS

Please first set up following configuration to share your workflow

USAGE

  1. Clone repository:
git clone -b sample https://github.com/IRDG2OI/geoflow-g2oi
  1. Configure environment file:

a) Edit config file

cd geoflow-g2oi
cp env.sample .env && nano .env # Edit file to match your credentials and preferences

In config.json, variable "hide_env_vars": "*" allow to hide contents of .env file from logs or system printenv.

b) Optionnal : create a new branch with your name in case you would like to push your configs

git branch $USER # Create branch with $USER name
git checkout $USER # Switch to $USER branch
  1. Launch RStudio
  • Execute GeoFlow
library(geoflow) # Load geoflow inside R
executeWorkflow("/path/to/geoflow-g2oi/config.json")

Required software installation

To use this project , some R library are needed, below is a sample R script to install it: (replace 16 by your numbers of vCores)

require("remotes")
packagithub <- c("eblondel/zen4R", "eblondel/geometa", "eblondel/geosapi", "eblondel/geonapi", "eblondel/ows4R", "eblondel/atom4R", "eblondel/geonode4R", "r-geoflow/geoflow")
options(Ncpus = 16)
getOption("Ncpus", 1L)
install_github(setdiff(packagithub, rownames(installed.packages())), upgrade = c("never"), force=TRUE)
  • Note: These configs files use GeoFlow from [GeoFlow Repository]

This project is being developed as part of the G2OI project, cofinanced by the European Union, the Reunion region, and the French Republic.