Runs a eventVector subsetter script via JSR223. The event is put as "event" and the channelGroup as "channelGroup". The channel and event objects are a VelocityChannelGroup and VelocityEvent, respectively, the same classes used in the templates for the printlineChannelProcess. See the scripting tutorial for more information on inlining scripts into a SOD recipe.
<eventVectorScript type="jython"> for channel in channelGroup.getChannels(): if channel.getOrientationCode() == 'N' and abs(channel.getAzimuth()) > 5: # reject N channels that are more than 5 degrees from north result = util.fail('channel not really North'+channel.getAzimuth()) </eventVectorScript>