| 80 |
|
|
| 81 |
echo "" |
echo "" |
| 82 |
echo " Setting cookies to connect to spacetrack " |
echo " Setting cookies to connect to spacetrack " |
| 83 |
wget -o /dev/null -O /dev/null --save-cookies .cookies.txt \ |
wget -o /dev/null -O /dev/null --no-check-certificate --save-cookies .cookies.txt \ |
| 84 |
http://www.space-track.org/perl/login.pl --post-data="_submitted=1&username=$USER&password=$PASS" |
"https://www.space-track.org/perl/login.pl?_submitted=1&username=$USER&password=$PASS" |
| 85 |
echo " Done!" |
echo " Done!" |
| 86 |
echo "" |
echo "" |
| 87 |
|
|
| 88 |
echo " Retrieving Resurs-DK1 TLEs 2006-2009" |
echo " Retrieving Resurs-DK1 TLEs 2006-2009" |
| 89 |
wget -o /dev/null -O - --load-cookies .cookies.txt \ |
wget -o /dev/null -O - --no-check-certificate --load-cookies .cookies.txt \ |
| 90 |
--save-cookies .cookies.txt --keep-session-cookies \ |
--save-cookies .cookies.txt --keep-session-cookies \ |
| 91 |
http://www.space-track.org/perl/id_query.pl --post-data="_submitted=1&_sessionid=&ids=29228&timeframe=timespan&start_year=2006&start_month=6&start_day=14&end_year=2009&end_month=12&end_day=31&common_name=yes&sort=&descending=&ascii=yes&_submit=Submit&_reset=Reset" \ |
"https://www.space-track.org/perl/id_query.pl?_submitted=1&_sessionid=&ids=29228&timeframe=timespan&start_year=2006&start_month=6&start_day=14&end_year=2009&end_month=12&end_day=31&common_name=yes&sort=&descending=&ascii=yes&_submit=Submit&_reset=Reset "\ |
| 92 |
| egrep "1|2|R" > .tleretrieved.txt |
| egrep "1|2|R" > .tleretrieved.txt |
| 93 |
echo " Retrieving Resurs-DK1 TLEs >=2010" |
echo " Retrieving Resurs-DK1 TLEs 2010-2011" |
| 94 |
wget -o /dev/null -O - --load-cookies .cookies.txt \ |
wget -o /dev/null -O - --no-check-certificate --load-cookies .cookies.txt \ |
| 95 |
--save-cookies .cookies.txt --keep-session-cookies \ |
--save-cookies .cookies.txt --keep-session-cookies \ |
| 96 |
http://www.space-track.org/perl/id_query.pl --post-data="_submitted=1&_sessionid=&ids=29228&timeframe=timespan&start_year=2010&start_month=1&start_day=1&end_year=$YEAR&end_month=$MONTH&end_day=$DAY&common_name=yes&sort=&descending=&ascii=yes&_submit=Submit&_reset=Reset" \ |
"https://www.space-track.org/perl/id_query.pl?_submitted=1&_sessionid=&ids=29228&timeframe=timespan&start_year=2010&start_month=1&start_day=1&end_year=2011&end_month=12&end_day=31&common_name=yes&sort=&descending=&ascii=yes&_submit=Submit&_reset=Reset"\ |
| 97 |
|
| egrep "1|2|R" >> .tleretrieved.txt |
| 98 |
|
echo " Retrieving Resurs-DK1 TLEs >=2012" |
| 99 |
|
wget -o /dev/null -O - --no-check-certificate --load-cookies .cookies.txt \ |
| 100 |
|
--save-cookies .cookies.txt --keep-session-cookies \ |
| 101 |
|
"https://www.space-track.org/perl/id_query.pl?_submitted=1&_sessionid=&ids=29228&timeframe=timespan&start_year=2012&start_month=1&start_day=1&end_year=$YEAR&end_month=$MONTH&end_day=$DAY&common_name=yes&sort=&descending=&ascii=yes&_submit=Submit&_reset=Reset "\ |
| 102 |
| egrep "1|2|R" >> .tleretrieved.txt |
| egrep "1|2|R" >> .tleretrieved.txt |
| 103 |
echo " Done!" |
echo " Done!" |
| 104 |
echo "" |
echo "" |