Page 1 of 1

Live Weather (METAR Decoder) Mod

Unread postPosted: Sun Jan 08, 2017 11:08 am
by Alpenfreight
Hey all,

Here is the initial release of my weather decoder. Please let me know if there are any bugs! I've tested quite a lot of weather so far and all seems good!

https://alpenfreight.wordpress.com/port ... r-decoder/

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Sun Jan 08, 2017 5:32 pm
by PapaXpress
Just a thought, but could you also provide the XML for the source file? Then we could edit and export using the BP Editor.

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Mon Jan 09, 2017 9:55 am
by TDHenderson
This is really neat. Thanks for sharing!

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Mon Jan 09, 2017 11:37 am
by Alpenfreight
PapaXpress wrote:Just a thought, but could you also provide the XML for the source file? Then we could edit and export using the BP Editor.


Im not too familiar with the BP editor. Basically I use this to replace the RW_Clear theme in the RailSimulator/Core/Weather folder. This way quickdrives using the "Clear" theme actually use the real METAR conditions.

Easy to set up before each drive and gives me a new look and feel every time!

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Mon Jan 09, 2017 1:52 pm
by Alpenfreight
Small update today to address a couple bugs when reading European METARs. Download on my website:

https://alpenfreight.wordpress.com/port ... r-decoder/

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Wed Feb 01, 2017 3:45 pm
by Alpenfreight
New Update today

https://alpenfreight.wordpress.com/port ... r-decoder/

v1.5
- Added a few exceptions to stop rain from occurring on non-raining days
- Added an option to set a max viewable distance (Defaults to 10 miles). This can be used to set where the blue fog appears on a clear day. I believe 10 miles looks accurate due to the short render distance in Railworks to begin with. If you have a route with good textured mountains then this can perhaps be set further.
- Added a field to rename the weather pattern.

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Wed Feb 01, 2017 8:43 pm
by ZekTheKid
Thanks for this! I look forward to using this! !!*ok*!!

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Sat Feb 04, 2017 7:28 pm
by NS349
I still can't get this to work, so I followed the steps, but I have a custom route, in the route I want to input the weather in.. I don't have a "weather" folder so i created one put the .xml .bin file in there. is there a Youtube tutorial for this by any chance?

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Sat Feb 04, 2017 8:09 pm
by Alpenfreight
NS349 wrote:I still can't get this to work, so I followed the steps, but I have a custom route, in the route I want to input the weather in.. I don't have a "weather" folder so i created one put the .xml .bin file in there. is there a Youtube tutorial for this by any chance?


You can put the weather file in the Kuju/RailSimulatorCore/Weather folder and it should be accessible by any route

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Sun Feb 05, 2017 8:06 pm
by NS349
oh okay got it, so I have one more question. location 2 metar 2 I guess, when does that one take effect, like for example I chose the Seattle Washington aiport meter KSEA showing overcast with snow, and chose another like KMDW Chicago Midway Airport Meter. with partly cloudy, how would that work?

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Sun Feb 05, 2017 11:25 pm
by Alpenfreight
NS349 wrote:oh okay got it, so I have one more question. location 2 metar 2 I guess, when does that one take effect, like for example I chose the Seattle Washington aiport meter KSEA showing overcast with snow, and chose another like KMDW Chicago Midway Airport Meter. with partly cloudy, how would that work?


You can set the time between the two as one of the main options. This is the time that they will start transitioning. As far as I can tell the full transition takes about 10 - 15 mins.

Re: Live Weather (METAR Decoder) Mod

Unread postPosted: Thu Feb 09, 2017 1:31 pm
by Alpenfreight
New Update today,

https://alpenfreight.wordpress.com/port ... r-decoder/
https://docs.google.com/spreadsheets/d/ ... 5otp8/copy

V1.6
- Fixed some incorrect viewing distances at low visibility
- Made some calculations more efficient