1
0
Fork 0

Scriptlet list Spacecruft IDs in classfd

main
Jeff Moe 2023-06-21 19:11:12 -06:00
parent 1c274aeef4
commit 8c6e47eadb
3 changed files with 16 additions and 2 deletions

View File

@ -24,13 +24,15 @@ What the little scripts do:
* `classfd-ls-ids` --- Lists NORAD IDs in Mike McCants' classified elements.
* `spacecruft-dl-ids` --- Download list of IDs at https://spacecruft.fit/sats .
* `spacecruft-ls-ids` --- Lists NORAD IDs in Spacecruft archive.
* `spacecruft-classfd-ls-ids` --- Lists NORAD IDs in the Spacecruft archive
also in the McCants' classfd list.
# Upstream
Mike McCants website, TLEs, and `classfd.tle`:
* https://www.mmccants.org/tles/index.html
* https://www.mmccants.org
* https://www.mmccants.org/tles/index.html
* https://www.mmccants.org/tles/classfd.zip

View File

@ -2,5 +2,8 @@
grep "^2 " data/classfd.tle | \
cut -f 2 -d " " | \
sort -uV
sort -uV > \
data/classfd-ids.txt
cat data/classfd-ids.txt

View File

@ -0,0 +1,9 @@
#!/bin/bash
diff -u data/classfd-ids.txt data/spacecruft-fit-ids.txt | \
grep -v -e "+" -e "-" | \
sed -e 's/ //g' > \
data/spacecruft-classfd-ids.txt
cat data/spacecruft-classfd-ids.txt