Skip to main content

No project description provided

Project description

Vis Downloader

Download visibilties from CASDA.

Installation

Use pip:

# From PyPI
pip install vis-downloader
# - OR -
# Latest git version
pip install git+https://github.com/AlecThomson/vis-downloader

Usage

To make sure you don't DDoS CASDA, please make use of the --max-workers option.

usage: vis_download [-h] [--beam BEAM] [--output-dir OUTPUT_DIR] [--username USERNAME] [--store-password] [--reenter-password]
                    [--max-workers MAX_WORKERS] [--extract-tar] [--download-holography] [--log-only] [--disable-progress] [--quiet]
                    [--max-retries MAX_RETRIES]
                    sbids [sbids ...]

Download visibilities from CASDA for a given SBID

positional arguments:
  sbids                 SBID to download

options:
  -h, --help            show this help message and exit
  --beam BEAM           Beam to download. Defaults to all.
  --output-dir OUTPUT_DIR
                        Output directory. If unset a directory for each SBID will be created.
  --username USERNAME   CASDA username
  --store-password      Store password in keyring
  --reenter-password    Reenter password
  --max-workers MAX_WORKERS
                        Number of workers
  --extract-tar         If a file is a tarball attempt to extract it. This removes the original tar file if successful.
  --download-holography
                        Download the evaluation files that contain the holography data
  --log-only
  --disable-progress    Disable the progress bars produced by `tqdm`.
  --quiet               Silence logged output and progress bar updates
  --max-retries MAX_RETRIES
                        The maximum number of retries allowed for each file when downloading.

To cache your CASDA credentials run:

casda_login -h
# usage: casda_login [-h] username
#
# Login to CASDA and save credentials
#
# positional arguments:
#   username    Username for CASDA
#
# options:
#   -h, --help  show this help message and exit

Note that you will also want to set the CASDA_USERNAME environment variable for non-interactive use.

License

vis-downloader is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vis_downloader-1.1.1.tar.gz (241.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vis_downloader-1.1.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file vis_downloader-1.1.1.tar.gz.

File metadata

  • Download URL: vis_downloader-1.1.1.tar.gz
  • Upload date:
  • Size: 241.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vis_downloader-1.1.1.tar.gz
Algorithm Hash digest
SHA256 31cbb4c4196875c14a784bde3b59ab68818db1214b7522e340e8233cf2b5448e
MD5 2c61e6c84669cd63f27586c7b150eb5f
BLAKE2b-256 15e7df42901554fb878535530f251a2029cc80cefecfa063a6efee06fdcda787

See more details on using hashes here.

Provenance

The following attestation bundles were made for vis_downloader-1.1.1.tar.gz:

Publisher: cd.yml on AlecThomson/vis-downloader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vis_downloader-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: vis_downloader-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vis_downloader-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72c6ac4a37ce573eb6fa86237d67560291f65f8427155b3c8a1c64f7eaea50ba
MD5 d35b6857c35ce8b6b19e814309b5bba4
BLAKE2b-256 c64026ee30ad0ae330e0438f33c468ecda3c1ab69bb08802c14d39b5b7aa31ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for vis_downloader-1.1.1-py3-none-any.whl:

Publisher: cd.yml on AlecThomson/vis-downloader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page