struct

Kozai::Watchlist

Inherits Struct < Value < Object

The satellites this station actually works.

NOTE: this restricts the search, not the display, and that is the whole value of it.

A catalogue of 97 amateur satellites produces 546 passes a day over one station; an operator works perhaps five of them. Filtering the output would tidy the list and change nothing else. Filtering the input means the pass search does five satellites' work instead of ninety-seven's — and the difference stops being cosmetic the moment somebody points [tle] urls at a full catalogue. Measured on this machine, searching a day of passes across 16093 objects takes 34 seconds; across five it is milliseconds.

So /api/passes and kozai passes honour the list, while /api/satellites does not: the list has to be chosen from something.

Constructors

new(entries : Array(Entry))
Source
parse(raw : Array(String)) : Watchlist

Parses ["25544:10", "SO-50:5", "AO-73"].

The priority is optional and defaults to one, so a station that does not care about ordering writes plain names and never learns the syntax exists.

Source

Instance methods

empty?

Whether anything was configured. An empty list means the whole catalogue.

Source
entries

The entries, in the order they were written.

Source
resolve(catalog : Catalog::Store) : Selection

Resolves the entries against a catalogue.

Source

Nested types