Python tool for aircraft Doppler audio geolocation using historical ADS-B flight data (Source-available)
Python acoustic-geolocationads-baircraft-trackingairplaneaudio-forensicsdoppler-effectdoppler-shiftgeolocationosintsignal-processing
Allow regional bounds in HTTP upload verifier
Cinna Davis3e8257f6eff2
diff --git a/docs/PRODUCT.md b/docs/PRODUCT.mdindex 4285df3..a1e33e0 100644--- a/docs/PRODUCT.md+++ b/docs/PRODUCT.md@@ -163,6 +163,10 @@ decision evidence as well as intake/discovery, with at least one returnedcandidate. A correctly handled missing clock or empty search cannot pass thisstronger operational check.+For a regional run, pass `--bounds WEST SOUTH EAST NORTH` using independently+justified WGS84 longitude/latitude bounds. The verifier records these bounds in+the actual upload request; omitting the option searches the full CONUS area.+```bashpython scripts/verify_upload_http.py \--audio path/to/real-recording.mp3 \diff --git a/scripts/verify_upload_http.py b/scripts/verify_upload_http.pyindex 1c62af3..ec32a87 100644--- a/scripts/verify_upload_http.py+++ b/scripts/verify_upload_http.py@@ -1295,6 +1295,8 @@ def main(argv=None):parser.add_argument("--start-utc")parser.add_argument("--end-utc")parser.add_argument("--time-source", default="Explicit verification recording-start window")+ parser.add_argument("--bounds", type=float, nargs=4, metavar=("WEST", "SOUTH", "EAST", "NORTH"),+ help="Optional predeclared regional bounds inside the CONUS search area")parser.add_argument("--expect-status", choices=sorted(TERMINAL), required=True)parser.add_argument("--expect-reason")parser.add_argument("--require-full-pipeline", action="store_true",@@ -1310,7 +1312,10 @@ def main(argv=None):args = parser.parse_args(argv)if args.end_utc and not args.start_utc:parser.error("--end-utc requires --start-utc")- request = {"schema_version": 1, "search": {"coverage": "conus"}}+ search = {"coverage": "conus"}+ if args.bounds is not None:+ search["bounds_wsen"] = args.bounds+ request = {"schema_version": 1, "search": search}if args.start_utc:request["time_window"] = {"start_utc": args.start_utc, "end_utc": args.end_utc or args.start_utc,"source": "user", "source_detail": args.time_source}