GeoNeMo Sentinel-1 vessel detection#
Use the sensor-specific service workflow; do not stage, preprocess collection measurements. The service supports complete IW GRD/COG SAFE products retaining VV/VH measurement, calibration, noise, and annotation assets. Preserve every returned orbit, terrain, and model-domain limitation. Successful execution does not establish detection accuracy.
For a single Sentinel-1 scene, a ship-finding report defaults to the standard locally rendered image-overlay report, unless the user explicitly requests another format. “Ship finding report” and “vessel report” activate this path without requiring the word “visual”. A detection-only request does not require rendering. Honor an explicit table-only, CSV, or other format request. For viewing an existing completed local report, verify and serve its outputs using media retrieval and viewing; do not render again.
Hosted-agent reports#
When the user explicitly requests a GeoNeMo server-hosted report, or the hosting plane assigns the
scoped hosted-report mode without local file execution, follow the
hosted report contract.
Exact-read the run status and source, require a succeeded Sentinel-1 run in the assigned project
and collection, then call vessel_detection_render_report with only its run_id. Reuse the
completed run and report cache; never restart inference for viewing. Return the hosted HTML/image
resources, complete candidate count, hashes, provenance and limitations. Label the result as hosted;
do not claim to have created or served local files. The GeoNeMo server retrieves complete results and owns
source staging, rendering and artifact validation. A report request does not authorize GKB
publication, shell execution, or replacement scope. A renderer failure leaves the detector result
valid but the visualization incomplete.
This explicit hosted mode is separate from the ordinary local workflow below. Missing local media or rendering capability does not silently authorize switching an external local report to the GeoNeMo server.
Managed collection stages#
For an assigned managed work_id, follow managed collection work
before the ordinary workflow below. Load the authoritative descriptor, perform only its assigned
stage, and return the persisted receipt. The GeoNeMo server owns enumeration, waits, retries, publication
recovery, rendering, and retained assets. Do not start an independent collection loop.
Resolve exactly one authoritative record. For a supplied run ID, exact-read status to obtain its source reference before the catalog read. If the user did not supply its collection and record ID, use
catalog_list_collectionsand a boundedcatalog_search, then confirm the selected hit withcatalog_get_record. For a supplied filename, usefilters: {"filename": "<exact name>"}with notext; a full.SAFEname intextalso resolves exactly. Verify the exact-readmetadata.filenameequals the requested name. Othertextqueries use literal catalog text matching. Use shared retrieval separately for similarity; its neighbors cannot authorize substituting another scene. Follow all cursors for filename matches; stop on ambiguity, and distinguish lookup errors from zero exact matches in the searched collection. Always exact-read a user-supplied record identity. Search results are discovery only. Reject exact product/platform metadata that contradicts Sentinel-1; never guess from a filename or use a search snippet as the record.If the user supplies an existing run or this task already has a completed detection, use its exact status from
vessel_detection_get_status, verify it is Sentinel-1 for the selected source, and reuse its unchanged result pages after success. Do not start another detection just to render or serve a report. Otherwise callsentinel_1_vessel_detection_startwith the exact unchangedcollection,record_id, and a stable caller-generatedidempotency_keyof 1–256 printable characters. It is project-scoped: the same key and request return the same run, while the same key with a different request conflicts. Do not select assets, paths, URLs, bands, models, thresholds, or GPU settings.If a required catalog or vessel tool is absent, or start reports that Sentinel-1 is unavailable, stop and report the exact error. Do not retry indefinitely or route to the Sentinel-2 tool.
Poll
vessel_detection_get_statusby run ID until the run is terminal. Honor returned retry guidance or wait five seconds; never busy-loop. Do not treat queued or running work as a result. OnSENSOR_MISMATCH,INCOMPLETE_PRODUCT,SOURCE_CHANGED, unsupported product, failure, or cancellation, stop and report the structured error; never stage or repair products in the editor.On success, reuse the complete unchanged result pages if already available. Otherwise call
vessel_detection_get_resultwithlimit: 200, then follow each returnednext_cursoruntil it is null. Require stable run/source/model metadata, unique candidate IDs, and aggregate candidate count equal tototal. Report all vessel candidates, WGS84 geometry, score semantics, source and model provenance, and every returned limitation. On failure or cancellation, report the terminal state and structured error. Success withtotal: 0means zero retained candidates; failure or cancellation is unknown, never zero.For an ordinary report request without an explicit alternative format or assigned hosted mode, create it in the user’s current workspace; do not call
vessel_detection_render_reportor leave the report hosted by the GeoNeMo server. After success and complete pagination, use the authorized GeoNeMo media manifest and download capabilities to retrieve the exact checksum-bound VV measurement and exact retained annotation assets for the run’s collection, record, and source inventory. Store them beneath a new run-scoped workspace directory, verify every asset ID and SHA-256, and runscripts/render_vessel_report.py renderlocally with every unchanged result page. Keep the report directory, includingreport.html, images, manifest, and source inputs, under the agent user’s ownership. Read media retrieval and viewing before downloading: select the unique VV measurement and its exact manifest-associated annotation and preserve the verified download receipts. Always give the user a clickable local link to the generatedreport.html. The standard page provides the native VV-grid grayscale image, with a documented logarithmic percentile stretch derived from raw source DN, with lossless eight-bit grayscale overview encoding and center-safe hollow white circles with black contrast rims, unrestricted pan/over-zoom, exact run/source/model metadata, and a complete searchable findings table whose rows navigate to source pixels. Candidate sheets remain bounded presentation aids. Never add, remove, or reclassify a candidate from image inspection. If authorized media retrieval, local dependencies, or rendering is unavailable, preserve the succeeded detector result and state that the requested report is incomplete, with the exact visualization error. A count, generic report, or table alone does not complete this request. Verify report artifacts and table coverage before claiming completion; when viewing is requested, have the host serve only the report output directory on localhost, check the working URL, and provide remote access instructions if needed.Call
vessel_detection_cancelonly when the user asks to stop the run.
When the user requests a durable Ship observation, validation, historical analysis, campaign
report, or publication, pass the exact succeeded run and every unchanged result page to
geonemo-ship-knowledge. Do not summarize or reshape the service result first.
Saved GKB findings use a separate GeoNeMo server presentation workflow. The bundled renderer accepts
a validated saved artifact plus verified VV/annotation media receipts without reconstructed
result pages or the original run. See the Ship knowledge saved-finding reference; ordinary
reports retain their local result_pages workflow.
The service resolves the complete SAFE product from collection storage and owns calibration, thermal-noise handling, fixed VH/VV preprocessing, tiling, inference, seam merging, and georeferencing. Never fall back to a VLM, infer detections from a preview, or expose internal paths. The display stretch is presentation only and does not replace calibrated detector preprocessing. Native grids have no orbit refinement or terrain correction; length in metres is unavailable when its conversion is not justified. Do not remove those limitations from a report.
Read tool contracts for the exact public boundary and the worked example for the lifecycle and output semantics.