OpenNightLights
OpenNightLights copied to clipboard
Collection of tools and training materials for exploring the open Nighttime Lights repository
OpenNightLights
https://worldbank.github.io/OpenNightLights/
Collection of open tools and training materials for using Nighttime Lights in high resolution measures of sustainable development
setup for using tutorial
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.ymlfile, from CLI:conda env create --prefix ./venv -f environment.yml
for building and maintaining the site using Jupyter book:
- Make sure
onl/_config.ymlandonl/_toc.ymlare 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
Private repo status and Google Colab
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.
