Skip to content

HackTheSolarSystem/TeamWatney

Repository files navigation

TeamWatney

Getting weather data for Watney into OpenSpace!

Animation

Created by TeamWatney

Solution Description

Use OpenSpace's globebrowsing module to visualize weather on Mars and to create a pipeline to get this data from NASA into OpenSpace.

Our solution improves on existing Temporal WMS data pipeline in OpenSpace. We plan on working with AMNH to host data so anyone can view it immediately. The pipeline we created is general purpose for any planet and any temporal image dataset. Our data flow is a significant improvement from the existing method to get temporal data into OpenSpace. We also added a zoom control patch to OpenSpace v 0.13 for faster flying around space!

The data source used: Mars Color Imager (MARCI) from USGS.gov for daily maps of the Martian atmosphere. Images pulled are converted to JPEG tiles using the GDAL toolchain and Python Imaging Library.

Tiles

Our python script converts timestamped images to WMS tile directories, and we created an OpenSpace Temporal Tile Layer XML to show the weather data.

An interesting issue: some of the satellite data we pulled had was still raw, and it took time to realize these were unprocessed because of the government shutdown. If the government remained shutdown, the servers where we pulled images from would not be working. This presents an interesting issue for open source science: how to handle missing data and prevent against future data gaps.

Installation Instructions

  • GDAL/OGR 2+
  • Python 3
  • OpenSpace 0.12+
  • run make_tiles.py on a source directory of TIFFs, to create a output/tiles directory.
  • Serve output/tiles with any web server. No Apache modules required!

Todo

  • Dates are synthetic and hardcoded to 2019-01-01 instead of the real date from the XML, sometime in 2008.

About

Temporal Mars Weather in OpenSpace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published