Skip to content

pdssp/planetary_fetch

Repository files navigation

Planetary Fetch

https://img.shields.io/github/v/tag/pole-surfaces-planetaires/planetary_fetch

https://img.shields.io/github/v/release/pole-surfaces-planetaires/planetary_fetch?include_prereleases

https://img.shields.io/pypi/v/planetary_fetch

The aim of Planetary Fetch is to dowload data from PDS based on a part of the PDS ID.

Stable release

To install Planetary Fetch, run this command in your terminal:

$ pip install git+https://github.com/pdssp/planetary_fetch

This is the preferred method to install Planetary Fetch, as it will always install the most recent stable release.

If you don't have pip installed, this Python installation guide can guide you through the process.

From sources

The sources for Planetary Fetch can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/pole-surfaces-planetaires/planetary_fetch

Or download the tarball:

$ curl -OJL https://github.com/pole-surfaces-planetaires/planetary_fetch/tarball/master

Once you have a copy of the source, you can install it with:

$ make  # install in the system root
$ make user # or Install for non-root usage

Development

$ git clone https://github.com/pole-surfaces-planetaires/planetary_fetch
$ cd planetary_fetch
$ make prepare-dev
$ source .planetary_fetch
$ make install-dev

Usage

To get help:

$ planetary_fetch -h

Basic download :

$ planetary_fetch --ids HRL0000CA5C* --output_dir /tmp

Basic download with silent mode

$ planetary_fetch --ids HRL0000CA5C* --output_dir /tmp --level CRITICAL

Basic download with silent mode without progress bar

$ planetary_fetch --ids HRL0000CA5C* --output_dir /tmp --level CRITICAL --disable_tqdm

Run tests

$make tests

Author

👤 Jean-Christophe Malapert

🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/pole-surfaces-planetaires/planetary_fetch/issues). You can also take a look at the [contributing guide](https://github.com/pole-surfaces-planetaires/planetary_fetch/blob/master/CONTRIBUTING.rst)

📝 License

This project is [GNU General Public License v3](https://github.com/pole-surfaces-planetaires/planetary_fetch/blob/master/LICENSE) licensed.