aboutsummaryrefslogtreecommitdiff
path: root/src/cal/get_tle/update_tle.csh
blob: bc9ae34f455b1d6d25ab6db325771ee30740f089 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/csh -f
#******************************************************************************
#*              Johns Hopkins University
#*              Center For Astrophysical Sciences
#*              FUSE
#*****************************************************************************
#*
#* Synopsis:    update_tle
#*
#* Description: Shell script for automatically downloading the latest
#*              orbital elements from the GSFC OIG, and placing these
#*              elements in the FUSE.TLE file.  It will also update 
#*              the cvz_ram_tool.html calculator.
#*		
#*		All messages are to stdout or stderr.
#*
#* Arguments:   None
#*
#* Returns:     Exit codes:
#*			0		successful execution
#* 
#* History:     07/27/99        emm     Begin work.
#*              10/23/00        mlr     changed path from v1.4 to current
#******************************************************************************/

set tlestat=0

# Step 1
#/usr/local/fusesw/calfuse/v1.4/src/cal/get_tle/get_tle.pl
#/usr/local/fusesw/calfuse/current/src/cal/get_tle/get_tle.pl
#/usr/local/j2sdk1.4.2_06/bin/java -classpath /usr/local/fusesw/calfuse/current/src/cal/get_tle GetTLE
/usr/local/java/bin/java -classpath /usr/local/fusesw/calfuse/current/src/cal/get_tle GetTLE
set cfstat=$status

# Step 2
if !({$cfstat}) then
#    /usr/local/fusesw/calfuse/v1.4/src/cal/get_tle/add_tle.pl
    /usr/local/fusesw/calfuse/current/src/cal/get_tle/add_tle.pl
    set cfstat=$status
endif

# Step 3
if !({$cfstat}) then
#    /usr/local/fusesw/calfuse/v1.4/src/cal/get_tle/make_cvzramtool.pl
    /usr/local/fusesw/calfuse/current/src/cal/get_tle/make_cvzramtool.pl
    set cfstat=$status
endif

# Step 4
if !({$cfstat}) then
#    /usr/local/fusesw/calfuse/v1.4/src/cal/get_tle/make_orbit.pl
    /usr/local/fusesw/calfuse/current/src/cal/get_tle/make_orbit.pl
    set cfstat=$status
endif

exit($cfstat)