tessl install tessl/pypi-pynmea2@1.19.0Python library for parsing and generating NMEA 0183 protocol messages used in GPS and marine navigation systems
Agent Success
Agent success rate when using this tile
77%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.12x
Baseline
Agent success rate without this tile
69%
A tool that analyzes GPS track data to extract and report temporal information from navigation messages.
@generates
from datetime import datetime, date, time
def extract_timestamp(nmea_message: str) -> time:
"""
Extract time information from an NMEA message.
Args:
nmea_message: A valid NMEA sentence string
Returns:
A time object with the timestamp from the message (UTC timezone)
"""
pass
def extract_datestamp(nmea_message: str) -> date:
"""
Extract date information from an NMEA message.
Args:
nmea_message: A valid NMEA sentence string containing date information
Returns:
A date object with the datestamp from the message
"""
pass
def extract_datetime(nmea_message: str) -> datetime:
"""
Extract combined date and time information from an NMEA message.
Args:
nmea_message: A valid NMEA sentence string containing both date and time
Returns:
A datetime object combining date and time from the message (UTC timezone)
"""
pass
def extract_local_datetime(nmea_message: str) -> datetime:
"""
Extract datetime with timezone information from an NMEA message.
Args:
nmea_message: A valid NMEA sentence string with timezone data
Returns:
A datetime object with UTC time and timezone information
"""
passProvides NMEA 0183 protocol parsing support for GPS and marine navigation messages.
@satisfied-by