Closed bennahugo closed 1 year ago
I'm not sure what distribution you're using. So, I'm assuming you're on Debian or some of its derivatives (like Ubuntu). There are two ways to solve this:
casacore-data
from the package repository:
apt install casacore-data
wget -qO - ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar | sudo tar -C /usr/share/casacore/data -xzf -
If you don't have root access to your machine, you may want to store the measures file in a different directory. In that case, you must create a file .casarc
in your home directory with the following content:
measures.directory: /path/to/casacore/data
Thanks a lot - I was under the impression the latest python-casacore depended on casacore-data. Clearly a blunder on my part.
On Tue, 11 Apr 2023, 15:11 Marcel Loose, @.***> wrote:
I'm not sure what distribution you're using. So, I'm assuming you're on Debian or some of its derivatives (like Ubuntu). There are two ways to solve this:
- Install casacore-data from the package repository:
apt install casacore-data
- Download and install the most up-to-date measures:
wget -qO - ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar | sudo tar -C /usr/share/casacore/data -xzf -
If you don't have root access to your machine, you may want to store the measures file in a different directory. In that case, you must create a file .casarc in your home directory with the following content:
measures.directory: /path/to/casacore/data
— Reply to this email directly, view it on GitHub https://github.com/lofar-astron/RMextract/issues/43#issuecomment-1503324889, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4RE6TLXE7I7THLFM324ZTXAVJ6XANCNFSM6AAAAAAW2EJ4LI . You are receiving this because you authored the thread.Message ID: @.***>
No problem.
I'm running a set of comparative experiments with ALBUS and I've run into this when using casacore measures. The workaround is to uninstall casacore and install pyephem but should probably be fixed.
example script:
I had python-casacore-3.5.2 (python3.8) installed