Collection of open tools and training materials for using Nighttime Lights in high resolution measures of sustainable development
this tutorial uses conda package manager
- make sure conda is installed on your machine
- clone this repo
- from root directory of this repo (i.e. where this file is located),
create conda env using the existing
environment.yml
file, from CLI:conda env create --prefix ./venv -f environment.yml
- Make sure
onl/_config.yml
andonl/_toc.yml
are updated to include all files being published
To build from root directory:
jupyter-book build onl
You can view this build locally (it is not yet published) by opening ./_build/html/index.html
in your browser. Execute jupyter-book build onl
to refresh.
To publish book to Github pages or to update the published content, (from root directory):
ghp-import -n -p -f onl/_build/html
This will push content to the live link at: https://worldbank.github.io/OpenNightLights/welcome.html
Note: as long as this repo is not publicly accessible, users will not be able to access the notebooks in Colab, a popular platform (a temporary solution was developed for the Geo4Dev conference, but it is not viable long-term). The published content will be viewable by anyone and the notebooks can be downloaded and executed locally however.
This work is licensed under a Creative Commons Attribution 4.0 International License.