/[PAMELA software]/YodaProfiler/docs/retrieve_TLE.sh
ViewVC logotype

Diff of /YodaProfiler/docs/retrieve_TLE.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mocchiut, Tue Oct 17 15:19:51 2006 UTC revision 1.3 by mocchiut, Tue Oct 31 15:36:01 2006 UTC
# Line 8  Line 8 
8  #  #
9    
10  USER=pam2006  USER=pam2006
11  PASS=Resurs2005  PASS=Resurs05
12  OUTFILE=tle.txt  OUTFILE=tle.txt
13  FORCE="no"  FORCE="no"
14    
# Line 93  http://www.space-track.org/perl/id_query Line 93  http://www.space-track.org/perl/id_query
93  echo " Done!"  echo " Done!"
94  echo ""  echo ""
95    
96  if [[ `wc -l < .tleretrieved.txt` -le 2 ]]; then # no tle  CHECK=`grep -i resurs .tleretrieved.txt `
97    if [[ `wc -l < .tleretrieved.txt` -le 2 ]] || [ "$CHECK" == "" ]; then # no tle
98      echo "ERROR: No tle retrieved from spacetrack.org"      echo "ERROR: No tle retrieved from spacetrack.org"
99      echo ""      echo ""
100      rm -f .cookies.txt      rm -f .cookies.txt

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23