Coder Social home page Coder Social logo

sakethramanujam / percy-image-downloader Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 1.0 55 KB

Unofficial image downloader for Nasa Perseverance Raw Images website in Python

License: MIT License

Python 100.00%
nasa jpl mars mars2020 perseverance image-downloader-python python cli

percy-image-downloader's Introduction

โฌ‡๏ธ percy-image-downloader

Unofficial image downloader for Nasa Perseverance Raw Images website Image credits: NASA/JPL-Caltech unless otherwise noted.

๐ŸŒ  Updates in v0.2

  • The downloader has basic tests setup.
  • Fixes a bug with respect to page number specification.
  • Image Format issues for full scale images are now resolved.

Installation

Requires python>=3.6

Download the zip and execute the following in your terminal

python setup.py install

Usage Instructions

Currently supports downloading images of chosen resolution type from a specific page, defaults to 0th page.

percy [OPTIONS] COMMAND [ARGS]...

  Image Downloader for Percy, the Mars Rover

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  download

Downloading Images

percy download [OPTIONS]

Options:
  -r, --resolution TEXT  Parameter for left column  [required]
  -p, --path TEXT        Parameter for left column  [required]
  -n, --number INTEGER   Page Number from which images are to be downloaded,
                         defaults to 0

  --help                 Show this message and exit.

Supported Resolution Tags

Keyword Resolution as per NASA Website
full Full Size Image
large Large Scale Image
medium Medium Scale Image
small Small/Thumbnail Image

Example

percy download -r large -p ./ -n 1

Found an bug/need a feature?

  • Report/Request, raise an issue here

percy-image-downloader's People

Contributors

sakethramanujam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

chefzau

percy-image-downloader's Issues

Add args to `download` command to allow downloading w.r.t Camera/Page

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
There might be that might need access to images from a specific page and there may be others that need to download by a specific instrument. So, adding arguments to the existing download command would be a good feature to have.

The current scenario is

percy download -r full -n 1 -p something

Suggested improvement

percy download [ARG] -r full -p something -c/-n

Describe alternatives you've considered
None yet

Remove upper limit on page number

There's a hard upper limit on the page number from which the image can be downloaded and needs to be addressed.
It's very likely to fail/prevent from downloading images starting tomorrow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.