#! /bin/csh -f # # these lines for all products if ($?WORKFLOW_ROOT) then set WFDIR = $WORKFLOW_DATA set WFCODE = $WORKFLOW_ROOT else echo Need WORKFLOW_ROOT variable to be set. exit 1 endif cd $WFDIR rm -f Keep_running while (-e GATEKEEPERBUSY) echo waiting for gatekeeper to quit. sleep 5 end # begin section for this product # make test gates and tasks for HMI Vector Field and other 720s observables # This includes the several input series. # remove prior versions cd $WFDIR/gates rm -rf hmi.Vector cd $WFDIR/tasks rm -rf update_hmi.Vector # Make tasks and set preconditions # NOTE the "command" script used below must be available and executable when this script is run cd $WFDIR $WFCODE/maketask.csh task=update_hmi.Vector manager=taskmanager.csh target=hmi.Vector \ command=scripts/update_hmi.Vector.csh maxrange=2160 parallelOK=8 set PRECOND = $WFDIR/tasks/update_hmi.Vector/preconditions mkdir $PRECOND/hmi.cosmic_rays cat > $PRECOND/hmi.cosmic_rays/prepare_ticket < $PRECOND/hmi.V_drift_coefs/prepare_ticket <