Skip to content

Latest commit

 

History

History
59 lines (48 loc) · 1.08 KB

File metadata and controls

59 lines (48 loc) · 1.08 KB

Setup Instructions

Prerequisites

  • R 4.x
  • Conda (Anaconda or Miniconda)
  • Google Earth Engine account

1. Clone and restore R packages

git clone <repo-url>
cd forest-data-compilation

In R:

renv::restore()

2. Create Python environment

conda create -n rgee python=3.10
conda activate rgee
pip install earthengine-api

3. Configure Python path

Find your Python path:

which python # while conda env is active

Create .Renviron in the project root:

RETICULATE_PYTHON=/path/to/conda/envs/rgee/bin/python

4. Authenticate with GEE

earthengine authenticate

5. Run setup script

Restart R, then:

source("scripts/00_setup.R")

6. Install dashboard dependencies (optional)

The unified dashboard requires Python packages. Install from the repo root:

pip install -r requirements.txt

Launch the dashboard:

streamlit run docs/dashboard/app.py

The dashboard covers all datasets (IDS, TerraClimate, PRISM, WorldClim, FIA) with interactive schemas, pixel grid maps, and load code snippets.