-
Notifications
You must be signed in to change notification settings - Fork 0
/
ex.sh
35 lines (28 loc) · 1.03 KB
/
ex.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Some examples
# curl -c cookies 'https://www.space-track.org/basicspacedata/query/class/gp/EPOCH/%3Enow-30/NORAD_CAT_ID/270000--339999/orderby/NORAD_CAT_ID/format/json' > now.json
cat tmp/now.json |
tletool transform -emit xml |
tletool transform -emit kvn |
tletool transform -emit csv |
tletool transform -emit json |
tletool prop -from 2020-12-15T12:00:00Z |
tail -4 |
jq -r -c '{"NORAD":.Norad,"LLA":.LLA}'
cat tmp/now.json |
tletool prop -from 2020-12-15T12:00:00Z |
tail -4 |
jq -r -c '{"NORAD":.Norad,"LLA":.LLA}'
cat tmp/now.json |
tletool transform -emit xml |
tletool walk |
tletool prop -from 2020-12-15T12:00:00Z |
tail -4 |
jq -r -c '{"NORAD":.Norad,"LLA":.LLA}'
cat tmp/now.json |
tletool prop -from 2020-12-15T12:00:00Z -to 2020-12-15T12:01:00Z -interval 10s |
tail -6 |
jq -r -c '{"NORAD":.Norad,"LLA":.LLA}'
cat tmp/now.json |
tletool prop -from 2020-12-15T12:00:00Z -higher-precision=false |
tail -4 |
jq -r -c '{"NORAD":.Norad,"LLA":.LLA}'