Runs a request subsetter script via JSR223. The event is put as "event" and the channel as "channel". The channel and event objects are a VelocityChannel and VelocityEvent, respectively, the same classes used in the templates for the printlineChannelProcess. The request is put as "request" as an array of RequestFilter objects. See the scripting tutorial for more information on inlining scripts into a SOD recipe.
<requestScript type="jython"> from edu.iris.Fissures.model import MicroSecondDate, UnitImpl for rf in request: begin = MicroSecondDate(rf.start_time) end = MicroSecondDate(rf.end_time) width = end.subtract(begin) if width.getValue(UnitImpl.SECOND) < 500: result = util.fail("only "+width.getValue(UnitImpl.SECOND)+" seconds") else: result = True </requestScript>