Is that Citi Bike station dead? When were bikes shifted from that station? When did station z go to 0 bikes or 0 docks?
This tracks the data in RRDtool.
(the largest station, called 8 Ave & W 31 St, just west of Penn Station on the evening of 6/15/2013)
-
Install RRDtool, perhaps.
-
Set WD in pollup to something handy.
-
Run pollup once by hand ignoring the error.
-
grep -v Planned grab | cut -d ' ' -f 1 | cut -c6-9 > id
-
Edit file 'id' to remove any stations you do not care about. (Runs fine with all stations on any contemporary machine.) The left columns in 'grab' are the only key.
-
Run massrrd.
-
Have pollup run every minute from cron.
-
Wait a few minutes.
-
Run draw.
-
Wait more.
-
Go to 9.
If you recreate 'id' and new stations appear you'll see something like — ERROR: opening 's241.rrd': No such file or directory — when you run draw. Generate its RRD file by hand using the line from massrrd.