Talk:Observations

From SatNOGS Wiki
Revision as of 19:12, 18 February 2020 by Jebba (talk | contribs) (HOWTO Get List/Count of Modes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

HOWTO Get List of Modes:

for i in `curl --silent https://db.satnogs.org/api/modes/ | jq  '.[] | .name' | sort -V | sed -e 's/"//g' -e 's/ /_/g' -e 's/^/\[\[/g' -e 's/$/\]\]/g'` ; do echo "* $i" ; done

HOWTO Get Count of Modes:

curl --silent https://db.satnogs.org/api/modes/ | jq  '.[] | .name' | wc -l