You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current scripts do not support MS files that contain referenced tables (e.g. when a MS which is a subset of a main one is created but instead of duplicating the tables that remain the same they are still referring to the original ones, avoiding duplicities).
It would require to change the calls to subtables, like:
tb.open(vis+'/ANTENNA')
to use the tb.getkeyword('ANTENNA') command to retrieve the actual location of the table. It would still recover the same behavior for the standard MS. No further changes should be required.
I am aware that in pyrap tables it can all be done directly with e.g. pt.table( pt.table(vis, ...).getkeyword('ANTENNA') ). However, from casac it seems like the tb.getkeyword() function adds (according to its documentation) the string 'Table: ' before the path to the table (e.g. -> 'Table: /data0/marcote/N20C3/n20c3.ms/ANTENNA'). Not sure if there is then an alternate way or it would only require to trim this part of the string.
The text was updated successfully, but these errors were encountered:
The current scripts do not support MS files that contain referenced tables (e.g. when a MS which is a subset of a main one is created but instead of duplicating the tables that remain the same they are still referring to the original ones, avoiding duplicities).
It would require to change the calls to subtables, like:
to use the
tb.getkeyword('ANTENNA')
command to retrieve the actual location of the table. It would still recover the same behavior for the standard MS. No further changes should be required.I am aware that in pyrap tables it can all be done directly with e.g.
pt.table( pt.table(vis, ...).getkeyword('ANTENNA') )
. However, fromcasac
it seems like thetb.getkeyword()
function adds (according to its documentation) the string'Table: '
before the path to the table (e.g. ->'Table: /data0/marcote/N20C3/n20c3.ms/ANTENNA'
). Not sure if there is then an alternate way or it would only require to trim this part of the string.The text was updated successfully, but these errors were encountered: