aboutsummaryrefslogtreecommitdiff
path: root/src/cal/get_tle/test_tle.csh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-03-04 21:21:30 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-03-04 21:21:30 -0500
commitd54fe7c1f704a63824c5bfa0ece65245572e9b27 (patch)
treeafc52015ffc2c74e0266653eecef1c8ef8ba5d91 /src/cal/get_tle/test_tle.csh
downloadcalfuse-d54fe7c1f704a63824c5bfa0ece65245572e9b27.tar.gz
Initial commit
Diffstat (limited to 'src/cal/get_tle/test_tle.csh')
-rwxr-xr-xsrc/cal/get_tle/test_tle.csh50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/cal/get_tle/test_tle.csh b/src/cal/get_tle/test_tle.csh
new file mode 100755
index 0000000..5431552
--- /dev/null
+++ b/src/cal/get_tle/test_tle.csh
@@ -0,0 +1,50 @@
+#!/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.
+#******************************************************************************/
+
+set tlestat=0
+
+# Step 1
+/usr/local/fusesw/calfuse/current/src/cal/get_tle/get_tle.pl
+set cfstat=$status
+
+# Step 2
+if !({$cfstat}) then
+ /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/current/src/cal/get_tle/make_cvzramtool.pl
+ set cfstat=$status
+endif
+
+# Step 4
+if !({$cfstat}) then
+ /usr/local/fusesw/calfuse/current/src/cal/get_tle/make_orbit.pl
+ set cfstat=$status
+endif
+
+exit($cfstat)
+