(file) Return to add_hmi_LOSnrt CVS log (file) (dir) Up to [Development] / JSOC / proj / workflow / add_scripts

 1 phil  1.1 #! /bin/csh -f
 2           #
 3           # make test gates and tasks for HMI line-of-sight NRT observables
 4           
 5           if ($?WORKFLOW_ROOT) then
 6             set WFDIR = $WORKFLOW_DATA
 7             set WFCODE = $WORKFLOW_ROOT
 8           else
 9             echo Need WORKFLOW_ROOT variable to be set.
10             exit 1
11           endif
12           
13           # Stop the gatekeeper in case it is running.
14           
15           cd $WFDIR
16           rm -f Keep_running
17           while (-e GATEKEEPERBUSY)
18             echo waiting for gatekeeper to quit.
19             sleep 5
20             end
21           
22 phil  1.1 cd $WFDIR/gates
23           rm -rf hmi.LOSnrt
24           
25           cd $WFDIR/tasks
26           rm -rf update_hmi.LOSnrt
27           
28           # Make any user tasks
29           
30           cd $WFDIR
31           $WFCODE/maketask.csh task=update_hmi.LOSnrt \
32           		manager=taskmanager.csh \
33           		target=hmi.LOSnrt \
34           		command=scripts/update_hmi.LOSnrt \
35           		maxrange=1200 \
36           		parallelOK=5
37           set PRECOND = $WFDIR/tasks/update_hmi.LOSnrt/preconditions/hmi.lev1nrt
38           mkdir $PRECOND
39           echo "set ACTION = 3" > $PRECOND/prepare_ticket
40           
41           # Now make any user gates.
42           
43 phil  1.1 cd $WFDIR
44           # use type time and let the status and action tasks convert to DSDS seriesnumbers
45           $WFCODE/makegate.csh gate_name=hmi.LOSnrt \
46           		 product=hmi.M_45s_nrt \
47           		 type=time \
48           		 key=T_REC \
49           		 project=HMI \
50           		 actiontask=update_hmi.LOSnrt \
51           		 statustask=scripts/status-general.csh
52           
53           $WFCODE/maketicket.csh gate=hmi.LOSnrt wantlow=NaN wanthigh=NaN action=6
54           

Karen Tian
Powered by
ViewCVS 0.9.4