/REMS

Download weather data from the Curiosity rover on Mars and plot daily extremes of surface temperature and pressure

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

REMS

The python scripts in this repository download, process, and plot data from the REMS weather sensors onboard the Curiosity Rover in Gale Crater, Mars. The rover has been rolling around collecting measurements since August 2012. The data quality is not great, with a fair amount missing or questionable, but it's interesting nevertheless.


Looking in the scripts directory:

  • download_rems.py uses beautiful soup and multiprocessing to scrape the Planetary Data System's repository of REMS data and downloads finalized (processed) data into a csv file for each sol of measurements. The data in each column of the target files (like this one) is described in this file.
  • process_rems.py reads the csv files created by download_rems.py and writes the data of interest into binary files for more efficient storage and fast read-in.
  • plot_rems.py makes a couple of plots using the pressure and temperature data from the sensors.

REMS cycles!

This plot shows the daily minimum, mean, and maximum values for pressure and temperature over several Mars years. On Mars, the planetary rotation rate and day length is very similar to Earth's, but the planet's orbit is larger, so the Martian year is longer. One Mars year is about 687 sols (Mars days). Gale Crater is about 5 degrees above the equator, so a seasonal temperature cycle is evident. The seasonal pressure cycle, however, is very different from Earth's and is an interesting physical riddle. Can you explain it?

daily_stats

This plot shows the distribution of temperature and pressure.

P_T_histogram