Skip to content

bayeshack2016/sysj

Repository files navigation

Night Lights

Explore: https://nightlights.terminal.com/

Example: Take a look at the growth in Loving, Texas from 2014 to 2016 (this is the leading county in population growth and net domestic migration rate in the US).

VIIRS Suomi NPP satellite US 2012

Bayes Hack 2016

Team:

  • Yang Hong (yanghong.ee @gmail.com)
  • Sasha Targ (sasha.targ @ gmail.com)
  • Steven Troxler (steven.troxler @ gmail.com)
  • Jeff Wu (wuthefwasthat @ gmail.com)

Data sources

http://ngdc.noaa.gov/eog/viirs/download_monthly.html

Also see data/.

Setup

We assume you already have some basics, like git, python2.7, pip.

Then:

  1. Git clone this repo git clone https://github.com/bayeshack2016/sysj

  2. Download the python dependencies

    pip install -r requirements.txt
    

    NOTE: for the lxml module, you will need libxml e.g. on ubuntu:

    sudo apt-get update -y
    sudo apt-get install -y python-lxml
    
  3. Download the data.

    Try

    python scripts/download_viirs_data.py -h
    

    to see how to use the script.

    As an example, to download only February data in North America:

    python scripts/download_viirs_data.py --months=2 --tiles=75N180W --outfolder=viirs_data --live
    
  4. Install the usdata library pip install -e usdata

Run webserver

cd site
python server.py

The future

  • show NTL (night-time light) data and change over time (give us 1 more hour and we'll have these change in infrared light heatmaps done!)
  • analyze whole world (using world bank PPP/CPI data), with focus on developing countries (NTL should be stronger signal there than in developed countries)
  • show entire country view for state-to-state comparisons
  • show entire state view for county-to-county comparisons
  • automated pipeline that takes in raw VIIRS images, and generates both NTL statistics and powers the web app for data exploration

About

#DOC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors