/flood-explorer

App that allows flood exploration

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Flood explorer

Application

Flood explorer is a visual tool that allows you to interact in real time with information about temperature, precipitation, etc., for decision making, comparison of information and visualization of historical data in both graphics and simulations.

Nasa event

Application Features

  • Statistics:

  • Generation of temperature graphs in real time with respect to the sea level of a specific location and established dates.

  • Generation of graphs of the total precipitable water with respect to a location and a range of dates in real time.

  • Simulations:

  • Simulation to obtain an estimate of precipitation according to a range of dates.

  • Simulation of cloud pressure in order to identify anomalies or patterns.

Both statistics and simulations are in real time with data that will be consulted with the Nasa APIs, POWER API and GIBS API.

Tools:

Installing live-server/http-server (NodeJS)

The NodeJS live-server package runs a temporary web server. It automatically reloads the page in your browser when any of these files change.

OS X - Linux

  • Install live-server: npm install -g live-server
  • Move your terminal to where your pages live: cd flood-explorer-web
  • Start the server: live-server
  • Open localhost:8080 in a browser or 127.0.0.1:8080 .

Windows

  • Install http-server: npm install http-server -g
  • Move your terminal to where your pages live: cd flood-explorer-web
  • Start the server: http-server
  • Open localhost:8080 in a browser or 127.0.0.1:8080 .

Node Server

Environment variable

  • In dockerfile flood-explorer/flood-explorer-server configure this environment variable and replace ${value} with your credentials. CONSUMER_* and ACCESS_* are tokens an keys of twitter.

  • EMAIL_APP=${value}

  • EMAIL_PASS_APP=${value}

  • CONSUMER_KEY=${value}

  • CONSUMER_SECRET=${value}

  • ACCESS_TOKEN_KEY=${value}

  • ACCESS_TOKEN_SECRET=${value}