Embed native TIFF imagery#
Embed windows of a catalog GeoTIFF with the Nemotron image encoder. A verified TIFF is decoded with cuGeo, cut into explicitly selected native-grid windows, mapped to an RGB PNG with an explicit display range, and embedded by the existing Nemotron adapter. Jobs, grants, retained vectors, indexing and search use the same code as every other space.
This is display imagery, not a calibrated SAR or reflectance model. The recipe infers no sensor units, band meanings or display ranges, so a real sensor deployment still needs independently verified metadata, suitable ranges and a relevance evaluation.
Prerequisites#
A server image with the qualified cuGeo raster package, identical in the API and worker images (same Python files and native library). The package is imported only when this setting is present, and there is no decoder fallback.
The
nemotron_profile_idsetting enabled, and the catalogcollectionsallowed.A catalog record with a checksum-verified TIFF media manifest, selected as the default inspection asset, with media type
image/tiff.
Steps#
In the image that has cuGeo, run the qualification script. It prints the package digest and verifies known-pixel decoding and display conversion, with no GPU or model:
python packs/nemotron/scripts/qualify-retrieval-cugeo.pyIt also needs NumPy, Pillow and, for tests only, tifffile.
Add the recipe to the private retrieval configuration:
{ "nemotron_raster": { "package_digest": "cugeo-raster@sha256:<digest>", "bands": [1], "windows": [[0, 0, 256, 256]], "ranges": [[0.0, 10000.0]] } }
Use the qualified deployment’s values. The range shown is only an illustration.
Use the ordinary retrieval workflow. Choose the space whose recipe is
cugeo-nemotron-images, create a corpus from the exact catalog source, submit a job with a saved Nemotron setup, then read the retained vectors. Search with a retained artifact or a supplied vector, or with a text query. Text queries use the same model in query role and do not decode a TIFF. See Search with corpora.
How the recipe behaves#
Rule |
Detail |
|---|---|
Bands |
One-based. One band repeats across RGB; three distinct bands map to RGB in order. Each band has its own finite |
Windows |
Integer |
Pixels |
Linearly scaled, clipped to |
Provenance |
Affine transform, CRS, ordered bands, window, ranges and mask policy are kept with each representation |
Identity |
The recipe identity covers every parameter and the package digest. Changing one creates a different space |
Producer-prepared inputs#
An authorized producer can run CuGeoNemotronImages.prepare with the identical published
recipe and submit the members with client.retrieval.submit_prepared. Each member gives its
exact locator, output schema, SHA-256 and base64 bytes, and the producer revision must be
immutable. The server verifies ancestry and hashes and runs the same encoder job without
preparing again. This is producer attestation, not independent validation of the
preprocessing. It needs allow_prepared_inputs: true in the retrieval configuration.
Result#
The job produces retained original vectors of 2,048 float32 values in the new space. Search readiness still depends on the index build, and similarity in this space is not a scientific measure.