Skip to main content

Curated cargo of standard radio astronomy packages for stimela 2.x

Project description

cult-cargo

Curated Stimela2 cargo for popular radio astronomy software. See Image manifest for available images.

Regular userland install

pip install cult-cargo

This installs both cult-cargo and the required version of stimela.

Poweruser install

To work off the repo versions:

# activate your virtualenv
$ pip install -U pip
$ gh repo clone caracal-pipeline/stimela
$ gh repo clone caracal-pipeline/cult-cargo
$ pip install -e stimela
$ pip install -e cult-cargo

Sample recipe

#!/usr/bin/env -S stimela run -l
_include: 
  - (cultcargo)wsclean.yml

dummy-recipe:
  info: a dummy recipe
  steps:
    image:
      cab: wsclean

Overriding image versions

By default, cult-cargo will use the image versions designated as latest in its cargo manifest. These versions are always called ccX.Y.Z, where X.Y.Z is the cult-cargo release.

You can select a different image version on a per-cab basis as follows:

#!/usr/bin/env -S stimela run -l
_include: 
  - (cultcargo)wsclean.yml

cabs: 
  wclean:
    image:
      version: 2.10.1-kern7-cc0.2.0

dummy-recipe:
  info: a dummy recipe
  steps:
    image:
      cab: wsclean

Cab developers install

$ poetry install --with builder

This makes the build-cargo.py script available. The script is preconfigured to read cultcargo/builder/cargo-manifest.yml, which describes the images that must be built.

build-cargo.py -a will build and push all images, or specify an image name to build a particular one. Use -b to build but not push, or -p for push-only. Use -l to list available images.

The cultcargo folder contains YaML files with cab definitions.

If you would like to maintain your own image collection, write your own manifest and Dockerfiles following the cult-cargo example, and use the build-cargo.py script to build your images.

Using cult-cargo as a standalone image repository

You don't even need to run stimela (or indeed install anything) to take advantage of the images packaged with cult-cargo. The image manifest will provide a concise version, or else take a look at the image repository on https://quay.io/organization/stimela2.

For example, if you want to run a wsclean image, just do:

$ singularity build wsclean-3.3.sif docker:quay.io/stimela2/wsclean:3.3-cc0.2.0
$ singularity exec wsclean-3.3.sif wsclean 

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

cult_cargo-0.2.0.tar.gz (78.7 kB view details)

Uploaded Source

Built Distribution

cult_cargo-0.2.0-py3-none-any.whl (115.9 kB view details)

Uploaded Python 3

File details

Details for the file cult_cargo-0.2.0.tar.gz.

File metadata

  • Download URL: cult_cargo-0.2.0.tar.gz
  • Upload date:
  • Size: 78.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1014-azure

File hashes

Hashes for cult_cargo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eeb2f27855185e74e4f2f1cfcf8e8b2ba273276102aa9ce0967fbbe2b9aa5b5f
MD5 8d438f12591591451340e88cd9839d3b
BLAKE2b-256 d09383c825c914344cc628810e0c8f8223c19df8b4bfc45364efd52928bad35d

See more details on using hashes here.

File details

Details for the file cult_cargo-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cult_cargo-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 115.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.0 Linux/6.11.0-1014-azure

File hashes

Hashes for cult_cargo-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00084ee9d11cf5dd97b88108d5bf43eb6962d9a50c042f12c5948f188d94bf5b
MD5 b29387abc7a20c51afafa0a6311b8556
BLAKE2b-256 784befcc261ffd303bb920dac468c9073edc08b72bd6dad16087781bf3b240ef

See more details on using hashes here.

Supported by

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