Elvas Tower: Use of weather files in timetable mode - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Use of weather files in timetable mode Rate Topic: -----

#1 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,424
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 30 July 2019 - 09:27 AM

As mentioned, the latest unstable test version includes the implementation of weather file processing in timetable mode.
Weather files allow definition of variable weather for a full day. There are three possible weather types : clear, precipitation (rain or snow) and fog. Weather files are text files in JSON format, with file extention weather-or, and must be stored in the route directory (new subdirectory weatherfiles).
The required weather file can be selected from the main menu. Selection is optional - if not selected, the normal default weather is used.

This document contains a full description of the files, format and parameters :
Attached File  WeatherFile_Definitions.pdf (71.86K)
Number of downloads: 927

This document is a quick reference table for all parameters :
Attached File  Weathercommands.pdf (23.52K)
Number of downloads: 872

This zip-file contains a set of examples :
Attached File  WeatherFiles.zip (2.19K)
Number of downloads: 866


Regards,
Rob Roeterdink

#2 User is offline   m61 

  • Fireman
  • PipPipPip
  • Group: Status: Fired
  • Posts: 163
  • Joined: 12-May 14
  • Gender:Male
  • Location:Bialobrzegi
  • Simulator:Open Rails
  • Country:

Posted 01 August 2019 - 12:52 AM

https://img.td2.info.pl/images/2019/08/01/Open-Rails-2019-08-01-10-16-51.md.jpg

https://img.td2.info.pl/images/2019/08/01/Open-Rails-2019-08-01-10-24-31.md.jpg

https://img.td2.info.pl/images/2019/08/01/Open-Rails-2019-08-01-10-26-10.md.jpg

https://img.td2.info.pl/images/2019/08/01/Open-Rails-2019-08-01-10-27-00.md.jpg

https://img.td2.info.pl/images/2019/08/01/Open-Rails-2019-08-01-10-30-53.md.jpg

https://img.td2.info.pl/images/2019/08/01/Open-Rails-2019-08-01-10-31-41.md.jpg

Thank you very much :sign_thanks:

https://or.trainsim.pl/

#3 User is offline   Hannes44 

  • Fireman
  • Group: Status: Active Member
  • Posts: 161
  • Joined: 10-October 17
  • Gender:Male
  • Location:Select State/Province
  • Simulator:Open Rails
  • Country:

Posted 01 August 2019 - 11:42 AM

I have to admit, I dont't know anything about env files etc and how OR simulates weather. Could someone in the know explain, how I get a beautiful day with blue sky and max some white clouds in OR? all I get atm is more or less gray, mostly overcast even with "summer" and "clear". Nevertheless thank you for the great weatherfile extension.

#4 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,341
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 24 October 2020 - 11:47 AM

I missed this thread earlier but I think my question is still relevant:

Aside from the question of available programming resources to change code, is there anything about this neat new feature that would prohibit the weather file from being tied to specific non-timetable activities by means of adding a reference to the desired file in an .act file?

#5 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 25 October 2020 - 05:02 AM

I don't know, but I don't think there are big obstacles.. However activity mode already has modes to change weather, both randomly and programmatically.

#6 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,341
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 25 October 2020 - 10:56 AM

View PostCsantucci, on 25 October 2020 - 05:02 AM, said:

I don't know, but I don't think there are big obstacles.. However activity mode already has modes to change weather, both randomly and programmatically.


I was just thinking that what Rob created is both sophisticated and comprehensive and as such duplication in the OR code might be appropriate so as to implement an identical feature set in the two ways activities can be defines.

#7 User is offline   Seshey 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 3
  • Joined: 20-September 17
  • Simulator:Open Rails
  • Country:

Posted 08 January 2021 - 06:45 PM

Hi The weather tool in timetable mode is very good and adds a touch of realism to the sim. I was wondering if the weather could be determined, could the time of sunrise and sunset (dawn/dusk etc) be controlled in a similar way.

#8 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,892
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 09 January 2021 - 12:05 AM

But it's tied now globally to geographic coordinates of the route's <that You're usind> quad-tree, so auto-calculated by ORTS, taking in account the season...
Wait a minute: I guess, I understood, what You did mean...
The precise "day of the year"'s timings for astronomic events?
This way, the task will be just to have an opportunity of specifying the proper date at activity, or choose it during TT-options setting before game launching... In other words, more thin gradation, than present Four-seasonal?

I've seen somewhere the topic, where the Star-Calculator capabilities for using in ORTS were discussed.

#9 User is offline   systema 

  • Fireman
  • Group: Status: Active Member
  • Posts: 107
  • Joined: 16-March 15
  • Gender:Male
  • Location:The Heart of Cheshire
  • Simulator:Open Rails
  • Country:

Posted 08 February 2023 - 08:32 AM

I have been trying weather files in timetable mode and I really like it. However, I notice that the independent variable wind is set to zero if a weather file is loaded. This can be seen in the HUD. If in timetable mode and no weather file is set/loaded the independent wind exists.

Is it possible to fix this?

Mick Clarke
MEC

#10 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,490
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 16 February 2023 - 01:17 PM

View Postsystema, on 08 February 2023 - 08:32 AM, said:

I have been trying weather files in timetable mode and I really like it. However, I notice that the independent variable wind is set to zero if a weather file is loaded. This can be seen in the HUD. If in timetable mode and no weather file is set/loaded the independent wind exists.

Is it possible to fix this?

The weather code is split between default behaviour (which has a random wind component) and weather file behaviour (which currently cannot specify wind), hence a weather file always has zero wind right now

Although I am working on the wind code, I am not currently touching the separate weather file code, but it would make sense to consolidate these two separate behaviours in the future, and to add wind to weather files

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users