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

Column angle is not allowed #229

Open
amisk opened this issue Aug 19, 2019 · 4 comments
Open

Column angle is not allowed #229

amisk opened this issue Aug 19, 2019 · 4 comments

Comments

@amisk
Copy link

amisk commented Aug 19, 2019

Hi,

I was running factor, and I got. I did the initial subtract pipeline, and used a recent version of prefactor to do that ...

IOError: Column '<angle 62.22443559 deg>]'' is not currently allowed.

@darafferty
Copy link
Collaborator

Hmm -- this error seems to be coming from lsmtool (which is used to manipulate the sky models). Which versions of lsmtool and astropy are you using?

@amisk
Copy link
Author

amisk commented Aug 21, 2019

Hi,
I use lsmtool 1.2.0 and astropy 2.0.7.

@amisk
Copy link
Author

amisk commented Aug 26, 2019

I also tried it in the recent docker container of the lofar software, this has losoto 2.0 and astropy 2.0.4, and I get the same error.

Maybe this comes into the ms through prefactor?

@darafferty
Copy link
Collaborator

OK, I finally managed to debug this problem. It turns out to be due to a bug in LSMTool, which I've now fixed in the latest version (v1.4.2). To pick up this fix, you need to rerun the initial subtract pipeline with the new version. However, you can also fix the problem without rerunning by simply editing the sky models that the initial subtract pipeline made as follows: in the first line (that starts with "FORMAT ="), replace the "Patch" entry (that looks something like Patch='[<Angle 126.1325 deg>, <Angle 64.3225 deg>]') with just Patch.

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