Vionnaz railway station
Vionnaz railway station (French: Gare de Vionnaz, German: Bahnhof Vionnaz) is a railway station in the municipality of Collombey-Muraz, in the Swiss canton of Valais. It is an intermediate stop on the Saint-Gingolph–Saint-Maurice line and is served by local trains only. The station serves the municipality of Vionnaz, located on the opposite side of the Canal du Bras Neuf.
Vionnaz | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The station platform in 2018 | |||||||||||
Location | Collombey-Muraz Switzerland | ||||||||||
Coordinates | 46°18′52″N 6°55′9″E | ||||||||||
Owned by | Swiss Federal Railways | ||||||||||
Line(s) | Saint-Gingolph–Saint-Maurice line | ||||||||||
Train operators | RegionAlps | ||||||||||
Services | |||||||||||
| |||||||||||
Location | |||||||||||
Vionnaz Location within Switzerland |
Services
The following services stop at Vionnaz:[1]
- Regio: hourly service between St-Gingolph and Brig.
gollark: ```nimproc pollTargets(ctx: Ctx) {.async.} = for row in ctx.db.all("SELECT * FROM sites"): var (id, url, rollingTotalPings, rollingSuccessfulPings, rollingLatency, rollingDataSince) = row.unpack((int64, string, int64, int64, int64, Option[Time])) let res = await ctx.pollTarget(url) let threshold = getTime() # drop old data from rolling counters if rollingDataSince.isSome: for row in ctx.db.iterate("SELECT status, latency FROM reqs WHERE timestamp >= ? AND timestamp <= ? AND site = ?", rollingDataSince.get, threshold, id): let (statusRaw, latency) = row.unpack((int, int)) rollingTotalPings -= 1 rollingLatency -= latency if statusRaw <= 0: rollingSuccessfulPings -= 1 # add new data rollingTotalPings += 1 rollingLatency += res.latency if int(res.rtype) <= 0: rollingSuccessfulPings += 1 ctx.db.transaction: ctx.db.exec("UPDATE sites SET rc_total = ?, rc_success = ?, rc_latency = ?, rc_data_since = ? WHERE sid = ?", rollingTotalPings, rollingSuccessfulPings, rollingLatency, threshold, id) ctx.db.exec("INSERT INTO reqs (site, timestamp, status, latency) VALUES (?, ?, ?, ?)", id, getTime(), int(res.rtype), res.latency)```This is the core algorithm.
gollark: Actually, æææææ who even knows.
gollark: The boundary conditions could be wrong on this query.
gollark: Hmm. I think I might know what this is maybe?
gollark: I think that might just have been a bug I introduced by accident.
References
- "St-Gingolph - Bouveret - Monthey - St-Maurice" (PDF). Bundesamt für Verkehr. 3 October 2019. Retrieved 19 April 2020.
External links
Media related to Vionnaz railway station at Wikimedia Commons - Vionnaz railway station – SBB
- Vionnaz railway station – RegionAlps (in French)
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.