IRDG2OI / geoflow-g2oi

geoflow-g2oi: repository hosting configurations and metadata as part of the G2OI project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

geoflow-g2oi: repository hosting configurations and metadata as part of the G2OI project

License:GNU Affero General Public License v3.0


Languages

Language:Jupyter Notebook 60.7%Language:R 25.0%Language:Scheme 14.3%