Skip to content

Get historical or current weather, on Mars, from the Curiosty Rover

Notifications You must be signed in to change notification settings

npsaunders/Mars-Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MARS WEATHER APP

This app displays historical Martian weather from data collected by the Curiosity rover. The user enters/selects a date and clicks submit. The AJAX API request returns data in JSON format which is then parsed to populate the table.

There are some additional slides showing an animated image of the rover, and the Rover Environmental Monitoring Station (REMS), that take the weather readings and some additonal weather slides from the NASA/JPL websites. These are all on a carousel created using Bootstrap.

The app is responsive and can be viewed on a cell phone.


Background:

The Curiosity Rover landed on Mars in August of 2012. It has been gathering data since then. This app utilizes the MAAS2 API which returns JSON data, of weather measurements, based on an entered Martian sol date (with 08/06/2012 being sol 1 for this mission).


Getting Started

JavaScript must be enabled in the browser for this page to work.

Enter/select a date and click submit. If there is available data, for that day, it will be displayed in the table.


Technologies Used

  • HTML5
  • CSS3
  • JavaScript
  • jQuery
  • Bootstrap
  • AJAX

Screenshots


main page


Future Enhancements

  • Looking to see if it's possible to create an interactive map, of the rover waypoints/sols, and let the user click the waypoint to get the weather at that location. Due to Same Origin Policy, I cannot directly interact with the iframe, of the NASA map, to get the sol based on location.

Same Origin Policy

Mars Interactive Map

  • Look at carousel slide image heights to reduce "jumping" when clicking the carousel buttons.

Other Interesting Links

Curiosity Rover

Curiosity Rover Simulator

Location of Mars satellites and rovers - interactive

NASA-AMMOS/MMGIS (Multi-Mission Geographical Information System)

NASA Mars Rover Games


References/License Info

StackOverflow