Skip to content

Feat/dem elevation csv - #28

Open
telespazio-tim wants to merge 3 commits into
developfrom
feat/dem-elevation-csv
Open

telespazio-tim wants to merge 3 commits into
developfrom
feat/dem-elevation-csv

Conversation

@telespazio-tim

Copy link
Copy Markdown
Owner

Add DEM elevation in CSV output.

telespazio-tim and others added 3 commits September 23, 2026 11:07
Merging develop into fix/float-input-uint8-conversion resolved
klt.py, coarse_to_fine.py and api/config.py to develop's side, dropping
`_stretch` and the `to_uint8` import while leaving calls to `_stretch`
and `_to_uint8` in place. KLT matching raised NameError, 17 tests failed
and test_klt_float_input.py could not be imported.

Restore the three files from the branch tip 24e527b; none changed since
the merge.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Axes.boxplot() only accepts `label` from matplotlib 3.9, while
environment.yml pins 3.8, so every run with a DEM failed while
generating the shift-by-altitude plots. Label the first median line
instead, which works on both versions and keeps the legend entry.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
When a DEM is given, the KLT_matcher_*.csv file now has an `alt` column
with the DEM elevation at each key point (reference x0, y0). The DEM is
loaded in match_images so each streamed chunk is written with the
column; resuming from a CSV without it adds the column and rewrites the
file. DEM plots reuse the column instead of sampling the DEM again.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant