-
-
Notifications
You must be signed in to change notification settings - Fork 10
fix: Fix multiple validity error #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Fix multiple validity error #74
Conversation
afee093 to
b890256
Compare
b890256 to
c05d238
Compare
…meter units - Add parsing for visibility that looks like a validity
… units - Add parsing for visibility that looks like a validity
c05d238 to
f567517
Compare
|
Hello @benyakirten It is the first time I see this representation for the visibility. How is it interpreted ? |
Improve documentation in parse_delivery_time function to clarify the issue with validity time strings being parsed as delivery time.
…tiple-validity-error
|
|
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |



I received an erroneous validity and incorrect visibility interpretation when parsing the following TAF:
The TEMPO lines had the validity as starting from month 99, day 99 to month 80, day 0 for the first and from month 99, day 99 to month 90 day 0 for the second. This is because the format (
\d{4}/\d{4}) is identical to the validity.I added checking for if the validity was valid (month must be < 32 and hour must be < 24), and if it's not then it will be read as a distance in meters.