Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A python script to filter by filename and download PDS images.

NotificationsYou must be signed in to change notification settings

p0dalirius/pdsimage-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A python script to filter by filename and download PDS images.
GitHub release (latest by date)YouTube Channel Subscribers

Features

  • Running on windows and linux machines.
  • Filter on specific filenames with--name-contains option.
  • Choose the download directory with the--output-dir option.

Installation

In order to use this script we need to installbs4,lxml,requests andrich. We can do this with this command:

python3 -m pip install -r requirements.txt

or directly

pip install bs4 lxml requests rich

Usage

$ ./pdsimage_downloader.py  -hpdsimage downloader v1.1 - by Remi GASCOU (Podalirius)usage: pdsimage_downloader.py [-h] -u URL [-n NAME_CONTAINS] [-D OUTPUT_DIR] [-v]A python script to filter by filename and download PDS images.optional arguments:  -h, --help            show this help message and exit  -u URL, --url URL     URL of the PDS image archive.  -n NAME_CONTAINS, --name-contains NAME_CONTAINS                        Filtering only files where the name contains this string.  -D OUTPUT_DIR, --output-dir OUTPUT_DIR                        Output directory where the images will be stored.  -v, --verbose         Verbose mode. (default: False)

Example

./pdsimage_downloader.py --name-contains _DM_ -u https://pdsimage2.wr.usgs.gov/archive/mess-h-mdis-5-dem-elevation-v1.0/MESSDEM_1001/DEM/REGIONAL/IMG/

Demonstration

On Windows:

demo_windows.mp4

On Linux:

demo_linux.mp4

Contributing

Pull requests are welcome. Feel free to open an issue if you want to add other features.

About

A python script to filter by filename and download PDS images.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp