Skip to content

Add thermodynamic model gallery to the data catalog#34

Merged
sghelichkhani merged 1 commit into
mainfrom
add-thermodynamic-gallery
Jun 18, 2026
Merged

Add thermodynamic model gallery to the data catalog#34
sghelichkhani merged 1 commit into
mainfrom
add-thermodynamic-gallery

Conversation

@sghelichkhani

Copy link
Copy Markdown
Collaborator

The data catalog page already has a gallery for the seismic tomography models, but the thermodynamic side had no visual presence at all. This adds an equivalent gallery for the thermodynamic models, built exactly the way the tomography one is: a script generates the figures and a markdown snippet during the docs build, and the catalog page splices it in. Nothing generated is committed, it all regenerates in CI.

For each model the script paints the 2D lookup tables straight over their depth and temperature grid, so the phase-transition steps in the mantle show up as sharp steps rather than being smoothed away by interpolation. Every figure has five panels side by side, shear and compressional velocity, density, and the shear and bulk moduli, each fully annotated with axis labels, a title and a colorbar in physical units.

The scope is the fifteen SLB_21 models plus the new full-iron SLB_24 CFMASNaCr pyrolite model from Stixrude and Lithgow-Bertelloni (2024), which I confirmed is already available end to end in the gadopt data store (cache, archive, manifest hash and the live S3 object all match). That one gets its own callout at the top of the gallery. The model list is derived from the manifest so the gallery just tracks whatever ships in datasets.json.

On the plumbing side this wires a generate step and a verification check into the docs workflow alongside the tomography one, adds a one-column grid style so the wide multi-panel figures get a full row each, and gitignores the generated images and markdown since CI rebuilds them on every deploy.

I verified it locally: the generator produces all sixteen figures, the featured SLB_24 figure matches the depth-versus-temperature style we wanted, mkdocs build --strict passes with all sixteen wired into the page, and flake8 is clean. Once this deploys you can check the gallery on the data catalog page.

The data catalog page already shows a gallery of the seismic tomography
models, but the thermodynamic models had no visual presence. This adds an
equivalent gallery for them, rendered the same way the tomography one is:
a script generates the figures and a markdown snippet in CI, and the page
splices it in.

For each model the script paints the 2D lookup tables straight over their
depth and temperature grid, so the phase-transition steps show up without
any interpolation smoothing. Each figure carries five panels: shear and
compressional velocity, density, and the shear and bulk moduli, all fully
annotated with axis labels, titles and colorbars in physical units.

The scope is the SLB_21 family together with the new full-iron SLB_24
CFMASNaCr pyrolite model from Stixrude and Lithgow-Bertelloni (2024),
which gets its own callout at the top of the gallery. The model list is
derived from the manifest so the gallery tracks whatever ships in
datasets.json.

Wires a generate step plus verification into the docs workflow, adds a
one-column grid style for the wide multi-panel figures, and gitignores the
generated artifacts since CI regenerates them on each deploy.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sghelichkhani sghelichkhani merged commit 24f1e82 into main Jun 18, 2026
2 checks passed
@sghelichkhani sghelichkhani deleted the add-thermodynamic-gallery branch June 18, 2026 00:31
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