Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | ms | |
Tool | ms |
myms:=ms("3C273XC1.MS",F); myms.select([antenna1=3]); myms.fillbuffer("PHASE"); rec:=myms.getbuffer(); rec.flag_row[17]:=T; myms.setbufferflags(rec); myms.writebufferflags(); myms.clearbuffer();
We open the MS for reading, select a subset and read the data. We get the data into Glish, flag timeslot 17 and put the modified flags back into the buffer. We then write the buffer flags back to the table, causing the corresponding data to be marked flagged on subsequent access. Finally we clear the internal buffer. This step can be omitted if you are about to do another fillbuffer().