Git Product home page Git Product logo

nightlights-api's Introduction

API for India Lights

Build Status

The India Lights API shows light output at night for 20 years, from 1993 to 2013, for 600,000 villages across India. The Defense Meteorological Satellite Program (DMSP), run by the U.S. Department of Defense, has taken pictures of the Earth every night for 20 years. Researchers at the University of Michigan used the DMSP images to extract the data and provide it in tabular form. The India Lights API provides the data at convenient endpoints that allows you to look at specific time intervals and administration levels.

Browse the data at nightlights.io or try the API at http://api.nightlights.io. You can also run your own instance!

>>>> Documentation <<<<

Generating the monthly summary data

The original data set comes in the form of nightly images from the DMSP satellites, available as TIF files from NOAA. This API is powered by monthly summaries of the light output of 600,000 villages, extracted from those TIFs. The pipeline for generating the summaries is documented here.

Initializing the database

The API requires a connection to an instance of the india-lights database. You can create the database locally by following the installation documented here.

Installing the API locally

The API requires nodejs v0.12.0+

npm install

mv local.example.js local.js # <- fill in the db connection string
npm run develop

nightlights-api's People

Contributors

anandthakker avatar dereklieu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.