Comments (3)
Based on the following, page 25-28, it appears as if the directional visibility will always accompany a primary visibility.
The minimum visibility is also included when the visibility in one direction, which is not the prevailing visibility, is less than 1,500 meters or less than 50% of the prevailing visibility and less than 5000 meters. A direction is also added if possible, as N, NE, E, SE, S, SW, W and NW. If the direction cannot be determined like in AUTO metar, NDV (No directional visibility) keyword can be used.
It seems like a visibility with a direction attached will always have a prevailing visibility (without a specific direction). For example
3200 1200SW
Here's you example, but with the above visibility string, working correctly:
It seems like it may be possible (?) to have more than one minimum visibility directions, but I'm not sure.
Do you have a specific example of a real METAR with a direction but without a prevailing visibility?
from metar-taf-parser.
You may well be right, but it's frustratingly difficult to find a definitive resource.
This reference backs up your theory:
But this source only refers to "two groups" (not in addition to a prevailing group):
And then this source again suggests there is a prevailing visibility followed by a directional visibility:
On balance (and based on the "officialness" of the above sources) it does seem that you're correct that a directional visibility should follow a non-directional visibility.
Happy to close this if you are.
from metar-taf-parser.
Sounds good! Please let me know if you find anything weird like this in a real METAR and I will reopen this.
from metar-taf-parser.
Related Issues (17)
- Parser crashes when COR is set HOT 3
- Error creating Trend HOT 2
- InvalidWeatherStatementError: Invalid weather string: Report time is invalid
- Example website doesn't handle metric units HOT 1
- Provide each line of TAF in parsed output
- RMK section of a TAF leading to bogus weather conditions
- METARs with VCBL* codes are not parsing correctly
- Station being incorrectly parsed HOT 2
- Export IMetarDated Type HOT 1
- SPECI not parsed correctly
- Invalid end date in parsed TAF forecast HOT 9
- Suggestion: include raw text for each parameter HOT 2
- Suggestion: station info HOT 2
- Suggestion: consistent treatment of units HOT 4
- Rounding error in altitude conversion? HOT 2
- Runway info not provided for R14R/590335
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metar-taf-parser.