Skip to content
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

VMC returned True for BKN or OVC less than 015 #1

Open
merius92 opened this issue May 5, 2021 · 1 comment
Open

VMC returned True for BKN or OVC less than 015 #1

merius92 opened this issue May 5, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@merius92
Copy link

merius92 commented May 5, 2021

Hi Mathieu,

First of all, I want to tell you that I really like this library.
While I have almost zero experience as coder, I also work as a TWR Air Traffic Controller, and I tried to check how does the VMC attribute behave.

I noticed that when the visibility is less than 5000 the code works just fine, but for the BKN/OVC values between 015 and 010, the code still returns the True value, while according to SERA it shouldn't. For values of 009 and less it works as intended. I live and work in Romania so it wasn't hard to check the French translated SERA that you referred to :).

As a reference, this is the code I played with:

from PythonMETAR import * example = Metar('LFQN','METAR LFQN 201630Z 18005KT 8000 -SHRA BKN011 18/12 Q1014') print(example) properties = example.getAttribute('vmc') if (properties["controlled"]) == True: print('VMC') else: print('IMC')

Keep up the good work!
Cheers,
M

@patpragman
Copy link

This might be a factor of FAA definitions?

I'm not sure I understand exactly what you're asking for here, but here in the states, ceilings have to be below 1000' or visibilities below 3sm for it to count as IFR.

@MattBct MattBct added the bug Something isn't working label Feb 13, 2024
@MattBct MattBct self-assigned this Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants