Read the statement by Michael Teeuw here.
MMM-aviationwx (Aviation weather)
-
@Mykle1 said in MMM-aviationwx (Aviation weather):
What are the last 2 entries on each line
10/-1 and (20:51)
Red and pink LOL
-
@stephenmelody said in MMM-aviationwx (Aviation weather):
10 degrees C temperature / -1 degrees C dew point (time of report)
You would like that the same? Delete or move Altimeter?
-
-
the format on that image is:
Wind direction @ wind speed: 220@05kt
Visibility: 10SM 10 statute miles
Sky Coverage: OVC - overcast, BKN - broken etc…
Cloud base: 150(00)ft
Temp: 10 degrees C
Dewpoint: -1 degrees C
Time of the report in 24 hour clock: 20:51I’d say (personal opinion) that the pressure/altimeter setting isn’t that important. I’d prefer to keep the additional information, if you look at FDY and TBR above, they have:
-RA which is showers of rain
BR - which is fog (or haze, I can’t remember… 70% sure it’s fog, either way you can’t see through it well)That to me is more important that the altimeter setting.
I can look for other examples if that would help?
-
@stephenmelody said in MMM-aviationwx (Aviation weather):
I can look for other examples if that would help?
Nope, that’s good for now
-
How would I denote visibility if this is the data ?
Visibility:1500Simply
1500?v1500? vis? other? -
Do you have an example airport you’re getting that from? Is it outside of the US where viz is usually XXSM?
-
-
@stephenmelody said in MMM-aviationwx (Aviation weather):
Is it outside of the US where viz is usually XXSM?
I thought that was the whole idea for this module, that it would be international, yes?
-
Russian Viz is in metres, so they’d want to see 1500m I’m guessing.
That’s the problem, you’re creating the ability to call weather from international airports but each country / region reports differently. The good thing with AVWX is it tells you the unit to use, so you could just append after the value the unit identifier, so in your example you have:
"Visibility": "9999",and in the units section:
"Visibility": "m",so you could concatenate it to be:
visibility: 9999mDoes that make sense? Have I answered the question?
-
The three main differences I know of are:
USA reports altimeter in inHg, rest of the world is hPa (or mb, which is the same thing).
USA Reports viz in Statute Miles, rest of the world in Kilometers
Russia reports wind speeds in Metres/Second, rest of the world in Knots. (they also report altitude in meters above the ground and the rest of the world uses feet above the ground (or sea level, that also depends…)
That’s when flying becomes fun, so in the UK, you fly at an altitude in feet, a speed in knots (nautical miles per hour) and with a visibility in kilometers… talk about mixing up units!!!
-
@stephenmelody said in MMM-aviationwx (Aviation weather):
Does that make sense? Have I answered the question?
Yup, I’m on it
-
So, it just dawned on me that the Raw-Report data looks pretty much like what I’ve been trying to achieve piece by piece, according to all of the wishes in this topic, aside from the order and the formatting. Shrug
Raw-Report: UUDD 220230Z 32003MPS 9999 OVC014 00/M02 Q1005 R32L/520295 NOSIG
Anyway, the flight rules have been converted to alternative color coding and are working. I can add the standard color coding at another time, via config option, so you can choose one or the other. The units will also will come from the data. The only time coming from the data is in Zulu time. It does not say if that is the time of the report.
Do you want a second line of data? Would you rather a single line as you’ve shown above?
Most importantly:
Someone needs to figure out how to call multiple ICAO’s in a single request. This would make my job a whole lot easier. Do I have to do everything? ;-)
@allebone said:
This is amazing collaboration.
So, collaborate already! ;-)
https://avwx.rest/api/metar/uudd only gets data for a single ICAO, uudd.
EDIT
I contacted the API. Only one station per request. Of course! I’ll think of something. -
Here we encounter another problem with the “Remarks” line. It is not always the same length. When it is longer it wraps and looks messy. I could trim the data but that defeats the purpose. How set are we with having the remarks line?

-
Standard and Alternative color coding is now a config option
-
So, I keep flip-flopping with API’s. I’m not thrilled with
aviationweather.govbut it does allow me to call multiple international stations in one request. However, there are differences in what each API offers. Until I can figure out how to make multiple requests toavwx.rest/apithen this will have to do. When I do figure that out I intend to use theavwx.rest/apiCaveat
You can enter up to 8 international station ICAO’s. However, only stations with observation times within the last hour will be displayed. For instance, if KJFK has 2 observations within the last hour, then both observations will be displayed if there is an older observation among your other stations. In any case, the stations will order themselves by observation time starting with the most recent at the top.

Question: Remove the kt from wind speed? This API only provides kt.
Question: Remove the C from temperature? This API only provides C
Question: Any desire to have this module occupy the bottom or top bar where each station (one at a time) will span the entire width of your display? Ex, below the newsfeed module. I’m thinking a single line that can contain ALL of the data (raw data included) and you choose the amount of time each is displayed. Just a thought.
-
I’d be surprised if the gov api is converting reported units to kts… I can have a look at this later and see if that’s really the case, or if it’s just providing values.
C can go as all temps are reported in celcius, that’s the only bit that I think is common!!
Have you tried emailing the guy at avwx?
He might be able to help
-
@stephenmelody said in MMM-aviationwx (Aviation weather):
Have you tried emailing the guy at avwx?
I did. That’s how I know I can’t use a single url for multiple stations (as in aviationweather). It’s my own lack of coding capability that prevents me from making multiple calls to that API from within the module. Help with that will have to come from this forum or somewhere else, not the API.
I’d be surprised if the gov api is converting reported units to kts
The data says,
wind_speed_kt -
“C” removed

Individual coloring of each line made easy for easier viewing.

Still trying to work out the problem with
/avwx.rest/api -
@Mykle1 said in MMM-aviationwx (Aviation weather):
Hi again,
Sorry for my long absence, I had really tough week of flights,and now I’m have 1 day off ;) Seem that you made a very good job with new module and I have seen that some questions were in place. So, just some of my opinions on these questions:
-
Remove C from temperature? - yes, indeed. We just need to be sure that all data in C.
-
Remove the kt from wind speed? The best way to keep initial units of measure (m/s in RU, kts in other contries from example). But, as I undestood, thats depends on API…
-
About remarks: first, just to recall - best way to have them to be configurable (to have options to display them/not display them at all). And for me - best way to keep the whole RMK field. Is there any possibility to align it by the next way:
? -
Also, I would ask you to keep digits after OVC/FEW/etc - it’s a important information, which means a top of clouds. I’ve just seen that on the last screenshoots this information is missing.
If you have any additional questions - please, let me know.
And thanks you again for your job. -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login