Runs a channel subsetter script via JSR223. The networkSource is put as "networkSource" and the channel as "channel". The channel object is a VelocityChannel, the same class used in the templates for the printlineChannelProcess. See the scripting tutorial for more information on inlining scripts into a SOD recipe.


<channelScript type="jython">
                   from import ClockUtil
                   otherChans = networkSource.getChannels(channel.station)
                   result = util.pass("No BHZ, only LHZ is alive now")
                   for other in otherChans:
   if other.code == "BHZ" and other.getEndDate().after(
       # active BHZ, so reject LHZ
       result = "Use BHZ instead of LHZ for ""."+channel.station.code)

This consists of


An attribute named type with a value of Any Text Any text

Places this can be found

In channel there is a choice between all of the following