text string |
|---|
ID Fwy Dir District County City State_PM Abs_PM Latitude Longitude Length Type Lanes Name User_ID_1 User_ID_2 User_ID_3 User_ID_4 |
311831 5 S 3 67 10.89 506.183 38.409697 -121.484102 OR 2 Elk Grove Blvd TA-70 |
311832 5 S 3 67 10.89 506.183 38.409697 -121.484102 FR 1 Elk Grove Blvd TA-70 |
311844 5 N 3 67 11.09 506.383 38.412564 -121.484319 OR 2 Elk Grove Blvd TA-72 |
311845 5 N 3 67 11.09 506.383 38.412564 -121.484319 FR 1 Elk Grove Blvd TA-72 |
311847 5 N 3 67 12.18 507.473 38.428186 -121.487563 OR 3 Laguna Blvd TA-74 |
311864 5 N 3 67 12.18 507.473 38.428186 -121.487563 FR 1 Laguna Blvd TA-74 |
311903 50 E 3 67 64000 L.6 3.756 38.56706 -121.506477 3.056 ML 4 6th & X St. (I-5) TA-101 |
311930 50 E 3 67 64000 L.6 3.756 38.567296 -121.50632 FF 2 I-5 TA-101 |
311972 50 E 3 67 64000 L.6 3.756 38.56706 -121.506477 FR 3 I-5 TA-101 |
311973 50 E 3 67 64000 L11.4 17.034 38.595281 -121.280376 OR 3 11 St & X St. TA-102 |
311974 50 E 3 67 64000 L11.4 17.034 38.595281 -121.280376 2.6 ML 4 11 St & X St. TA-102 |
312009 50 E 3 67 64000 L11.4 17.034 38.595281 -121.280376 FR 1 11 St & X St. TA-102 |
312010 50 W 3 67 64000 L11.1 16.734 38.592632 -121.284824 2.418 ML 4 15th St & W St TA-103 |
312011 50 W 3 67 64000 L11.1 16.734 38.592632 -121.284824 OR 2 15th St & W St TA-103 |
312012 50 W 3 67 64000 L11.1 16.734 38.592632 -121.284824 FR 1 15th St & W St TA-103 |
312098 50 E 3 67 64000 L12.3 17.97 38.607393 -121.273347 2.118 ML 4 28th St TA-106 |
312099 50 E 3 67 64000 L12.3 17.97 38.607393 -121.273347 OR 1 28th St TA-106 |
312103 50 W 3 67 64000 R.5 6.134 38.560738 -121.464575 3.2 ML 4 Stockton Blvd TA-107 |
312104 50 W 3 67 64000 R.5 6.134 38.560738 -121.464575 OR 3 Stockton Blvd TA-107 |
312105 50 W 3 67 64000 R.5 6.134 38.560738 -121.464575 FR 2 Stockton Blvd TA-107 |
312108 50 W 3 67 64000 L12.3 17.97 38.607566 -121.273513 FR 2 28th St TA-106 |
312109 50 W 3 67 L12.3 17.97 38.607566 -121.273513 FF 1 28th St TA-106 |
312110 50 W 3 67 L12.3 17.97 38.607566 -121.273513 FR 1 28th St TA-106 |
312132 5 S 3 67 10.89 506.183 38.409697 -121.484102 4.58 ML 2 Elk Grove Blvd TA-70 |
312133 5 N 3 67 12.18 507.473 38.428186 -121.487563 1.455 ML 3 Laguna Blvd TA-74 |
312134 5 N 3 67 11.09 506.383 38.412564 -121.484319 3.045 ML 2 Elk Grove Blvd TA-72 |
312139 50 E 3 67 64000 L11.6 17.234 38.59769 -121.278281 .468 ML 4 16th & X St TA-104 |
312141 50 E 3 67 64000 L11.6 17.234 38.59769 -121.278281 OR 2 16th & X St TA-104 |
312142 50 W 3 67 64000 L11.6 17.234 38.597757 -121.27848 FR 2 16th & X St TA-104 |
312188 50 W 3 67 64000 R2.5 8.134 38.551231 -121.430307 .8 ML 4 65th St TA-111 |
312189 50 W 3 67 64000 R2.5 8.134 38.551231 -121.430307 OR 3 65th St TA-111 |
312190 50 W 3 67 64000 R2.5 8.134 38.551231 -121.430307 OR 2 65th St TA-111 |
312205 50 W 3 67 64000 R3.5 9.134 38.553169 -121.41243 .8 ML 4 Hornet Dr./ Howe TA-115 |
312206 50 W 3 67 64000 R2.5 8.134 38.551231 -121.430307 FR 2 65th St TA-111 |
312208 50 W 3 67 64000 R3.5 9.134 38.553169 -121.41243 OR 2 Hornet Dr./ Howe TA-115 |
312220 50 W 3 67 64000 R4.1 9.734 38.555562 -121.401793 .85 ML 4 Howe Ave. TA-117 |
312221 50 W 3 67 64000 R4.1 9.734 38.555562 -121.401793 OR 2 Howe Ave. TA-117 |
312236 50 W 3 67 64000 R1.9 7.534 38.555045 -121.440194 1 ML 4 59th St TA-110 |
312247 50 W 3 67 64000 R1.9 7.534 38.555045 -121.440194 OR 2 59th St TA-110 |
312264 50 W 3 67 64000 R5.2 10.834 38.558591 -121.381894 .65 ML 4 SB Watt Ave. TA-121 |
312265 50 W 3 67 64000 R5.2 10.834 38.558591 -121.381894 OR 2 SB Watt Ave. TA-121 |
312326 80 W 3 67 64000 M3.51 87.428 38.632837 -121.502546 2.59 ML 4 SB Truxel Rd / WB TA-250 |
312327 80 W 3 67 64000 M3.51 87.428 38.632837 -121.502546 OR 2 SB Truxel Rd / WB TA-250 |
312343 80 E 3 67 64000 M3.58 87.498 38.633144 -121.501332 2.6 ML 3 SB Truxel EB TA-252 |
312344 80 E 3 67 64000 M3.58 87.498 38.633144 -121.501332 OR 3 SB Truxel EB TA-252 |
312345 80 E 3 67 64000 M3.58 87.498 38.633144 -121.501332 FR 3 SB Truxel EB TA-252 |
312346 80 W 3 67 64000 M3.69 87.608 38.634292 -121.499778 2.59 ML 3 NB Truxel / WB TA-251 |
312347 80 W 3 67 64000 M3.69 87.608 38.634292 -121.499778 OR 2 NB Truxel / WB TA-251 |
312382 99 N 3 67 64000 17.6 292.07 38.473754 -121.422048 1 ML 3 EB Mack Rd TA-4 |
312383 99 N 3 67 64000 17.6 292.07 38.473754 -121.422048 OR 2 EB Mack Rd TA-4 |
312386 99 N 3 67 64000 17.91 292.38 38.477202 -121.425725 .325 ML 3 WB Mack Rd TA-6 |
312387 99 N 3 67 64000 17.91 292.38 38.477202 -121.425725 OR 2 WB Mack Rd TA-6 |
312388 99 N 3 67 64000 18.25 292.72 38.480981 -121.429767 .52 ML 3 Tangerine Ave. TA-7 |
312420 99 S 3 67 64000 18.61 293.055 38.484941 -121.434178 3.625 ML 3 Pomegranate Ave TA-8 |
312421 99 N 3 67 18.95 293.42 38.488781 -121.438055 .625 ML 3 Orange Ave TA-9 |
312422 99 N 3 67 19.5 293.97 38.494914 -121.444557 .425 ML 3 EB Florin Rd TA-10 |
312423 99 N 3 67 19.5 293.97 38.494914 -121.444557 OR 3 EB Florin Rd TA-10 |
312424 99 N 3 67 19.5 293.97 38.494914 -121.444557 FR 4 EB Florin Rd TA-10 |
312425 99 N 3 67 19.8 294.27 38.498256 -121.448118 .327 ML 3 WB Florin Rd TA-12 |
312426 99 N 3 67 19.8 294.27 38.498256 -121.448118 OR 2 WB Florin Rd TA-12 |
312427 99 S 3 67 19.8 294.27 38.498159 -121.448297 FR 1 WB Florin Rd TA-12 |
312439 80 E 3 67 64000 3.78 87.698 38.634771 -121.498277 .66 ML 3 NB Truxel Rd TA-253 |
312440 80 E 3 67 64000 3.78 87.698 38.634771 -121.498277 OR 2 NB Truxel Rd TA-253 |
312513 99 N 3 67 20.18 294.625 38.502508 -121.452602 .499 ML 4 Turnbridge Dr TA-13 |
312514 99 N 3 67 20.8 295.27 38.509693 -121.459386 .422 ML 4 EB 47th Ave TA-14 |
312515 99 N 3 67 20.8 295.27 38.509693 -121.459386 OR 2 EB 47th Ave TA-14 |
312516 99 N 3 67 20.8 295.27 38.509693 -121.459386 FR 1 EB 47th Ave TA-14 |
312517 99 S 3 67 20.86 295.305 38.510415 -121.460124 1.695 ML 4 EB 47th Ave TA-15 |
312518 99 S 3 67 20.86 295.305 38.510415 -121.460124 OR 1 EB 47th Ave TA-15 |
312519 99 S 3 67 20.86 295.305 38.510415 -121.460124 FR 1 EB 47th Ave TA-15 |
312520 99 N 3 67 21 295.47 38.51236 -121.460827 .4 ML 4 WB 47th Ave TA-16 |
312521 99 N 3 67 21 295.47 38.51236 -121.460827 OR 2 WB 47th Ave TA-16 |
312522 99 N 3 67 21 295.47 38.51236 -121.460827 FR 1 WB 47th Ave TA-16 |
312523 99 N 3 67 21.6 296.07 38.520391 -121.465087 .425 ML 4 Martin L. King Jr TA-17 |
312524 99 N 3 67 21.6 296.07 38.520391 -121.465087 FR 1 Martin L. King Jr TA-17 |
312525 99 N 3 67 21.85 296.32 38.523739 -121.466854 .235 ML 4 EB Fruitridge TA-18 |
312526 99 N 3 67 21.85 296.32 38.523739 -121.466854 OR 1 EB Fruitridge TA-18 |
312527 99 N 3 67 22.07 296.54 38.526685 -121.468411 .68 ML 4 WB Fruitridge TA-19 |
312528 99 N 3 67 64000 22.07 296.54 38.526685 -121.468411 OR 1 WB Fruitridge TA-19 |
312529 99 N 3 67 22.07 296.54 38.526685 -121.468411 FR 1 WB Fruitridge TA-19 |
312530 99 S 3 67 64000 22.6 297.045 38.533712 -121.472405 .71 ML 4 21st Ave UC TA-21 |
312562 99 N 3 67 64000 23.21 297.68 38.542395 -121.473702 3.07 ML 5 12th Ave TA-23 |
312563 99 N 3 67 64000 23.21 297.68 38.542395 -121.473702 OR 1 12th Ave TA-23 |
312564 99 S 3 67 64000 23.42 297.865 38.545438 -121.473985 .762 ML 4 8th Ave. POC TA-24 |
312566 99 S 3 67 64000 24.1 298.57 38.555269 -121.474415 2.852 ML 3 Broadway TA-25 |
312569 99 S 3 67 64000 24.1 298.57 38.555269 -121.474415 FF 1 Broadway TA-25 |
312648 99 N 3 67 22020 15.82 290.29 38.450901 -121.407554 .755 ML 3 EB Calvine Rd. TA-002 |
312649 99 N 3 67 22020 15.82 290.29 38.450901 -121.407554 OR 2 EB Calvine Rd. TA-002 |
312650 99 N 3 67 22020 15.82 290.29 38.450901 -121.407554 FR 1 EB Calvine Rd. TA-002 |
312651 99 N 3 67 22020 15.91 290.38 38.452117 -121.408143 .89 ML 3 WB Calvine Rd. TA-003 |
312652 99 N 3 67 22020 15.91 290.38 38.452117 -121.408143 OR 3 WB Calvine Rd. TA-003 |
312689 51 N 3 67 64000 .68 .68 38.568104 -121.469267 .92 ML 4 30 & P St. TA-28 |
312692 51 N 3 67 64000 .68 .68 38.568104 -121.469267 OR 2 30 & P St. TA-28 |
312693 51 N 3 67 64000 .68 .68 38.568104 -121.469267 FR 1 30 & P St. TA-28 |
312694 51 N 3 67 64000 1.16 1.16 38.574692 -121.466428 .41 ML 3 30 & J St. TA-30 |
312706 51 N 3 67 64000 1.16 1.16 38.574692 -121.466428 OR 2 30 & J St. TA-30 |
312709 51 N 3 67 64000 1.16 1.16 38.574692 -121.466428 FR 2 30 & J St. TA-30 |
312745 51 N 3 67 64000 1.5 1.5 38.579355 -121.46446 .92 ML 3 30 & E St. TA-31 |
312746 51 N 3 67 64000 1.5 1.5 38.579355 -121.46446 OR 2 30 & E St. TA-31 |
EvoXXLTraffic: a sensor-evolving, multi-decade PeMS traffic dataset
EvoXXLTraffic extends the XXLTraffic dataset family with yearly sensor catalogs, persistent station IDs, full-year 5-minute flow matrices and geographic graph snapshots. It covers nine California PeMS districts and up to 27 years (1999–2025), for a total of 213 district-years.
Code, preprocessing notebooks, benchmark protocols and results are on GitHub:
https://github.com/cruiseresearchgroup/TSAS26-EvoXXLTraffic (release tsas26-r1.1).
Contents
| path | content | size |
|---|---|---|
full_year/<district>/<year>.npz |
Full-year flow matrix of every district-year, stored as built by the preprocessing notebooks. See "Full-year matrices" below. | ~137 GB |
full_year/<district>/graph/<year>_adj.npz |
Thresholded geographic-proximity graph of that year's catalog (key x, N × N). |
~3.6 GB |
full_year/catalog.json |
Per district-year: sensor IDs in column order, start time, 5-minute interval, numbers of slots and sensors, and SHA-256 of both files. | |
caches/<district>/<year>/data.npz, graph.npz |
The corrected benchmark tasks used in the TSAS article: the first 31 days of each year, with explicit target and input masks. See "Benchmark caches" below. | ~50 GB |
coordinates/ |
Sensor coordinates in column order for every cached district-year, the source snapshot of each, no-look-ahead (dated) coordinates, and tools to build unthresholded distances or any kernel. | small |
metadata_snapshots/dXX/ |
The 3,523 dated PeMS station-metadata files the coordinates come from. | ~0.5 GB |
tfnsw/ |
Supplementary hourly data from Transport for NSW, outside the nine districts and the benchmark. See "Supplementary: tfNSW" below. | ~0.4 GB |
SHA256SUMS, SHA256SUMS.full_year, SHA256SUMS.tfnsw |
Checksums of every file. |
Years per district:
| District | Years | District | Years | District | Years |
|---|---|---|---|---|---|
| PEMS03 | 2001–2025 | PEMS06 | 2005–2025 | PEMS10 | 2006–2025 |
| PEMS04 | 2001–2025 | PEMS07 | 2001–2025 | PEMS11 | 1999–2025 |
| PEMS05 | 2005–2025 | PEMS08 | 2001–2025 | PEMS12 | 2002–2025 |
Processing pipeline
- Raw records. These are PeMS station 5-minute daily files per district from the Caltrans Performance Measurement System. The raw archive used here is linked from the GitHub README.
- Yearly catalog. The sorted station IDs present on an anchor day form the catalog. The anchor is the first available day of a district's first year, and 1 January in later years. Daily records are restricted to this catalog. Sensors that appear later in a year enter the next year's catalog. Station IDs persist across years, so a sensor can be followed through time.
- Full-year flow matrix (
full_year/<district>/<year>.npz, keyx). Total Flow is aligned to a regular 5-minute grid that runs from the start time to the end of the year. Notebooks:xxltrafficdata/pemsXX_build_eac_data.ipynbon GitHub. - Graph (
graph/<year>_adj.npz). This is a Gaussian kernel on Haversine distances, exp(−d²/σ²), where σ is the population SD of positive pairwise distances. Weights below 0.1 are removed and the diagonal is zero. Coordinates come from the dated metadata snapshots; a station without coordinates gets the mean location (flagged incoordinates/). - Training windows. The original notebooks also cut EAC-format training windows (
FastData) from the first 31 days. These windows are a few hundred GB, are fully reproducible from step 3 with the notebooks, and contain backward-filled targets. They are therefore not uploaded. - Corrected benchmark caches (
caches/). For the article, every yearly task was rebuilt from the daily records with explicit masks and forward-only input filling (benchmark_v2/build_caches.pyon GitHub). All reported experiments use these caches.
Full-year matrices
xhas shape slots × sensors (float32).- Row t is
start + 5 min × t, and the year ends at 31 December 23:55. - Columns follow
sensor_idsinfull_year/catalog.json. - In the cached years, the first 31 days equal the benchmark targets wherever those are observed.
Important: the stored matrix is filled. Each sensor's series is forward-filled, then backward-filled, and remaining gaps are set to 0.
- It therefore cannot distinguish a missing record from a true zero.
- Backward filling copies later values into earlier gaps.
- Do not use these values as forecasting targets or as model inputs without accounting for this.
- For leakage-free evaluation, use the masked benchmark caches, or rebuild masks from the raw records.
Benchmark caches (caches/)
Each data.npz holds one yearly task of 8,928 slots (31 days):
| key | content |
|---|---|
y |
Raw targets. |
observed |
Target accepted: the record is present and the flow is finite. |
x |
z-scored, forward-filled inputs. |
available |
Input slot holds a real value. |
sensor_ids, timestamps |
Column IDs and slot times. |
bounds |
[0, 5356, 7142, 8928]: train/validation/test. |
metadata |
Provenance JSON. |
Other details:
- The quality fields
record_present,flow_reportedandpercent_observedare kept. - Hashes equal the
data_sha256/graph_sha256in the GitHub run manifests. - PEMS04/2001 is part of the archive (
full_year/) but not of the benchmark, because its first 31 days have no accepted targets.
Supplementary: tfNSW
tfnsw/ holds yearly hourly traffic matrices built from the permanent counting stations of Transport for NSW (Australia),
the non-PeMS source of the XXLTraffic family. It is not part of the nine districts or 213 district-years above, and no
corrected benchmark result of the TSAS article uses it.
| path | content |
|---|---|
tfnsw/<year>.npz |
Flow matrix (key x, hours × nodes), 2006–2026. 2026 is partial (January to April). |
tfnsw/graph/<year>_adj.npz |
Geographic-proximity graph of that year's nodes (key x, N × N). |
tfnsw/meta/<year>_nodes.csv |
Column order: idx, node, station_id, direction, lat, lon. |
tfnsw/catalog.json |
Per year: start, 60-minute interval, numbers of slots, nodes and stations, share of zeros, SHA-256 of the matrix and graph. |
- Nodes: one node is a station and direction, so a two-way station gives two nodes. Years have 185–847 nodes (99–463 stations).
- Flows: hourly counts of all vehicles, or light plus heavy vehicles where the all-vehicle class is absent.
- The matrices are filled: in each year, every node's series is forward-filled, then backward-filled, and remaining gaps are set to 0. There is no observation mask, so a value here does not mean a count was recorded, and the share of zeros differs by year (2–21%). The publisher also notes data-quality and sensor-availability issues in these datasets.
- Graphs: thresholded Gaussian kernel of Haversine distances between nodes (σ is the standard deviation of the non-zero distances, threshold 0.1, zero diagonal). The two directions of a station are at distance 0.
Caveats
- Graphs describe retrospective geographic proximity, not road connectivity or travel time.
- Some stored graphs use coordinates from snapshots dated after the catalog anchor. The
dated_*coordinates avoid this. - Catalog size counts stored columns, not sensors with valid data at every slot.
- Published flows may include upstream PeMS imputation.
License and attribution
The data products in this repository are released under CC BY-NC 4.0 (LICENSE). The underlying records and
station metadata come from Caltrans PeMS (https://pems.dot.ca.gov/), whose terms continue to apply. The records in tfnsw/ come from
Transport for NSW, whose Traffic Volume Counts data are published under Creative Commons Attribution
(https://opendata.transport.nsw.gov.au/dataset/nsw-roads-traffic-volume-counts-api); they are processed here as described
above, and Transport for NSW does not endorse this repository. Please cite the
EvoXXLTraffic article (https://arxiv.org/abs/2605.29768) and XXLTraffic (SIGSPATIAL 2025,
https://doi.org/10.1145/3748636.3762762).
- Downloads last month
- 116