You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contend with the fact that `casatools` frequently lags supported SPEC 0 Python versions, creating a situation where one needs a Python version old enough to run `casatools` but new enough to support modern development. These requirements are often mutually exclusive and require multiple Python versions as part of the same analysis.
4
-
5
-
We've tried to decouple these somewhat, by isolating the `casatools` dependency to this specific example folder.
6
-
7
3
# Installation and running
8
4
9
-
As of 21 May 2026, the latest version supported by `casatools` is Python 3.10.
5
+
In this 'example,' one merely downloads and extracts the ALMA datasets to a common data format like `.npz` or `.asdf`. This step requires the `casatools` package, which frequently has restrictions on Python versions and installation environments.
6
+
7
+
To simplify this step for users of the tutorials, one can use our Docker container via
8
+
```
9
+
./run.sh
10
+
```
10
11
11
-
You can run to download individual datasets, or all of them at once.
12
+
Depending on the speed of your internet connection, it may take some time to download the several Gb measurement sets from the archive servers.
12
13
14
+
Upon successful completion, you should see the following items in your directory:
13
15
14
-
For subsequent examples, you will be asked to copy some of the data products into those folders.
16
+
Alternatively, if one already has their own Python environment compatible casatools, one can install the [relevant packages](../casatools-env/requirements.txt) into that environment.
This folder contains the instructions and Dockerfile for how to build a Docker container that will run `casatools`, necessary for the `00-download-and-extract-datasets` example. In the normal course of events, this container is built automatically as part of the GitHub Actions workflow, and you can download it from the GitHub Container Registry following the instructions in the [00 example](../00-download-and-extract-datasets/README.md).
4
+
5
+
The following instructions are aimed at developers of the examples. It is assumed that you have already installed a [Docker environment](https://www.docker.com/), e.g., such as Docker Desktop.
6
+
7
+
Building the container locally, from within this directory, and tag as `casatools-env`
Note that the `--platform linux/amd64` is necessary to accommodate the modular casa packages, which to my understanding are not built for Apple Silicon architecture.
12
+
13
+
Run the container and enter a bash shell
14
+
```
15
+
docker run --rm -it --platform linux/amd64 casatools-env
0 commit comments