![]() ![]() |
![]() |
File: [Development] / JSOC / proj / workflow / add_scripts / add_hmi_lev1cnrt
(download)
Revision: 1.1, Wed Jan 5 20:40:20 2011 UTC (12 years, 8 months ago) by phil Branch: MAIN CVS Tags: Ver_LATEST, Ver_9-5, Ver_9-41, Ver_9-4, Ver_9-3, Ver_9-2, Ver_9-1, Ver_9-0, Ver_8-8, Ver_8-7, Ver_8-6, Ver_8-5, Ver_8-4, Ver_8-3, Ver_8-2, Ver_8-12, Ver_8-11, Ver_8-10, Ver_8-1, Ver_8-0, Ver_7-1, Ver_7-0, Ver_6-4, Ver_6-3, Ver_6-2, Ver_6-1, Ver_6-0, Ver_5-14, Ver_5-13, HEAD Initial checkin |
#! /bin/csh -f # # make test gates and tasks for HMI line-of-sight NRT observables # hmi.lev1cnrt if ($?WORKFLOW_ROOT) then set WFDIR = $WORKFLOW_DATA set WFCODE = $WORKFLOW_ROOT else echo Need WORKFLOW_ROOT variable to be set. exit 1 endif # Stop the gatekeeper in case it is running. cd $WFDIR rm -f Keep_running while (-e GATEKEEPERBUSY) echo waiting for gatekeeper to quit. sleep 5 end cd $WFDIR/gates rm -rf hmi.lev1cnrt cd $WFDIR/tasks rm -rf update_hmi.lev1cnrt # Make update script set SCRIPT = $WFCODE/scripts/update_hmi.lev1cnrt.csh echo "#! /bin/csh -f" >$SCRIPT echo "# do nothing for now" >>$SCRIPT echo "exit 0" >>$SCRIPT chmod +x $SCRIPT # Make any user tasks cd $WFDIR $WFCODE/maketask.csh task=update_hmi.lev1cnrt \ manager=taskmanager.csh \ target=hmi.lev1cnrt \ command=scripts/update_hmi.lev1cnrt.csh \ maxrange=3600 \ parallelOK=5 # Now make any user gates. cd $WFDIR # use type time and let the status and action tasks convert to DSDS seriesnumbers $WFCODE/makegate.csh gate_name=hmi.lev1cnrt \ product=hmi.lev1c_nrt \ type=time \ key=T_OBS \ project=HMI \ updatedelta=60 \ actiontask=update_hmi.lev1cnrt \ statustask=scripts/status-general.csh cd $WFDIR/gates/hmi.lev1cnrt echo 2010.04.24_TAI >low # Now, to get things started, initialize the new gates. this is not strictly necessary if the nextupdate # times are defaulted to now.
Karen Tian |
Powered by ViewCVS 0.9.4 |