Sylphase SDGPS
The software-defined GPS(/GNSS) toolkit
read-INTERFACE-file

For each of the interfaces there is a node to read packets from a file. As one would expect, the read-INTERFACE-file nodes are sources of that particular interface.

These nodes have the same arguments. The filename can be supplied as a positional argument, so the --filename is not necessary.

read-cooked-file

Type signature: (->cooked)

Help

Usage:

read-cooked-file [OPTION]... FILENAME

Allowed options:

Option Description
--help produce help message
--buffer-size BUFFER_SIZE_MB (=128) buffer BUFFER_SIZE_MB of data in RAM for smoothing out disk IO latency
--start START skip packets until one with a timestamp of >= START is found
--stop STOP stop when packet with a timestamp of >= STOP is found
--relative START and STOP are relative to the timestamp of the first packet, rather than absolute
--rate RATE (=1) play at RATE times real time (inf works)
--filename FILENAME play file named FILENAME
--follow keep reading appended data as the file grows

Example

sdgps read-cooked-file --filename foo.cooked --rate inf ! tracker ! decoder

This will read a cooked file as fast as possible and process the stream into an observables stream.

read-cooked2-file

Type signature: (->cooked2)

Help

Usage:

read-cooked2-file [OPTION]... FILENAME

Allowed options:

Option Description
--help produce help message
--buffer-size BUFFER_SIZE_MB (=128) buffer BUFFER_SIZE_MB of data in RAM for smoothing out disk IO latency
--start START skip packets until one with a timestamp of >= START is found
--stop STOP stop when packet with a timestamp of >= STOP is found
--relative START and STOP are relative to the timestamp of the first packet, rather than absolute
--rate RATE (=1) play at RATE times real time (inf works)
--filename FILENAME play file named FILENAME
--follow keep reading appended data as the file grows

Example

sdgps read-cooked2-file foo.cooked2 --rate inf ! decoder

This will read a cooked file as fast as possible and process the stream into a cooked2 stream.

read-observables-file

Type signature: (->observables)

Help

Usage:

read-observables-file [OPTION]... FILENAME

Allowed options:

Option Description
--help produce help message
--buffer-size BUFFER_SIZE_MB (=128) buffer BUFFER_SIZE_MB of data in RAM for smoothing out disk IO latency
--start START skip packets until one with a timestamp of >= START is found
--stop STOP stop when packet with a timestamp of >= STOP is found
--relative START and STOP are relative to the timestamp of the first packet, rather than absolute
--rate RATE (=1) play at RATE times real time (inf works)
--filename FILENAME play file named FILENAME
--follow keep reading appended data as the file grows

Example

sdgps read-observables-file foo.obs --rate inf --stop 10 ! kf2

This will read a cooked file as fast as possible until reaching 10 seconds into the file and process the stream into a solution stream.

read-raw-file

Type signature: (->raw)

Help

Usage:

read-raw-file [OPTION]... FILENAME

Allowed options:

Option Description
--help produce help message
--buffer-size BUFFER_SIZE_MB (=128) buffer BUFFER_SIZE_MB of data in RAM for smoothing out disk IO latency
--start START skip packets until one with a timestamp of >= START is found
--stop STOP stop when packet with a timestamp of >= STOP is found
--relative START and STOP are relative to the timestamp of the first packet, rather than absolute
--rate RATE (=1) play at RATE times real time (inf works)
--filename FILENAME play file named FILENAME
--follow keep reading appended data as the file grows

Example

sdgps read-raw-file foo.obs --start 5 --rate inf ! sw-correlator ! tracker

This will read a cooked file as fast as possible, starting 5 seconds into the file and process the stream into a cooked2 stream.

read-solution-file

Type signature: (->solution)

Help

Usage:

read-solution-file [OPTION]... FILENAME

Allowed options:

Option Description
--help produce help message
--buffer-size BUFFER_SIZE_MB (=128) buffer BUFFER_SIZE_MB of data in RAM for smoothing out disk IO latency
--start START skip packets until one with a timestamp of >= START is found
--stop STOP stop when packet with a timestamp of >= STOP is found
--relative START and STOP are relative to the timestamp of the first packet, rather than absolute
--rate RATE (=1) play at RATE times real time (inf works)
--filename FILENAME play file named FILENAME
--follow keep reading appended data as the file grows

Example

sdgps read-solution-file foo.sol --rate 2

This will read a solution file at up to 2 times faster than real time.