diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-03-07 23:42:46 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-03-07 23:42:46 -0500 |
commit | 727498350ee97618f5a23f93addaef43e7d950af (patch) | |
tree | ea77abba309c71e438bbf3fd5aa600c86116e7f9 /src/cal/get_tle/update_tle.csh.in | |
parent | ece6c047eacb388ed4d36ce1eb18cc96b47a047e (diff) | |
download | calfuse-727498350ee97618f5a23f93addaef43e7d950af.tar.gz |
Massive fixes. Adding the rest of the code.
Diffstat (limited to 'src/cal/get_tle/update_tle.csh.in')
-rw-r--r-- | src/cal/get_tle/update_tle.csh.in | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/cal/get_tle/update_tle.csh.in b/src/cal/get_tle/update_tle.csh.in new file mode 100644 index 0000000..05f9496 --- /dev/null +++ b/src/cal/get_tle/update_tle.csh.in @@ -0,0 +1,51 @@ +#!/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 +java -classpath @DATADIR@/java GetTLE +set cfstat=$status + +# Step 2 +if !({$cfstat}) then + add_tle.pl + set cfstat=$status +endif + +# Step 3 +if !({$cfstat}) then + make_cvzramtool.pl + set cfstat=$status +endif + +# Step 4 +if !({$cfstat}) then + make_orbit.pl + set cfstat=$status +endif + +exit($cfstat) + |