uataq.instruments.GPS#

class uataq.instruments.GPS(SID, name, loggers, config)[source]#

Bases: Instrument

GPS receiver providing position, and speed and course where logged.

Recorded speed is given as Speed_m_s (lin’s NMEA knots are converted; horel logs m/s). Receivers logging only GPGGA sentences record neither speed nor course; both are then estimated from the positions (uataq.gps.estimate_speed_course()) and flagged in Speed_Estimated / Course_Estimated.

__init__(SID, name, loggers, config)#

Initialize the Instrument object.

Parameters:
  • SID (str) – Site ID where the instrument is installed.

  • name (str) – Name of the instrument.

  • loggers (dict) – Dictionary of loggers used by different research groups.

  • config (dict) – Configuration settings for the instrument.

Attributes

estimate_max_gap

Longest interval between consecutive fixes that an estimate may span.

estimate_window

Samples on each side of the centered difference used to estimate speed and course from positions.

Methods

estimate_motion(data)

Fill missing Speed_m_s / Course_deg from the positions.

read_data(group[, lvl, time_range, ...])

Read GPS data, with speed in m/s and course in degrees.

Inherited

From Instrument: active_range, clip_to_active, get_datafiles, get_files, get_highest_lvl, model, plan_reads, resolve_group, standardize_data