The platform has been developed and tested in a Windows 10 environment connected to the Internet (a connection is required to operate Google Earth Engine API calls).
-
Clone the MLED repository and extract it in a custom location.
-
Download the MLED_database.7z file from the M-LED Zenodo repository and unzip it to a path on your local machine. Ensure to unzip the database in a location where there are several gigabytes of space available, otherwise the process will file. The folder contains data for replicating the Kenya country study.
-
The M-LED platform is written in the R scientific computing language, but in some processing steps it depends on PyQGIS (Python + QGIS algorithm toolbox). A handy automatic wizard batch file (.\installdependencies.cmd) is included in the root of the M-LED repository. The file ensures that the software requirements are met on the local machine, and if they are not, it prompts the user to download and install the required software and libraries.
NB: These steps are only necessary when setting up the environment for the first time. NB2: The .\installdependencies.cmd
file MUST be run with administrator priviledges (right click -> run as administrator)
-
Open the MLED_hourly.R in RStudio (R 3.6+)
-
Open the manual_parameters.R file and set the correct file path for where you have extracted the M-LED database input data and define other local parameters
-
Run the whole MLED_hourly.R script or source its individual modules
-> See the repo's Wiki (https://github.com/giacfalk/M-LED/wiki)
The results of the M-LED platform constist of:
- A geodatabase (clusters_final.gpkg) (- A collection of raster files (*.tif) with hourly, sector-specific, monthly-variant loads)
- Figures summarising the results in the 'results_figures' folder in the repo home folder.
- Open a public query on this repo.
- Email [email protected]