--- chewbacca/YodaProfiler/docs/retrieve_TLE.sh 2008/09/23 07:20:31 1.1 +++ chewbacca/YodaProfiler/docs/retrieve_TLE.sh 2010/09/13 07:51:01 1.2 @@ -85,11 +85,16 @@ echo " Done!" echo "" -echo " Retrieving Resurs-DK1 TLEs " +echo " Retrieving Resurs-DK1 TLEs 2006-2009" wget -o /dev/null -O - --load-cookies .cookies.txt \ --save-cookies .cookies.txt --keep-session-cookies \ -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=$YEAR&end_month=$MONTH&end_day=$DAY&common_name=yes&sort=&descending=&ascii=yes&_submit=Submit&_reset=Reset" \ +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" \ | egrep "1|2|R" > .tleretrieved.txt +echo " Retrieving Resurs-DK1 TLEs >=2010" +wget -o /dev/null -O - --load-cookies .cookies.txt \ +--save-cookies .cookies.txt --keep-session-cookies \ +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" \ +| egrep "1|2|R" >> .tleretrieved.txt echo " Done!" echo ""