Skip to content

feat: Enhance METAR validation and parsing functionality#10

Merged
Clarmy merged 2 commits intomainfrom
fix/validandweather
Oct 16, 2025
Merged

feat: Enhance METAR validation and parsing functionality#10
Clarmy merged 2 commits intomainfrom
fix/validandweather

Conversation

@Clarmy
Copy link
Copy Markdown
Member

@Clarmy Clarmy commented Oct 16, 2025

  • Updated regex patterns in validate_metar to improve accuracy in parsing METAR messages, including handling of RMK remarks and isolated digits.
  • Added comprehensive test cases to validate various METAR formats, including edge cases for wind, visibility, and temperature.
  • Improved weather description handling in parsing to ensure correct word order.
  • Introduced additional validation rules for suspicious fields and isolated values in METAR reports.

- Updated regex patterns in `validate_metar` to improve accuracy in parsing METAR messages, including handling of RMK remarks and isolated digits.
- Added comprehensive test cases to validate various METAR formats, including edge cases for wind, visibility, and temperature.
- Improved weather description handling in parsing to ensure correct word order.
- Introduced additional validation rules for suspicious fields and isolated values in METAR reports.
@Clarmy Clarmy merged commit 350915c into main Oct 16, 2025
5 checks passed
@Clarmy Clarmy deleted the fix/validandweather branch October 16, 2025 10:45
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