Skip to content

support dumpvdl2 and acarsdec, updated label h1, 80, b6, NEW label 17#1

Open
Ljubo32 wants to merge 67 commits into
plane-watch:mainfrom
Ljubo32:main
Open

support dumpvdl2 and acarsdec, updated label h1, 80, b6, NEW label 17#1
Ljubo32 wants to merge 67 commits into
plane-watch:mainfrom
Ljubo32:main

Conversation

@Ljubo32
Copy link
Copy Markdown

@Ljubo32 Ljubo32 commented Jan 8, 2026

No description provided.

Ljubo32 added 30 commits January 8, 2026 13:04
Updated wind data parsing to handle both 5 and 6 digit formats, including trimming whitespace.
Update decodeAltitude function to include altitude offset.
Refactor latitude and longitude parsing to use parseLabel80Coord function.
Refactor ACARS parser CLI to improve usability and structure.
Refactor main.go to implement various CRC algorithms for testing against known ACARS messages. Remove unused code and add CRC functions for ARINC, CCITT, IBM, MODBUS, and Fletcher checksums.
Added a raw message text block to preserve newlines and display raw text when available. Increased the summary character limit from 180 to 500.
Ensure proper formatting by adding a newline at the end of the HTML file.
Added Offset and SetOffset methods to BitReader.
Updated Position and Frequency structs to improve type handling and added Temperature, WindSpeed, Winds, and PositionReport structs for enhanced weather and position reporting.
Added a test for decoding a dM48 POSITION REPORT in CPDLC.
Updated direction determination logic and improved message formatting.
Refactor CPDLC decoder to improve handling of optional elements and enhance decoding robustness. Update comments for clarity and maintain backward compatibility with existing JSON consumers.
Updated parsing logic for H2 wind messages to handle both 02A and 02E headers. Adjusted data structures and parsing functions for latitude, longitude, and wind layers.
Updated styling for point labels and flight level labels in the ACARS viewer. Improved handling of flight level text extraction and display.
- Add airport/ground station name resolution to parsers: label83, label44, label80, labelb3, label10, label5l, h2wind
- Add ADSC uplink (Label A6) support with contract request decoding
- Add Direction field to distinguish uplink vs downlink messages
- Fix envelope parser to skip altitude decoding for uplink messages
- Decode contract interval as modulus * 64 seconds
- Add airports.go with airport name lookup functions
- Fix double backtick syntax errors in label44 and adsc parsers
- msg.Header is MessageHeader (struct), not *MessageHeader (pointer)
- Structs cannot be nil in Go, only pointers can
- Keep check for msg.Header.MsgID instead
…oth MA (compressed) and H1 (decompressed) messages
- Implemented HumanReadableText method in Result struct for CPDLC messages.
- Enhanced Media Advisory parser to include FormattedText and HumanReadableText.
- Updated parsing logic to populate FormattedText with a detailed report of the media advisory.
- Modified tests to verify the new human-readable output for various scenarios.
- Introduced HumanReadableResult interface in the registry for consistent handling of human-readable outputs.
- Improved error handling in analyzer tool for unsupported output formats.
Introduces a merge mode that allows users to combine outputs from multiple input files into a single JSON or plain text file. Improves usability for batch processing and simplifies output management by handling temporary files and result aggregation within the app.
- Added MsgType field to Result structs in multiple parsers including h2wind, ilnge7x, labelb2, labelb3, landingdata, loadsheet, rep301, and sb01.
- Updated parsing logic to set MsgType appropriately during message parsing.
- Enhanced unit tests to verify MsgType is correctly set for parsed results in respective test files.
- Improved regex patterns in PDC parser to accommodate additional formats for departure time.
- Refactored code for better readability and maintainability.
Introduces parsing and display of initial wind layers for H2 wind messages (02A/02D), capturing altitude, temperature, and wind values at the start position. Displays these layers on map popups and in structured output, and shows altitude in metres alongside flight level for H2 route points.

Adds support for multiline POS02 position reports, extracting flight, dates, time, route, coordinates, altitude (in feet and flight level), Mach, and temperature, and classifies them as "pos" type. Updates tests to cover new parsing cases.

Removes legacy wind layer grok pattern in favor of explicit logic. Also improves summary column display logic and error-tolerant parsing for CPDLC route-clearance uplinks with empty route-info-additional tails.
…ssenger count extraction

- Added regex patterns for various weights (ZFW, TOW, TOF) to handle different formats including slashes and actual values.
- Introduced new regex patterns for extracting passenger counts, including TTL and PLUS formats.
- Refactored flight and route extraction logic to accommodate multiple formats and improve accuracy.
- Updated tests to cover new parsing scenarios, including multiline headers and various airline formats.
- Registered new parser modules in the parsers package for better modularity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant