Skip to main content

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] [--scan-id SCAN_ID] [--vis-type {craco,science}] [--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.
  --scan-id SCAN_ID     Scan ID to download. Defaults to all.
  --vis-type {craco,science}
                        Filter visibilities by product type: 'craco' (cracoData / uvfits) or 'science' (scienceData / ms).
                        Defaults to None (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.

Metadata

Release files for vis-downloader 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vis-downloader 1.2.0
File Size Uploaded
vis_downloader-1.2.0.tar.gz 242.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vis-downloader 1.2.0
File Interpreter ABI Platform
vis_downloader-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 254.9 kB

Release files / vis_downloader-1.2.0.tar.gz

Download URL vis_downloader-1.2.0.tar.gz
Size 242.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6a939915af0a600bc831b278f1fe30683de90160b2bd757ee503620bd8be806d
BLAKE2b-256 checksum
How to use checksums
abcacd104a5e2c80a75c6612b8fda5907447f540719c188f5b63114fcd773bba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / vis_downloader-1.2.0-py3-none-any.whl

Download URL vis_downloader-1.2.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81d5ad10e5ad243a0143eabdd2eac3f2c84b0051a9670694969b5ea948d0d32b
BLAKE2b-256 checksum
How to use checksums
445827e40a43693a7095901f609ab35587fbcca3f2ac4017ce4aeae1b5404f42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release history Release notifications | RSS feed

1.3.0

2 release files

This release

1.2.0 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page