Solarize

High-Level Project Summary

Our project is an app that provides easily readable data to the general public by simplifying data fetched from the NASA POWER API, in the form of a user-friendly web interface that can be installed on any device with an internet connection and a browser (such as Chrome).

Detailed Project Description

Process of the App


  1. Checks if user's location is in cache (if not, fetches and saves position in cache)
  2. Sends request with user's position and parameters to randomly chosen proxy (we have 9)
  3. The proxy forwards the request to NASA POWER API
  4. The proxy receives the response from API and forwards it to the browser.
  5. The browser displays a chart with data (processed by chart.js)

(requests must pass through proxies to bypass CORS policy)


Languages Used:


  • JavaScript
  • HTML
  • CSS

Tools:


  • NASA POWER DAV
  • Heroku

Space Agency Data

We used the NASA Prediction Of Worldwide Energy Resources (POWER) to access six parameters:


  • ALLSKY_SFC_SW_DWN (All Sky Surface Shortwave Downward Irradiance);
  • T2MDEW (Dew/Frost Point at 2 Meters);
  • QV2M (Specific Humidity at 2 Meters); PRECTOTCORR (Precipitation Corrected);
  • T2M (Temperature at 2 Meters);
  • WS10M (Wind Speed at 10 Meters)

Hackathon Journey

  • Used Geolocation to automatically fetch the user’s location
  • Used reactjs + chart.js to display data
  • Fixed bug that I created while fixing the previous bug, hoping it doesn't turn into a new paradox
  • Set up 9 proxies to handle API rate-limiting/inexistent CORS policy
  • Since the Earth will be swallowed by the Sun in 7.59 billion years this data will be useless by then.

We would like to thank our friend Tommaso "Bòh" Accornero for giving us suggestions before the hackathon

Global Judging

This project has been submitted for consideration during the Judging process.