Skip to content

feat(wip): embeddings visualization#261

Draft
gadomski wants to merge 23 commits intomainfrom
visualizing-embeddings
Draft

feat(wip): embeddings visualization#261
gadomski wants to merge 23 commits intomainfrom
visualizing-embeddings

Conversation

@gadomski
Copy link
Contributor

@gadomski gadomski commented Feb 24, 2026

Add a simple visualization of a single Alpha Earth Embeddings file from source.coop. WIP while we fix our stack to handle the flipped image, as its transform is:

[
  10.0,
  0.0,
  418080.0,
  0.0,
  10.0,
  4423680.0,
  0.0,
  0.0,
  1.0
]

@github-actions github-actions bot added the feat label Feb 24, 2026
@kylebarron
Copy link
Member

  1. Use the flip.py script (you'll have to update the path to point to the correct file, sorry this is the jankiest 💩) to flip the y-coordinates

Why do you need to do this? Shouldn't be necessary.

@gadomski
Copy link
Contributor Author

Why do you need to do this? Shouldn't be necessary.

Things broke w/o it ... seemed like cogeotiff or some other part of the TIFF reading stack couldn't interpret the "upside down" geotransform into some sort of reasonable geospatial bounds.

@kylebarron
Copy link
Member

Why do you need to do this? Shouldn't be necessary.

Things broke w/o it ... seemed like cogeotiff or some other part of the TIFF reading stack couldn't interpret the "upside down" geotransform into some sort of reasonable geospatial bounds.

It's uncommon for the e of the affine to be positive but we should still support it, so it would be useful to isolate what part of the stack was erroring on this.

@gadomski gadomski self-assigned this Mar 3, 2026
@kylebarron
Copy link
Member

Sorry for creating so many merge conflicts here!

Hopefully by the end of the week we can get this merged!

@gadomski
Copy link
Contributor Author

gadomski commented Mar 3, 2026

No problem, I'll clean it up tomorrow. Thanks for working it, I'm excited to see these psychedelic visualizations in the wild :-P

@gadomski

This comment was marked as resolved.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants