This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
===============================
Planetary Test Data
===============================

.. image:: https://img.shields.io/travis/planetarypy/planetary_test_data.svg
:target: https://travis-ci.org/planetarypy/planetary_test_data

.. image:: https://img.shields.io/pypi/v/planetary_test_data.svg
:target: https://pypi.python.org/pypi/planetary_test_data


Planetary Test Data contains a list of planetary data for software testing
purposes and utilities to retrieve them.

* Free software: BSD license

Features
--------

* Downloads a core set of sample Planetary test data into
``./mission_data/`` or if ``./tests/mission_data/`` if ``./tests/`` exists.

TODO
------

* Download to central cache directory and use symbolic links to share data
between projects or other locations.
* Find smaller example images to reduce download times.
* Command line usage improvements

* Include a mode that just copies the ``data.json`` file into the local
directory.
* Include a mode that allows users to somehow specify subsets of data to
retrieve. Perhaps selecting by mission or instrument name.

* Improve label testing.
* Include Mission Names with each product.
* Include product type with each product.

See also the Github issues for this project.

Usage
------

To download the core set of planetary test data install this package with pip
and then run the command ``get_mission_data``::

pip install planetary_test_data
get_mission_data

Additional usage options are shown below::

usage: get_mission_data [-h] [--all] [--file FILE] [--dir DIR]
[--tags [TAGS [TAGS ...]]]

optional arguments:
-h, --help show this help message and exit
--all, -a Download all products.
--file FILE, -f FILE Override default data.json by providing path to custom
data.json file.
--dir DIR, -d DIR Directory to place test data products in.
--tags [TAGS [TAGS ...]], -t [TAGS [TAGS ...]]
Retrieve products whose tags match those provided
here.

Description
------------

Running ``get_mission_data`` will do the following

* If ``tests`` directory exists it will create ``tests/mission_data`` if
necessary. If ``tests`` does not exist, it will just create
``mission_data`` in the current directory.
* The data prodcuts tagged to be ``core`` products will be downloaded
into the download directory.

Only products which do not exist in the download directory will be
downloaded.

Mission Data
-------------

The PDS mission data included in the package can be found here::

https://github.com/planetarypy/planetary_test_data/blob/master/planetary_test_data/data.json

If there are products you think should be included or removed from this dataset
please file a Github issue.

data.json Format
-----------------

The ``data.json`` file contains PDS product names, urls and other
metainformation about the product. This structure will be extended to support
generic testing, for instance the ``label`` key will be changed to a
dictionary that includes product label keys and the values found at those keys.

Below is a sample snippet of a ``data.json`` entry::

"1m298459885effa312p2956m2m1.img": {
"instrument": "MICROSCOPIC IMAGER",
"label": "PDS3",
"opens": "True",
"url": "http://pds-imaging.jpl.nasa.gov/data/mer/opportunity/mer1mo_0xxx/data/sol1918/edr/1m298459885effa312p2956m2m1.img"
},




History
-------

0.3.3 (2015-07-27)
-------------------

* Added 0047MH0000110010100214C00_DRCL.IMG to the core dataset.

0.3.2 (2015-07-21)
-------------------

* Added 2m132591087cfd1800p2977m2f1.img to the core dataset.

0.3.1 (2015-07-13)
--------------------

* Updated data.json to support extended PDS product label tests.

0.3.0 (2015-07-13)
--------------------

* Rewritten to be driven by command line options rather than by file
system contents. Run ``get_mission_data -h`` to see options.

0.2.0 (2015-07-11)
--------------------

* Updated ``data.json`` to contain mission data from many more missions.

0.1.1 (2015-07-09)
---------------------

* Fixed Python 3 compativility issue.

0.1.0 (2015-06-24)
---------------------

* First release on PyPI.
Release History

Release History

0.3.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
planetary_test_data-0.3.3-py2.py3-none-any.whl (14.4 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jul 27, 2015
planetary_test_data-0.3.3.tar.gz (7.0 MB) Copy SHA256 Checksum SHA256 Source Jul 27, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting