Yuanshen Stadium station

Yuanshen Stadium (simplified Chinese: 源深体育中心; traditional Chinese: 源深體育中心; pinyin: Yuánshēn Tǐyùzhōngxīn) is a station on Line 6 of the Shanghai Metro. It began services on December 29, 2007. In addition to having a side platform layout, it is an underground station.

Yuanshen Stadium

源深体育中心
Northbound platform
LocationZhangyang Road and Yuanshen Road
Pudong, Shanghai
China
Coordinates 31°14′6″N 121°31′47″E
Operated byShanghai No. 4 Metro Operation Co. Ltd.
Line(s)     Line 6
Platforms2 side platforms
Construction
Structure typeUnderground
History
OpenedDecember 29, 2007
Services
Preceding station   Shanghai Metro   Following station
Line 6
Location
Yuanshen Stadium
Location in Shanghai

Station Layout

G Entrances and Exits Exits 1-4
B1 Concourse Faregates, Station Agent
B2
Side platform, doors open on the right
Northbound      Line 6 towards Gangcheng Road (Minsheng Road)
Southbound      Line 6 towards Oriental Sports Center (Century Avenue)
Side platform, doors open on the right

Around the station

gollark: ```python#!/usr/bin/env python3import subprocess, os, os.path, sys, argparse, datetimetimestamp = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S")print(timestamp)parser = argparse.ArgumentParser(description="do backups, probably")parser.add_argument("--encrypt", "-E", help="store backup in encrypted folder (please make sure it's unlocked)", action="store_true")parser.add_argument("--no-incremental", "-n", help="don't do incremental backup", action="store_true")parser.add_argument("--save_as", "-a", help="back up under different name")parser.add_argument("dir", help="directory to backup")args = parser.parse_args()incremental = not args.no_incrementalprint(args)srcdir = os.path.abspath(args.dir)outdir = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), "encrypted/backups" if args.encrypt else "backups")safepath = (args.save_as or srcdir).lstrip("/").replace("/", "-").replace("_", "-")outpath = os.path.join(outdir, f"{safepath}_{timestamp}{'_incr' if incremental else ''}.tar.zst")snapshot = os.path.join(outdir, f"{safepath}.snapshot")snapargs = ["-g", snapshot] if incremental else []print(srcdir, outdir, outpath)tarproc = subprocess.Popen(["tar", "-c", "-v", "-C", os.path.dirname(srcdir), os.path.basename(srcdir)] + snapargs, stdout=subprocess.PIPE)zstproc = subprocess.Popen(["zstd", "-10", "-T0", "-o", outpath], stdin=tarproc.stdout)def assert_proc(x): if x.wait() != 0: print(f"warning: {x.args} failed")assert_proc(tarproc)assert_proc(zstproc)```efficiency™
gollark: Wow, I really love having to use `grep` to find an option in `--help`!
gollark: Yes.
gollark: Anyway², I'll switch over my backup stuff and use the existing incremental tar thing for smallish compressible directories and rsync for large-scale apiary data.
gollark: Wow, my server just got an "out of disk space" warning for /tmp.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.