Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating CASA data in docker images regularly #756

Open
Mulan-94 opened this issue Jun 13, 2022 · 3 comments
Open

Updating CASA data in docker images regularly #756

Mulan-94 opened this issue Jun 13, 2022 · 3 comments

Comments

@Mulan-94
Copy link
Collaborator

When running plot-elevation-tracks in the caracal obsconf worker, part of the current output we get is

SEVERE  gaincal::MeasTable::dUTC(Double) (file measures/Measures/MeasTable.cc, line 6307Leap second table TAI_UTC seems out-of-date. 
SEVERE  gaincal::MeasTable::dUTC(Double) (file measures/Measures/MeasTable.cc, line 6307)+       Until table is updated (see aips++ manager) times and coordinates
SEVERE  gaincal::MeasTable::dUTC(Double) (file measures/Measures/MeasTable.cc, line 6307)+       derived from UTC could be wrong by 1s or more.

This casaguide wiki page suggests that the solution is updating CASA data. I currently solve this by adding

RUN pip install --no-cache-dir --upgrade  --extra-index-url https://go.nrao.edu/pypi casadata

to the owlcat base image in stimela. However, the image swells up by about an extra GB and it is suggested here that this data should be updated ever so often. How can we go about doing this regularly @gijzelaerr ? @o-smirnov suggested having an image solely containing this updated data pulled into the owlcat base, or updating the stimela base altogether

@bennahugo
Copy link
Collaborator

bennahugo commented Jun 13, 2022 via email

@Mulan-94
Copy link
Collaborator Author

Mulan-94 commented Jun 13, 2022

It is also possible to mount in an RC file and custom user data directory -

ok thanks! looking into this. Silly question, what exactly is an RC file?

@bennahugo
Copy link
Collaborator

Sorry I missed this -- too many tickets coming through

> $ cat ${HOME}/.casarc                                                                                     
measures.directory: /usr/share/casacore/data

The directory listed here then needs mounting inside the container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants