sabourke / lofarstationdata Goto Github PK
View Code? Open in Web Editor NEWPython interface to Lofar single-station cross-correlation data
Python interface to Lofar single-station cross-correlation data
I have been trying to install this on Ubuntu 16.04 with no success. I've have carefully followed the instructions in the readme and as indicated here on GitHub. The following is my setup and installation.
I have a moderately new (Feb 2017) installation of Ubuntu 16.04. Specifically:
computer platform = Linux-4.4.0-75-generic-x86_64-with-Ubuntu-16.04-xenial
python version = 2.7.12
numpy version = 1.12.1
scipy version = 0.19.0
(py)ephem version = 3.7.6.0
matplotlib version = 2.0.0
h5py version = 2.6.0
PIL version = 1.1.7
The following are my installation steps. Python 2.7 (incl. numpy, scipy, etc.) were already installed as indicated above.
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:kernsuite/kern-1
sudo apt-add-repository multiverse
sudo apt-add-repository restricted
sudo apt-get update
sudo apt-get install python-casacore
sudo -H pip install git+https://github.com/sabourke/lofarstationdata
All of these ran without any indication of error.
First I check that the executable is present.
% which lofar-station-ms
/usr/local/bin/lofar-station-ms
Then I try running the "help" option, as indicated in the documentation. This is where it starts to fail.
% lofar-station-ms --help
Traceback (most recent call last):
File "/usr/local/bin/lofar-station-ms", line 9, in
load_entry_point('lofarstationdata==0.8', 'console_scripts', 'lofar-station-ms')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2229, in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 2235, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python2.7/dist-packages/lofarstation/converter.py", line 5, in
from casacore.measures import measures
File "/usr/lib/python2.7/dist-packages/casacore/measures/init.py", line 30, in
import casacore.quanta as dq
File "/usr/lib/python2.7/dist-packages/casacore/quanta/init.py", line 1, in
from .quantity import quantity, is_quantity
File "/usr/lib/python2.7/dist-packages/casacore/quanta/quantity.py", line 2, in
from ._quanta import Quantity
ImportError: /usr/lib/python2.7/dist-packages/casacore/quanta/_quanta.x86_64-linux-gnu.so: undefined symbol: _ZN4casa16throwArrayShapesERKNS_9IPositionES2_PKc
Any suggestions on additional packages that might be needed or any configurations steps that could tried? If possible, could these be added to (or clarified in) the documentation. Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.