kernsuite / packaging

Use this repository to report issues with packages or request new packages
13 stars 4 forks source link

lofar-beam doesn't have stationresponse #197

Closed bennahugo closed 5 years ago

bennahugo commented 5 years ago

Trying to port DDF to KERN5, but running into a beams issue:

  File "/usr/local/bin/DDF.py", line 367, in <module>
    main(OP, messages)
  File "/usr/local/bin/DDF.py", line 209, in main
    Imager.Init()
  File "/usr/local/lib/python2.7/dist-packages/DDFacet/Imager/ClassDeconvMachine.py", line 268, in Init
    AverageBeamMachine=ClassBeamMean.ClassBeamMean(self.VS)
  File "/usr/local/lib/python2.7/dist-packages/DDFacet/Data/ClassBeamMean.py", line 70, in __init__
    JonesMachine.InitBeamMachine()
  File "/usr/local/lib/python2.7/dist-packages/DDFacet/Data/ClassJones.py", line 629, in InitBeamMachine
    self.BeamMachine = ClassLOFARBeam.ClassLOFARBeam(self.MS, self.GD)
  File "/usr/local/lib/python2.7/dist-packages/DDFacet/Data/ClassLOFARBeam.py", line 33, in __init__
    self.InitLOFARBeam()
  File "/usr/local/lib/python2.7/dist-packages/DDFacet/Data/ClassLOFARBeam.py", line 44, in InitLOFARBeam
    import lofar.stationresponse as lsr
ImportError: No module named lofar.stationresponse

Lofarbeams are installed:

....
Setting up python-secretstorage (2.3.1-2) ...
Setting up lofarbeam-dev (4.0-1kern2) ...
Setting up python-keyring (10.6.0-1) ...
....
gijzelaerr commented 5 years ago

The station response package doesn't contain the python module, this is still part of the old lofar suite. The lofar suite is not ported to casacore 3 yet, so we can't add it to kern-5. For now I recommend to use KERN-4 or wait till the lofar code has been ported.

I'm not sure what the current state of this is, but my astron contact person @tammojan is not available for now.

bennahugo commented 5 years ago

Sure no problem. I will try building this specific module from source for now

bennahugo commented 5 years ago

Ok no I can confirm the last release of the stationresponse is not compatible with the current casacore.

bennahugo commented 5 years ago

Nor does it build successfully with KERN4

gijzelaerr commented 5 years ago

i can't help you without an error message.

gijzelaerr commented 5 years ago

duplicate of https://github.com/kernsuite/packaging/issues/181