Miriad task smacheck flag uv-data if variables or data are out of range. Here is a usage to flag uv data based on a T range:
Task: smacheck vis = gc_rx1.lsb flagval = flag var = systemp range = 1,1200UV data outside T range 1-1200 K will be flagged.
Task: smacheck vis = gc_rx1.lsb flagval = flag var = inttime range = 7,15UV data outside integration time (inttime) range 7-15 sec will be flagged. This will be useful to get rid of the pointing scans with integration time of 5 sec.