pyuvdata icon indicating copy to clipboard operation
pyuvdata copied to clipboard

read_ms function would benefit from more flexible column name options

Open rlbyrne opened this issue 1 year ago • 3 comments

Some OVRO-LWA pipelines write model visibilities to an ms column called "MODEL_DATA". pyuvdata currently only supports a column called "MODEL." It would be helpful to have more flexibility in column naming.

rlbyrne avatar Feb 24 '24 00:02 rlbyrne

@rlbyrne -- poking around w/ casacore a bit more (and a few other data sets), it actually looks as though MODEL_DATA is what we are supposed to be writing to, and that this is actually a long-standing error on our side. I did see that you've got a branch open w/ some changes, but I'm happy to integrate this into #1391 since I'm doing a lot of updates to various MS-handling tools, since I think in the long term we'd likely want to switch to using MODEL_DATA instead of MODEL.

kartographer avatar Mar 04 '24 15:03 kartographer

@kartographer Yes, please do integrate with #1391. The branch I created is currently just a hack-y solution to make sure I could run some OVRO-LWA data.

rlbyrne avatar Mar 04 '24 17:03 rlbyrne

@rlbyrne done!

kartographer avatar Mar 05 '24 21:03 kartographer