Runs a station subsetter script via JSR223. The networkSource is put as "networkSource" and the station as "station". The station object is a VelocityStation, the same class used in the templates for the printlineStationProcess. See the scripting tutorial for more information on inlining scripts into a SOD recipe.
<stationScript type="jython"> from edu.sc.seis.fissuresUtil.chooser import ClockUtil from edu.sc.seis.sod.status import Pass, Fail if station.getEndDate().after(ClockUtil.now()): result = util.pass("Station is alive now") else: result = util.fail("Station is no longer active") </stationScript>
In station there is a choice between all of the following