Python library for parsing and generating NMEA 0183 protocol messages used in GPS and marine navigation systems
77
{
"context": "This criteria evaluates how effectively the engineer uses pynmea2's time and date parsing capabilities to extract temporal information from NMEA messages. The focus is on proper use of pynmea2.parse(), accessing timestamp-related properties, and leveraging the library's built-in datetime handling features.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Parse NMEA sentences",
"description": "Uses pynmea2.parse() to parse NMEA message strings into message objects",
"max_score": 20
},
{
"name": "Access timestamp property",
"description": "Accesses the timestamp property from parsed message objects (e.g., msg.timestamp) to get time information",
"max_score": 20
},
{
"name": "Access datestamp property",
"description": "Accesses the datestamp property from parsed RMC messages (e.g., msg.datestamp) to get date information",
"max_score": 15
},
{
"name": "Use datetime property",
"description": "Uses the datetime property from parsed RMC messages (e.g., msg.datetime) to get combined date and time information",
"max_score": 20
},
{
"name": "Handle timezone information",
"description": "Accesses timezone-related properties from ZDA messages (e.g., msg.local_zone, msg.local_zone_minutes) or uses the localdatetime property to handle timezone offsets",
"max_score": 15
},
{
"name": "Correct sentence types",
"description": "Uses appropriate NMEA sentence types for the required information (GGA/RMC for timestamps, RMC for dates and datetimes, ZDA for timezone information)",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-pynmea2docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10