Bug - Data View marker off by 1 line and suggestion

Bug Report (DataView): Earthquake helicorder markers displaced upward by one trace row

While working on the seismological display at SRAF Observatory in Idaho, I identified an apparent rendering anomaly in DataView.

Station: AM.SDE97.00.EHZ (RS3D)
Browser: Brave, Ubuntu Linux
Observation date: November 28, 2026

Earthquake arrival markers appear one trace row above their corresponding seismic waveforms. This was observed with several earthquakes:

  • Kamchatka Peninsula, Russia — M6.7, depth 191 km
  • British Columbia, Canada — M5.1
  • Southern California — M5.0
  • Southern California — M4.5

Comparison with the Raspberry Shake iPhone application and magnified DataView waveforms supported the presence of a systematic vertical displacement.

On examining main.js, I found that the helicorder waveform renderer initializes its vertical coordinates with an offset of one row height, whereas the marker renderer does not appear to account for this offset.

Within the helicorder-specific renderMarkers() function, I changed:

let g = this._rowHeight * a

to:

let g = this._rowHeight * (a + 1)

This was tested using a browser-local JavaScript override. Following this modification, all four earthquake markers appeared correctly aligned with their corresponding waveform disturbances.

The horizontal arrival-time calculation was left unchanged and appears to be quite accurate.

Separately, I experimented with expanding the magnitude-dependent distance threshold for earthquake annotations. This allowed the Kamchatka M6.7 earthquake, approximately 6,000 km from our station, to be annotated. The predicted arrival correlated very closely with the recorded waveform.

It might be worthwhile considering a user-adjustable magnitude-distance threshold in a future DataView release.

I would appreciate your assessment of these observations and would be happy to provide comparative screenshots.

Thank you for developing and maintaining this excellent seismological platform.

Mario Brus
SRAF Observatory, Idaho

hello mario,

thank you for the detailed report.

i am happy to report that the bug you brought to our attention has been fixed and the solution implemented in the dataview application.

your suggestion to allow the user to define their own magnitude-distance threshold is a good one and will be considered in due time.

thanks again, we are very appreciative of the constructive feedback that enables us to make our products better for our end-users.

warm regards,
richard