Python tool for aircraft Doppler audio geolocation using historical ADS-B flight data (Source-available)
Python acoustic-geolocationads-baircraft-trackingairplaneaudio-forensicsdoppler-effectdoppler-shiftgeolocationosintsignal-processing
Preserve complete real-camera capture and abstention outcomes (#3)
Cinna Davis654fecc3aa2e
diff --git a/docs/verification/PUBLIC_CAMERA_BENCHMARK.md b/docs/verification/PUBLIC_CAMERA_BENCHMARK.mdindex d8af440..5585667 100644--- a/docs/verification/PUBLIC_CAMERA_BENCHMARK.md+++ b/docs/verification/PUBLIC_CAMERA_BENCHMARK.md@@ -56,7 +56,30 @@ and returned `needs_input / recording_time_required`. This is an observeddiscovery/abstention outcome, not a labelled aircraft-negative or location test.A corrected live 12-second capture decoded to exactly 12.0 s. The corrected-five-minute capture and its complete automatic outcome will be added after the-run finishes. Preserve every capture, processing failure and inconclusive result;-do not select only clips that return a coordinate. Current-day historical flight-archives may not yet exist, which is a separate data-availability limitation.+five-minute capture started at 01:00:47 UTC and finished at 01:05:34 UTC on+2026-11-03, with exactly 300.0 s decoded audio. Its SHA256 is+`6853afb5dd7967209a5c5adc529c48a582e67112a63ef04d3989970a88d781e4`.+The 286.90 s wall duration includes buffered HLS material, another reason not to+assign capture-start UTC to audio sample zero.++The globally approved discovery defaults were frozen at contrast 2.5 before this+batch was analyzed. Product/main integration `e227c5db20427f6753a141f369da69a51ab9d4f2`+processed the whole corrected clip and the preserved prototype separately. Both+returned zero proposals and `needs_input / recording_time_required`, with no+coordinate asserted. The corrected full automatic CLI job took 3.88 s and+162.0 MiB peak RSS. Its file hash was unchanged after processing. No manual event,+band, aircraft identity, map coordinate or guessed recorder clock entered either+request. The script's earlier 12 s smoke also remains preserved.++The Las Vegas sign camera's public metadata advertises no audio. Its attempted+capture is recorded as `source_has_no_advertised_audio`, not a detector miss. A+separate five-minute Statue of Liberty audio capture is in progress; its complete+outcome will be appended without changing detector settings. Herald Square is+owned by another coordinated capture worker.++Machine-readable captures, exact automatic requests/results, discovery summaries,+provenance and plots are in [the camera receipt directory](public-camera-20261103/).+Source audio and decoder logs remain local. Preserve every capture, processing+failure and inconclusive result; do not select only clips that return a coordinate.+Current-day historical flight archives may not yet exist, which is a separate+data-availability limitation.diff --git a/docs/verification/public-camera-20261103/lasvegas-noaudio.json b/docs/verification/public-camera-20261103/lasvegas-noaudio.jsonnew file mode 100644index 0000000..6c82541--- /dev/null+++ b/docs/verification/public-camera-20261103/lasvegas-noaudio.json@@ -0,0 +1,23 @@+{+ "schema_version": 1,+ "source_page": "https://www.earthcam.com/usa/nevada/lasvegas/?cam=sign_hd",+ "camera": "sign_hd",+ "requested_duration_s": 12.0,+ "status": "failed",+ "recording_start_utc": null,+ "recording_clock_established": false,+ "truth_used_for_event_detection": false,+ "location_validation_eligible": false,+ "implementation_sha256": "0a1cfa139d16c187e30d416e632615f09cce0d6afe4ed487232f88b582a66806",+ "page_fetch": {+ "started_utc": "2026-11-03T01:07:54.917492Z",+ "finished_utc": "2026-11-03T01:07:55.317712Z",+ "http_status": 200,+ "http_date": "Tue, 03 Nov 2026 01:07:55 GMT",+ "sha256": "d863a7c6d83c40d1f7199265eb224167988a498e92fe6a8e5cfce0f330d05fe3",+ "bytes": 148071+ },+ "error_type": "AudioNotAdvertised",+ "error": "Selected camera does not advertise audio.",+ "reason_code": "source_has_no_advertised_audio"+}diff --git a/docs/verification/public-camera-20261103/timesquare-audioonly-smoke-capture.json b/docs/verification/public-camera-20261103/timesquare-audioonly-smoke-capture.jsonnew file mode 100644index 0000000..ab32a0a--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-audioonly-smoke-capture.json@@ -0,0 +1,124 @@+{+ "schema_version": 1,+ "source_page": "https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet",+ "camera": "tsstreet",+ "requested_duration_s": 12.0,+ "status": "captured",+ "recording_start_utc": null,+ "recording_clock_established": false,+ "truth_used_for_event_detection": false,+ "location_validation_eligible": false,+ "implementation_sha256": "05f51ba5dd69ee492afeffa36905c3a6b85a06fa143774b6fd01e943f8078bac",+ "page_fetch": {+ "started_utc": "2026-11-03T00:55:38.967587Z",+ "finished_utc": "2026-11-03T00:55:39.203515Z",+ "http_status": 200,+ "http_date": "Tue, 03 Nov 2026 00:55:39 GMT",+ "sha256": "7bb5d465e60a69520c0b77a1e030a22bf96f3cebd2676cbd0c5bbe19ab60b281",+ "bytes": 173234+ },+ "camera_name": "Street Cam",+ "stream_url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/playlist.m3u8",+ "stream_url_sha256": "6a8104c4154e55acf4cfc51a49a9588782afb342cebb32fce09b0322443fbb38",+ "provider_map_reference": {+ "lat": 40.75941552728725,+ "lon": -73.98521661758423,+ "kind": "provider_map_marker",+ "uncertainty_m": null,+ "source": "https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet",+ "timezone": "America/New_York"+ },+ "playlist_fetch": {+ "started_utc": "2026-11-03T00:55:39.211546Z",+ "finished_utc": "2026-11-03T00:55:39.297190Z",+ "http_status": 200,+ "http_date": "Tue, 03 Nov 2026 00:55:39 GMT",+ "sha256": "cd6023a6f07a1cfef30907d5def23ac2352d868b1cec29912dbbb2d33e275431",+ "bytes": 232+ },+ "media_playlist_fetch": {+ "started_utc": "2026-11-03T00:55:39.297440Z",+ "finished_utc": "2026-11-03T00:55:39.376643Z",+ "http_status": 200,+ "http_date": "Tue, 03 Nov 2026 00:55:39 GMT",+ "sha256": "9f18b26d9be332b075902996a0d3e2e8ebb4c8d79916f937ac767c34c4e015bf",+ "bytes": 513+ },+ "initial_media_segments": [+ {+ "sequence": 45706,+ "url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/media_w1081847619_45706.ts",+ "duration_s": 6.237,+ "broadcaster_start_utc": null+ },+ {+ "sequence": 45707,+ "url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/media_w1081847619_45707.ts",+ "duration_s": 6.069,+ "broadcaster_start_utc": null+ },+ {+ "sequence": 45708,+ "url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/media_w1081847619_45708.ts",+ "duration_s": 6.07,+ "broadcaster_start_utc": null+ }+ ],+ "broadcaster_segment_clock_present": false,+ "clock_limitations": [+ "Capture/HTTP times are receipt times, not microphone sample-zero UTC.",+ "A map marker does not establish a surveyed microphone coordinate or uncertainty.",+ "Broadcaster segment timestamps, if present, still require binding to the first captured audio sample."+ ],+ "decoder_command_redacted": [+ "ffmpeg",+ "-hide_banner",+ "-loglevel",+ "warning",+ "-rw_timeout",+ "15000000",+ "-user_agent",+ "Mozilla/5.0",+ "-headers",+ "Referer: https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet\r\n",+ "-i",+ "https://videos-3.earthcam.com/fecnetwork/9974.flv/playlist.m3u8?[query omitted]",+ "-t",+ "12.0",+ "-map",+ "0:a:0",+ "-vn",+ "-ac",+ "1",+ "-ar",+ "16000",+ "-c:a",+ "libmp3lame",+ "-b:a",+ "64k",+ "/home/user/dopplergeist-public-camera-20261103/results/camera-capture-smoke-20261103-0056/audio.mp3"+ ],+ "ffmpeg_version": "ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpeg developers",+ "capture_started_utc": "2026-11-03T00:55:39.447490Z",+ "decoder_exit_code": 0,+ "capture_finished_utc": "2026-11-03T00:55:41.068131Z",+ "capture_elapsed_s": 1.6206571829970926,+ "audio": {+ "path": "audio.mp3",+ "bytes": 97101,+ "sha256": "ab6ca93ce945489d4c655264e71d5ac8983da24634afd6e1c80376fa96e745a7"+ },+ "audio_probe": {+ "programs": [],+ "streams": [+ {+ "codec_name": "mp3",+ "sample_rate": "16000",+ "channels": 1+ }+ ],+ "format": {+ "duration": "12.096000"+ }+ }+}diff --git a/docs/verification/public-camera-20261103/timesquare-fixed-300-capture.json b/docs/verification/public-camera-20261103/timesquare-fixed-300-capture.jsonnew file mode 100644index 0000000..13bde00--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-fixed-300-capture.json@@ -0,0 +1,140 @@+{+ "schema_version": 1,+ "source_page": "https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet",+ "camera": "tsstreet",+ "requested_duration_s": 300.0,+ "status": "captured",+ "recording_start_utc": null,+ "recording_clock_established": false,+ "truth_used_for_event_detection": false,+ "location_validation_eligible": false,+ "implementation_sha256": "39f679cb7c54d33ee366906a5dbc4e6f6e4cdfa074ffb653b6db304382026ecf",+ "page_fetch": {+ "started_utc": "2026-11-03T01:00:46.916334Z",+ "finished_utc": "2026-11-03T01:00:47.203821Z",+ "http_status": 200,+ "http_date": "Tue, 03 Nov 2026 01:00:47 GMT",+ "sha256": "f08d5beaf6f3c438132f52a04b97a3d239e231a8e4790151af0ed0849cfe3179",+ "bytes": 173242+ },+ "camera_name": "Street Cam",+ "stream_url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/playlist.m3u8",+ "stream_url_sha256": "d56781009a733c288b958cb08121819f1b0db2ccf5751d42aa9954cfb374f25d",+ "provider_map_reference": {+ "lat": 40.75941552728725,+ "lon": -73.98521661758423,+ "kind": "provider_map_marker",+ "uncertainty_m": null,+ "source": "https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet",+ "timezone": "America/New_York"+ },+ "playlist_fetch": {+ "started_utc": "2026-11-03T01:00:47.211899Z",+ "finished_utc": "2026-11-03T01:00:47.304571Z",+ "http_status": 200,+ "http_date": "Tue, 03 Nov 2026 01:00:47 GMT",+ "sha256": "cb10fc9c5afc1567fff5968540b541734805acb5d36b58bc57a1535c3a9626e0",+ "bytes": 231+ },+ "media_playlist_fetch": {+ "started_utc": "2026-11-03T01:00:47.304834Z",+ "finished_utc": "2026-11-03T01:00:47.398131Z",+ "http_status": 200,+ "http_date": "Tue, 03 Nov 2026 01:00:47 GMT",+ "sha256": "049191ac9fe55df51239ff24cbd39b2a43df546b6b2e263b9d90dcf1219b3d19",+ "bytes": 511+ },+ "initial_media_segments": [+ {+ "sequence": 45757,+ "url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/media_w886857771_45757.ts",+ "duration_s": 6.066,+ "broadcaster_start_utc": null+ },+ {+ "sequence": 45758,+ "url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/media_w886857771_45758.ts",+ "duration_s": 6.067,+ "broadcaster_start_utc": null+ },+ {+ "sequence": 45759,+ "url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/media_w886857771_45759.ts",+ "duration_s": 6.166,+ "broadcaster_start_utc": null+ }+ ],+ "broadcaster_segment_clock_present": false,+ "clock_limitations": [+ "Capture/HTTP times are receipt times, not microphone sample-zero UTC.",+ "A map marker does not establish a surveyed microphone coordinate or uncertainty.",+ "Broadcaster segment timestamps, if present, still require binding to the first captured audio sample."+ ],+ "audio_timeline": "source A/V timestamps, rebased together; audio gaps may be padded by aresample",+ "decoder_command_redacted": [+ "ffmpeg",+ "-hide_banner",+ "-loglevel",+ "warning",+ "-copyts",+ "-start_at_zero",+ "-rw_timeout",+ "15000000",+ "-user_agent",+ "Mozilla/5.0",+ "-headers",+ "Referer: https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet\r\n",+ "-i",+ "https://videos-3.earthcam.com/fecnetwork/9974.flv/playlist.m3u8?[query omitted]",+ "-t",+ "300.0",+ "-map",+ "0:a:0",+ "-vn",+ "-ac",+ "1",+ "-ar",+ "16000",+ "-af",+ "aresample=async=1:first_pts=0",+ "-c:a",+ "libmp3lame",+ "-b:a",+ "64k",+ "/home/user/dopplergeist-public-camera-20261103/results/camera-capture-timesquare-fixed-20261103-0101/audio.mp3",+ "-t",+ "300.0",+ "-map",+ "0:v:0",+ "-c:v",+ "copy",+ "-an",+ "-f",+ "null",+ "/dev/null"+ ],+ "ffmpeg_version": "ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpeg developers",+ "capture_started_utc": "2026-11-03T01:00:47.468169Z",+ "decoder_exit_code": 0,+ "capture_finished_utc": "2026-11-03T01:05:34.372111Z",+ "capture_elapsed_s": 286.9039479601197,+ "audio": {+ "path": "audio.mp3",+ "bytes": 2401101,+ "sha256": "6853afb5dd7967209a5c5adc529c48a582e67112a63ef04d3989970a88d781e4"+ },+ "audio_probe": {+ "programs": [],+ "streams": [+ {+ "codec_name": "mp3",+ "sample_rate": "16000",+ "channels": 1+ }+ ],+ "format": {+ "duration": "300.096000"+ }+ },+ "decoded_duration_s": 300.0+}diff --git a/docs/verification/public-camera-20261103/timesquare-fixed-analysis-command.json b/docs/verification/public-camera-20261103/timesquare-fixed-analysis-command.jsonnew file mode 100644index 0000000..25b41a9--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-fixed-analysis-command.json@@ -0,0 +1,23 @@+{+ "input_sha256": "6853afb5dd7967209a5c5adc529c48a582e67112a63ef04d3989970a88d781e4",+ "input_bytes": 2401101,+ "command": [+ "/home/user/dopplergeist-e2e-20261102/.venv/bin/python",+ "-m",+ "aircraft_geoloc.cli",+ "analyze",+ "/home/user/dopplergeist-public-camera-20261103/.artifacts/blind-camera-inputs/6853afb5dd7967209a5c5adc529c48a582e67112a63ef04d3989970a88d781e4.mp3",+ "--jobs",+ "/home/user/dopplergeist-public-camera-20261103/results/public-camera-frozen25-fixed-20261103-0106",+ "--max-runtime",+ "120"+ ],+ "cli_exit_code": 0,+ "elapsed_s": 3.8849680898711085,+ "integration_commit": "e227c5db20427f6753a141f369da69a51ab9d4f2",+ "source_preserved": true,+ "no_manual_event_inputs": true,+ "no_reference_coordinate_passed": true,+ "no_recording_clock_guess": true,+ "discovery_default_min_contrast": 2.5+}diff --git a/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-discovery.json b/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-discovery.jsonnew file mode 100644index 0000000..f0c9e7f--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-discovery.json@@ -0,0 +1,46 @@+{+ "source_sha256": "6853afb5dd7967209a5c5adc529c48a582e67112a63ef04d3989970a88d781e4",+ "settings": {+ "chunk_s": 120.0,+ "overlap_s": 60.0,+ "min_frequency_hz": 40.0,+ "max_frequency_hz": 1600.0,+ "window_s": 2.0,+ "hop_s": 0.5,+ "min_contrast": 2.5,+ "min_duration_s": 12.0,+ "min_support": 0.65,+ "min_drop_hz": 4.0,+ "min_fractional_drop": 0.03,+ "max_gap_s": 2.0,+ "max_fragment_gap_s": 20.0,+ "max_peaks_per_frame": 60+ },+ "events": [],+ "chunks": [+ {+ "start_s": 0.0,+ "duration_s": 120.0,+ "usable_paths": 0+ },+ {+ "start_s": 60.0,+ "duration_s": 120.0,+ "usable_paths": 0+ },+ {+ "start_s": 120.0,+ "duration_s": 120.0,+ "usable_paths": 0+ },+ {+ "start_s": 180.0,+ "duration_s": 120.0,+ "usable_paths": 0+ }+ ],+ "ridge_count": 0,+ "fragment_links": [],+ "harmonic_ridges": [],+ "scope": "automatic acoustic moving-tone proposals; aircraft identity unconfirmed"+}diff --git a/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-discovery.png b/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-discovery.pngnew file mode 100644index 0000000..3d8efddBinary files /dev/null and b/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-discovery.png differdiff --git a/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-provenance.json b/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-provenance.jsonnew file mode 100644index 0000000..694fceb--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-provenance.json@@ -0,0 +1,45 @@+{+ "request": {+ "schema_version": 1,+ "search": {+ "coverage": "conus"+ },+ "audio_path": "/home/user/dopplergeist-public-camera-20261103/results/public-camera-frozen25-fixed-20261103-0106/97d159f8e09a48d4aaaecd00572cc8e2/input.mp3"+ },+ "operator_configuration_sha256": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",+ "source_sha256": "6853afb5dd7967209a5c5adc529c48a582e67112a63ef04d3989970a88d781e4",+ "implementation_files": {+ "__init__.py": "01428b7938817c1cfe7eb3cf7e186f35b3fa7bc2d85f14204d07e0aa251d2c88",+ "audio.py": "f9248876059f7f05f3f3db8575e43b9c12f96c536c70b8afc298cfdebcb977a0",+ "automatic.py": "088620bc081ab8458c3a4e343aeca73e4ee08e38993e61cee99fcf9d7dc2f3d5",+ "cli.py": "91f62e955aa3a343ae2f916cff83ef7f58bc3b55e13dc5f40ff795bb6bd7e447",+ "confidence.py": "b34e41b7db279c8a601adb6eb6b5cd7d5936cadfb43f941523f6c9daaa6c9b79",+ "contracts.py": "66e311197e69fc6636dea33e25ae2acccfeba2845b0561963f33112c932a969f",+ "data_access.py": "88eabb03560a97942ec131f8edd56fba3719a7b1e407f517e7bc45994fe67218",+ "discovery.py": "c357a6cdf01364bdcf0e05e1241a913073a43123ebbfdb6e06a4e0f61477c589",+ "evaluation.py": "5331eee02df2e22396e44c8c07110129297c9cedadeee4d9bccd415b9b0ad071",+ "geometry.py": "f892fac88864d8095ce47a1e3e6139235b86061fb0814944867436cb5a92bb94",+ "intake.py": "c1d4c792c9e1cec1a9315b354d6fa58c0d4326c6773b19719bd859e7571c5648",+ "jobs.py": "b493140edabde20674d46022d683a462002bb336a30e2db4fde6f65890a8e0d9",+ "matching.py": "a9b8267b488c1f96625a844f465e872aab1a4ae3c526e151e0e89d22e286c9aa",+ "pipeline.py": "d2361725283053a0911a803717f8dab6e59ed8e1c20e305f191aeea693156adb",+ "search.py": "ac8414127d58192119b85bd1519a288aca1eda7ed24ceb07385b2b601c6ad47b",+ "service.py": "0a5c81b6c88a7bf83a487272019e14a102dccc8fe27b823ad4f3335a28476f4d",+ "terrain.py": "b8258fa2d950c2348c78e019f9e97ce9fe6c760cf7fd47a81d1a21d23362948a",+ "tiled_search.py": "1baf17e409479cffc0d6cfbbdacf5e562082c80180080487ec56eb778a966ab5",+ "tracks.py": "523b9d629083ba2792a1da2cd34d8b89ef57236febcc284f62886ba103ef20ec"+ },+ "ground_truth_used_by_search": false,+ "event_selection": "automatic_whole_recording",+ "discovered_events": 0,+ "elapsed_s": 3.475160383153707,+ "status": "needs_input",+ "coverage": {+ "search_complete": false,+ "data_status": "unavailable",+ "limitations": [],+ "requested_area": {+ "coverage": "conus"+ }+ }+}diff --git a/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-request.json b/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-request.jsonnew file mode 100644index 0000000..9515c22--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-request.json@@ -0,0 +1,7 @@+{+ "schema_version": 1,+ "search": {+ "coverage": "conus"+ },+ "audio_path": "/home/user/dopplergeist-public-camera-20261103/results/public-camera-frozen25-fixed-20261103-0106/97d159f8e09a48d4aaaecd00572cc8e2/input.mp3"+}diff --git a/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-result.json b/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-result.jsonnew file mode 100644index 0000000..f9a17ab--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-fixed-frozen25-result.json@@ -0,0 +1,37 @@+{+ "schema_version": 1,+ "job_id": "97d159f8e09a48d4aaaecd00572cc8e2",+ "status": "needs_input",+ "coverage": {+ "search_complete": false,+ "data_status": "unavailable",+ "limitations": [],+ "requested_area": {+ "coverage": "conus"+ }+ },+ "recording": {+ "source_sha256": "6853afb5dd7967209a5c5adc529c48a582e67112a63ef04d3989970a88d781e4",+ "duration_s": 300.0,+ "sample_rate_hz": 4000,+ "channels": 1,+ "source_format": "mp3",+ "time_window": null+ },+ "events": [],+ "stage": "complete",+ "progress": 1,+ "artifacts": {+ "provenance": "provenance.json",+ "request": "request.json",+ "intake": "intake/intake.json",+ "recording": "intake/recording.json",+ "discovery": "discovery/discovery.json",+ "discovery_plot": "discovery/discovery.png"+ },+ "required_fields": [+ "time_window"+ ],+ "reason_code": "recording_time_required",+ "message": "Supply a defensible UTC window for the start of this recording. File creation and upload times are not recording clocks."+}diff --git a/docs/verification/public-camera-20261103/timesquare-fixed-resource-usage.json b/docs/verification/public-camera-20261103/timesquare-fixed-resource-usage.jsonnew file mode 100644index 0000000..54fdeea--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-fixed-resource-usage.json@@ -0,0 +1,5 @@+{+ "max_rss_kib": 165884.0,+ "user_cpu_s": 3.69,+ "system_cpu_s": 0.44+}diff --git a/docs/verification/public-camera-20261103/timesquare-fixed-smoke-capture.json b/docs/verification/public-camera-20261103/timesquare-fixed-smoke-capture.jsonnew file mode 100644index 0000000..df0b779--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-fixed-smoke-capture.json@@ -0,0 +1,140 @@+{+ "schema_version": 1,+ "source_page": "https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet",+ "camera": "tsstreet",+ "requested_duration_s": 12.0,+ "status": "captured",+ "recording_start_utc": null,+ "recording_clock_established": false,+ "truth_used_for_event_detection": false,+ "location_validation_eligible": false,+ "implementation_sha256": "39f679cb7c54d33ee366906a5dbc4e6f6e4cdfa074ffb653b6db304382026ecf",+ "page_fetch": {+ "started_utc": "2026-11-03T00:59:26.208560Z",+ "finished_utc": "2026-11-03T00:59:26.528077Z",+ "http_status": 200,+ "http_date": "Tue, 03 Nov 2026 00:59:26 GMT",+ "sha256": "f08d5beaf6f3c438132f52a04b97a3d239e231a8e4790151af0ed0849cfe3179",+ "bytes": 173242+ },+ "camera_name": "Street Cam",+ "stream_url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/playlist.m3u8",+ "stream_url_sha256": "d56781009a733c288b958cb08121819f1b0db2ccf5751d42aa9954cfb374f25d",+ "provider_map_reference": {+ "lat": 40.75941552728725,+ "lon": -73.98521661758423,+ "kind": "provider_map_marker",+ "uncertainty_m": null,+ "source": "https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet",+ "timezone": "America/New_York"+ },+ "playlist_fetch": {+ "started_utc": "2026-11-03T00:59:26.536134Z",+ "finished_utc": "2026-11-03T00:59:26.651333Z",+ "http_status": 200,+ "http_date": "Tue, 03 Nov 2026 00:59:26 GMT",+ "sha256": "b680a24593254a28b7c2ae1b2c8e86b86f1fbc13a103e4db1253689d392b2820",+ "bytes": 231+ },+ "media_playlist_fetch": {+ "started_utc": "2026-11-03T00:59:26.651502Z",+ "finished_utc": "2026-11-03T00:59:27.005791Z",+ "http_status": 200,+ "http_date": "Tue, 03 Nov 2026 00:59:26 GMT",+ "sha256": "03c8b6390435cb68779ccb9cfd85a071219ad97a8359660818d2e818644188b3",+ "bytes": 511+ },+ "initial_media_segments": [+ {+ "sequence": 45744,+ "url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/media_w228787803_45744.ts",+ "duration_s": 6.066,+ "broadcaster_start_utc": null+ },+ {+ "sequence": 45745,+ "url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/media_w228787803_45745.ts",+ "duration_s": 6.067,+ "broadcaster_start_utc": null+ },+ {+ "sequence": 45746,+ "url": "https://videos-3.earthcam.com/fecnetwork/9974.flv/media_w228787803_45746.ts",+ "duration_s": 6.067,+ "broadcaster_start_utc": null+ }+ ],+ "broadcaster_segment_clock_present": false,+ "clock_limitations": [+ "Capture/HTTP times are receipt times, not microphone sample-zero UTC.",+ "A map marker does not establish a surveyed microphone coordinate or uncertainty.",+ "Broadcaster segment timestamps, if present, still require binding to the first captured audio sample."+ ],+ "audio_timeline": "source A/V timestamps, rebased together; audio gaps may be padded by aresample",+ "decoder_command_redacted": [+ "ffmpeg",+ "-hide_banner",+ "-loglevel",+ "warning",+ "-copyts",+ "-start_at_zero",+ "-rw_timeout",+ "15000000",+ "-user_agent",+ "Mozilla/5.0",+ "-headers",+ "Referer: https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet\r\n",+ "-i",+ "https://videos-3.earthcam.com/fecnetwork/9974.flv/playlist.m3u8?[query omitted]",+ "-t",+ "12.0",+ "-map",+ "0:a:0",+ "-vn",+ "-ac",+ "1",+ "-ar",+ "16000",+ "-af",+ "aresample=async=1:first_pts=0",+ "-c:a",+ "libmp3lame",+ "-b:a",+ "64k",+ "/home/user/dopplergeist-public-camera-20261103/results/camera-capture-av-timing-20261103-0100/audio.mp3",+ "-t",+ "12.0",+ "-map",+ "0:v:0",+ "-c:v",+ "copy",+ "-an",+ "-f",+ "null",+ "/dev/null"+ ],+ "ffmpeg_version": "ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the FFmpeg developers",+ "capture_started_utc": "2026-11-03T00:59:27.077126Z",+ "decoder_exit_code": 0,+ "capture_finished_utc": "2026-11-03T00:59:29.752719Z",+ "capture_elapsed_s": 2.675610707141459,+ "audio": {+ "path": "audio.mp3",+ "bytes": 97101,+ "sha256": "a3be66228bc1d2be7bd696238aad0d86dfa8ee4575559dc67eeb66a66396cdd4"+ },+ "audio_probe": {+ "programs": [],+ "streams": [+ {+ "codec_name": "mp3",+ "sample_rate": "16000",+ "channels": 1+ }+ ],+ "format": {+ "duration": "12.096000"+ }+ },+ "decoded_duration_s": 12.0+}diff --git a/docs/verification/public-camera-20261103/timesquare-prototype-capture.json b/docs/verification/public-camera-20261103/timesquare-prototype-capture.jsonnew file mode 100644index 0000000..15c47ca--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-prototype-capture.json@@ -0,0 +1,24 @@+{+ "source_page": "https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet",+ "camera_name": "tsstreet",+ "source_audio_advertised": "true",+ "published_map_coordinate": {+ "lat": 40.75941552728725,+ "lon": -73.98521661758423,+ "kind": "provider_map_marker",+ "uncertainty_m": null+ },+ "capture_started_utc": "2026-11-03T00:50:08.276554+00:00",+ "requested_duration_s": 300,+ "recording_start_utc": null,+ "clock_status": "unverified_live_stream_latency",+ "hls_program_date_time_present": false,+ "stream_url_sha256": "319e113b048dff4922e1c5d15dc438980f6199169869d16ab243c01cab19fbb7",+ "stream_url_query_saved": false,+ "source_page_sha256": "3e33f0a3f0e7f72f40b5f22091c346b91b872117171f71d709a3731229fe01fd",+ "capture_finished_utc": "2026-11-03T00:54:50.100712+00:00",+ "capture_elapsed_s": 281.82317261281423,+ "ffmpeg_exit_code": 0,+ "audio_sha256": "fb8be2a1ef326392734eb1a94cd3ab44acd4b9540266f377a5946c8c15b21789",+ "audio_bytes": 2363373+}diff --git a/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-discovery.json b/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-discovery.jsonnew file mode 100644index 0000000..1ad0055--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-discovery.json@@ -0,0 +1,46 @@+{+ "source_sha256": "fb8be2a1ef326392734eb1a94cd3ab44acd4b9540266f377a5946c8c15b21789",+ "settings": {+ "chunk_s": 120.0,+ "overlap_s": 60.0,+ "min_frequency_hz": 40.0,+ "max_frequency_hz": 1600.0,+ "window_s": 2.0,+ "hop_s": 0.5,+ "min_contrast": 2.5,+ "min_duration_s": 12.0,+ "min_support": 0.65,+ "min_drop_hz": 4.0,+ "min_fractional_drop": 0.03,+ "max_gap_s": 2.0,+ "max_fragment_gap_s": 20.0,+ "max_peaks_per_frame": 60+ },+ "events": [],+ "chunks": [+ {+ "start_s": 0.0,+ "duration_s": 120.0,+ "usable_paths": 0+ },+ {+ "start_s": 60.0,+ "duration_s": 120.0,+ "usable_paths": 0+ },+ {+ "start_s": 120.0,+ "duration_s": 120.0,+ "usable_paths": 0+ },+ {+ "start_s": 180.0,+ "duration_s": 115.296,+ "usable_paths": 0+ }+ ],+ "ridge_count": 0,+ "fragment_links": [],+ "harmonic_ridges": [],+ "scope": "automatic acoustic moving-tone proposals; aircraft identity unconfirmed"+}diff --git a/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-discovery.png b/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-discovery.pngnew file mode 100644index 0000000..e43cb55Binary files /dev/null and b/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-discovery.png differdiff --git a/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-provenance.json b/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-provenance.jsonnew file mode 100644index 0000000..26f6bc1--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-provenance.json@@ -0,0 +1,45 @@+{+ "request": {+ "schema_version": 1,+ "search": {+ "coverage": "conus"+ },+ "audio_path": "/home/user/dopplergeist-public-camera-20261103/results/public-camera-frozen25-prototype-20261103-0105/0ead781282514c5099551ef672ab8427/input.mp3"+ },+ "operator_configuration_sha256": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",+ "source_sha256": "fb8be2a1ef326392734eb1a94cd3ab44acd4b9540266f377a5946c8c15b21789",+ "implementation_files": {+ "__init__.py": "01428b7938817c1cfe7eb3cf7e186f35b3fa7bc2d85f14204d07e0aa251d2c88",+ "audio.py": "f9248876059f7f05f3f3db8575e43b9c12f96c536c70b8afc298cfdebcb977a0",+ "automatic.py": "088620bc081ab8458c3a4e343aeca73e4ee08e38993e61cee99fcf9d7dc2f3d5",+ "cli.py": "91f62e955aa3a343ae2f916cff83ef7f58bc3b55e13dc5f40ff795bb6bd7e447",+ "confidence.py": "b34e41b7db279c8a601adb6eb6b5cd7d5936cadfb43f941523f6c9daaa6c9b79",+ "contracts.py": "66e311197e69fc6636dea33e25ae2acccfeba2845b0561963f33112c932a969f",+ "data_access.py": "88eabb03560a97942ec131f8edd56fba3719a7b1e407f517e7bc45994fe67218",+ "discovery.py": "c357a6cdf01364bdcf0e05e1241a913073a43123ebbfdb6e06a4e0f61477c589",+ "evaluation.py": "5331eee02df2e22396e44c8c07110129297c9cedadeee4d9bccd415b9b0ad071",+ "geometry.py": "f892fac88864d8095ce47a1e3e6139235b86061fb0814944867436cb5a92bb94",+ "intake.py": "c1d4c792c9e1cec1a9315b354d6fa58c0d4326c6773b19719bd859e7571c5648",+ "jobs.py": "b493140edabde20674d46022d683a462002bb336a30e2db4fde6f65890a8e0d9",+ "matching.py": "a9b8267b488c1f96625a844f465e872aab1a4ae3c526e151e0e89d22e286c9aa",+ "pipeline.py": "d2361725283053a0911a803717f8dab6e59ed8e1c20e305f191aeea693156adb",+ "search.py": "ac8414127d58192119b85bd1519a288aca1eda7ed24ceb07385b2b601c6ad47b",+ "service.py": "0a5c81b6c88a7bf83a487272019e14a102dccc8fe27b823ad4f3335a28476f4d",+ "terrain.py": "b8258fa2d950c2348c78e019f9e97ce9fe6c760cf7fd47a81d1a21d23362948a",+ "tiled_search.py": "1baf17e409479cffc0d6cfbbdacf5e562082c80180080487ec56eb778a966ab5",+ "tracks.py": "523b9d629083ba2792a1da2cd34d8b89ef57236febcc284f62886ba103ef20ec"+ },+ "ground_truth_used_by_search": false,+ "event_selection": "automatic_whole_recording",+ "discovered_events": 0,+ "elapsed_s": 4.30840075109154,+ "status": "needs_input",+ "coverage": {+ "search_complete": false,+ "data_status": "unavailable",+ "limitations": [],+ "requested_area": {+ "coverage": "conus"+ }+ }+}diff --git a/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-request.json b/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-request.jsonnew file mode 100644index 0000000..7868c84--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-request.json@@ -0,0 +1,7 @@+{+ "schema_version": 1,+ "search": {+ "coverage": "conus"+ },+ "audio_path": "/home/user/dopplergeist-public-camera-20261103/results/public-camera-frozen25-prototype-20261103-0105/0ead781282514c5099551ef672ab8427/input.mp3"+}diff --git a/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-result.json b/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-result.jsonnew file mode 100644index 0000000..d04d24f--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-prototype-frozen25-result.json@@ -0,0 +1,37 @@+{+ "schema_version": 1,+ "job_id": "0ead781282514c5099551ef672ab8427",+ "status": "needs_input",+ "coverage": {+ "search_complete": false,+ "data_status": "unavailable",+ "limitations": [],+ "requested_area": {+ "coverage": "conus"+ }+ },+ "recording": {+ "source_sha256": "fb8be2a1ef326392734eb1a94cd3ab44acd4b9540266f377a5946c8c15b21789",+ "duration_s": 295.296,+ "sample_rate_hz": 4000,+ "channels": 1,+ "source_format": "mp3",+ "time_window": null+ },+ "events": [],+ "stage": "complete",+ "progress": 1,+ "artifacts": {+ "provenance": "provenance.json",+ "request": "request.json",+ "intake": "intake/intake.json",+ "recording": "intake/recording.json",+ "discovery": "discovery/discovery.json",+ "discovery_plot": "discovery/discovery.png"+ },+ "required_fields": [+ "time_window"+ ],+ "reason_code": "recording_time_required",+ "message": "Supply a defensible UTC window for the start of this recording. File creation and upload times are not recording clocks."+}diff --git a/docs/verification/public-camera-20261103/timesquare-prototype-legacy-discovery.json b/docs/verification/public-camera-20261103/timesquare-prototype-legacy-discovery.jsonnew file mode 100644index 0000000..5c9f968--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-prototype-legacy-discovery.json@@ -0,0 +1,44 @@+{+ "source_sha256": "fb8be2a1ef326392734eb1a94cd3ab44acd4b9540266f377a5946c8c15b21789",+ "settings": {+ "chunk_s": 120.0,+ "overlap_s": 60.0,+ "min_frequency_hz": 40.0,+ "max_frequency_hz": 1600.0,+ "window_s": 2.0,+ "hop_s": 0.5,+ "min_contrast": 3.0,+ "min_duration_s": 12.0,+ "min_support": 0.65,+ "min_drop_hz": 4.0,+ "min_fractional_drop": 0.03,+ "max_gap_s": 2.0,+ "max_peaks_per_frame": 60+ },+ "events": [],+ "chunks": [+ {+ "start_s": 0.0,+ "duration_s": 120.0,+ "usable_paths": 0+ },+ {+ "start_s": 60.0,+ "duration_s": 120.0,+ "usable_paths": 0+ },+ {+ "start_s": 120.0,+ "duration_s": 120.0,+ "usable_paths": 0+ },+ {+ "start_s": 180.0,+ "duration_s": 115.296,+ "usable_paths": 0+ }+ ],+ "ridge_count": 0,+ "harmonic_ridges": [],+ "scope": "automatic acoustic moving-tone proposals; aircraft identity unconfirmed"+}diff --git a/docs/verification/public-camera-20261103/timesquare-prototype-legacy-discovery.png b/docs/verification/public-camera-20261103/timesquare-prototype-legacy-discovery.pngnew file mode 100644index 0000000..e43cb55Binary files /dev/null and b/docs/verification/public-camera-20261103/timesquare-prototype-legacy-discovery.png differdiff --git a/docs/verification/public-camera-20261103/timesquare-prototype-legacy-provenance.json b/docs/verification/public-camera-20261103/timesquare-prototype-legacy-provenance.jsonnew file mode 100644index 0000000..47e0eab--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-prototype-legacy-provenance.json@@ -0,0 +1,44 @@+{+ "request": {+ "schema_version": 1,+ "search": {+ "coverage": "conus"+ },+ "audio_path": "/home/user/dopplergeist-public-camera-20261103/results/public-camera-automatic-20261103-0057/dec813ce673742d68526df731a813b44/input.mp3"+ },+ "operator_configuration_sha256": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",+ "source_sha256": "fb8be2a1ef326392734eb1a94cd3ab44acd4b9540266f377a5946c8c15b21789",+ "implementation_files": {+ "__init__.py": "01428b7938817c1cfe7eb3cf7e186f35b3fa7bc2d85f14204d07e0aa251d2c88",+ "audio.py": "f9248876059f7f05f3f3db8575e43b9c12f96c536c70b8afc298cfdebcb977a0",+ "automatic.py": "39b5cca9ff515af364681200b26ca0626babcdd3efea774867bbf061fe86d17d",+ "cli.py": "91f62e955aa3a343ae2f916cff83ef7f58bc3b55e13dc5f40ff795bb6bd7e447",+ "confidence.py": "b34e41b7db279c8a601adb6eb6b5cd7d5936cadfb43f941523f6c9daaa6c9b79",+ "contracts.py": "66e311197e69fc6636dea33e25ae2acccfeba2845b0561963f33112c932a969f",+ "data_access.py": "88eabb03560a97942ec131f8edd56fba3719a7b1e407f517e7bc45994fe67218",+ "discovery.py": "8c5c6e72289ee1db9cd9d70a7eafe60e07587fa0449d880437eda17ad6e8a26d",+ "evaluation.py": "5331eee02df2e22396e44c8c07110129297c9cedadeee4d9bccd415b9b0ad071",+ "geometry.py": "f892fac88864d8095ce47a1e3e6139235b86061fb0814944867436cb5a92bb94",+ "intake.py": "c1d4c792c9e1cec1a9315b354d6fa58c0d4326c6773b19719bd859e7571c5648",+ "jobs.py": "b493140edabde20674d46022d683a462002bb336a30e2db4fde6f65890a8e0d9",+ "matching.py": "a9b8267b488c1f96625a844f465e872aab1a4ae3c526e151e0e89d22e286c9aa",+ "pipeline.py": "d2361725283053a0911a803717f8dab6e59ed8e1c20e305f191aeea693156adb",+ "search.py": "ac8414127d58192119b85bd1519a288aca1eda7ed24ceb07385b2b601c6ad47b",+ "service.py": "0a5c81b6c88a7bf83a487272019e14a102dccc8fe27b823ad4f3335a28476f4d",+ "terrain.py": "b8258fa2d950c2348c78e019f9e97ce9fe6c760cf7fd47a81d1a21d23362948a",+ "tracks.py": "523b9d629083ba2792a1da2cd34d8b89ef57236febcc284f62886ba103ef20ec"+ },+ "ground_truth_used_by_search": false,+ "event_selection": "automatic_whole_recording",+ "discovered_events": 0,+ "elapsed_s": 3.7379123480059206,+ "status": "needs_input",+ "coverage": {+ "search_complete": false,+ "data_status": "unavailable",+ "limitations": [],+ "requested_area": {+ "coverage": "conus"+ }+ }+}diff --git a/docs/verification/public-camera-20261103/timesquare-prototype-legacy-request.json b/docs/verification/public-camera-20261103/timesquare-prototype-legacy-request.jsonnew file mode 100644index 0000000..299f511--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-prototype-legacy-request.json@@ -0,0 +1,7 @@+{+ "schema_version": 1,+ "search": {+ "coverage": "conus"+ },+ "audio_path": "/home/user/dopplergeist-public-camera-20261103/results/public-camera-automatic-20261103-0057/dec813ce673742d68526df731a813b44/input.mp3"+}diff --git a/docs/verification/public-camera-20261103/timesquare-prototype-legacy-result.json b/docs/verification/public-camera-20261103/timesquare-prototype-legacy-result.jsonnew file mode 100644index 0000000..7a6d482--- /dev/null+++ b/docs/verification/public-camera-20261103/timesquare-prototype-legacy-result.json@@ -0,0 +1,37 @@+{+ "schema_version": 1,+ "job_id": "dec813ce673742d68526df731a813b44",+ "status": "needs_input",+ "coverage": {+ "search_complete": false,+ "data_status": "unavailable",+ "limitations": [],+ "requested_area": {+ "coverage": "conus"+ }+ },+ "recording": {+ "source_sha256": "fb8be2a1ef326392734eb1a94cd3ab44acd4b9540266f377a5946c8c15b21789",+ "duration_s": 295.296,+ "sample_rate_hz": 4000,+ "channels": 1,+ "source_format": "mp3",+ "time_window": null+ },+ "events": [],+ "stage": "complete",+ "progress": 1,+ "artifacts": {+ "provenance": "provenance.json",+ "request": "request.json",+ "intake": "intake/intake.json",+ "recording": "intake/recording.json",+ "discovery": "discovery/discovery.json",+ "discovery_plot": "discovery/discovery.png"+ },+ "required_fields": [+ "time_window"+ ],+ "reason_code": "recording_time_required",+ "message": "Supply a defensible UTC window for the start of this recording. File creation and upload times are not recording clocks."+}diff --git a/scripts/capture_camera_audio.py b/scripts/capture_camera_audio.pyindex 8c9c6b9..28768a3 100644--- a/scripts/capture_camera_audio.py+++ b/scripts/capture_camera_audio.py@@ -20,6 +20,10 @@ from urllib.error import HTTPErrorfrom urllib.request import Request, urlopen+class AudioNotAdvertised(ValueError):+ pass++def utc_now():return datetime.now(timezone.utc).isoformat().replace("+00:00", "Z")@@ -53,7 +57,7 @@ def earthcam_metadata(html, camera):value, _ = json.JSONDecoder().raw_decode(html[match.end():])selected = value["cam"][camera]if str(selected.get("hasaudio", "")).lower() != "true":- raise ValueError("Selected camera does not advertise audio")+ raise AudioNotAdvertised("Selected camera does not advertise audio")stream = selected.get("stream")if not stream or urlsplit(stream).scheme not in {"http", "https"}:raise ValueError("Selected camera has no public HTTP stream")@@ -199,6 +203,9 @@ def capture(page_url, camera, output, duration_s):if isinstance(exc, HTTPError):receipt["http_error_status"] = exc.codereceipt["error"] = "Capture failed; inspect local source/decoder evidence."+ if isinstance(exc, AudioNotAdvertised):+ receipt["reason_code"] = "source_has_no_advertised_audio"+ receipt["error"] = "Selected camera does not advertise audio."(output / "capture.json").write_text(json.dumps(receipt, indent=2, allow_nan=False) + "\n")return receipt