<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delmod_cli(argv, alter_logger=True):
 """Command-line access to ``delmod`` functionality. The ``delmod`` task deletes "on-the-fly" model information from a Measurement Set. It is so easy to implement that a standalone function is essentially unnecessary. Just write:: from pwkit.environments.casa import util cb = util.tools.calibrater() cb.open('datasaet.ms', addcorr=False, addmodel=False) cb.delmod(otf=True, scr=False) cb.close() If you want to delete the scratch columns, use :func:`delcal`. If you want to clear the scratch columns, use :func:`clearcal`. """

    check_usage(delmod_doc, argv, usageifnoargs=True)
    if alter_logger:
        util.logger()

    cb = util.tools.calibrater()

    for mspath in argv[1:]:
        cb.open(b(mspath), addcorr=False, addmodel=False)
        cb.delmod(otf=True, scr=False)
        cb.close()