Viewer: GPS sites / Both view, trajectory fit, map tools; MIDAS demo source - #56
Merged
Merged
Conversation
`--source midas` builds monthly straight-line series from UNR's IGS20 MIDAS station velocities over each station's observing span. It needs one ~5 MB table instead of every station's series, so it suits a global demo of the viewer's GPS-sites layer. The exporter now also accepts frames without sigma columns. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
--stations FILE (default OPERA_UNR_GNSS_stations_midas.parquet when it exists) is published beside the grid; --note TEXT / --no-note set the note panel, which defaults to explaining the MIDAS simplification when a stations file is deployed. Also publishes PB2002_plates.json if present. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- Grid / GPS sites / Both switch; Both draws grid nodes as squares and sites as circles on a shared colormap over the union of both records, with per-set marker size and single-color swatches. - Keyless OpenFreeMap light/dark vector basemaps plus Google hybrid; basemap, projection, terrain and plates (boundaries / names / off) as icon buttons; zoom and compass top left. - Search box: coordinates, point ids, or place names (Nominatim). - Editable record start/end bounding the slider and playback. - Charts open on the point's own record; optional least-squares fit (polynomial, annual/semi-annual, Heaviside steps); CSV gains a header with point type, location and velocity. - Optional deployment note (?note= / deploy-pages.sh --note). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #45 / #48 for the UNR grid viewer (
scripts/).Viewer (
browse_unr_grid.html)#header with point type, id, lat/lon, reference and velocity ± σ.?note=ordeploy-pages.sh --note).create-geoparquet.py:--source midaswrites monthly straight-line series from UNR's IGS20 MIDAS station velocities — a light stand-in for a global GPS-sites demo. The exporter also accepts frames without sigma columns.deploy-pages.sh:--stations FILEpublishes a GPS-sites dataset;--note TEXT/--no-notecontrol the note, which defaults to explaining the MIDAS simplification when stations are deployed; also publishesPB2002_plates.jsonwhen present.Tested in headless Chromium (software WebGL) against the published global grid, a real California stations export (1,906 UNR stations) and the global MIDAS demo file; the fit recovers known values on a synthetic series and matches MIDAS east velocity at ISLK (−22.48 vs −22.46 mm/yr).
🤖 Generated with Claude Code