Mesh Quality Diagnostics (10 km2)#
Note
This page and its static assets are auto-generated by python -m tools.doc_gallery. The Sphinx build only reads committed PNG and JSON artifacts.
This case computes basic triangle-shape diagnostics from the versioned bundle and renders compact maps plus histograms. It targets mesh-quality checks that can be shared in documentation without re-running a mesh generation pipeline.

Case Setup#
Bundle: 10 km2 Strahler-3 outlet 1 with geology + river constraints.
Triangle-based quality diagnostics computed directly from nodes/cells CSVs.
Percentiles summarized to keep the figure readable in docs.
What It Shows#
Where the smallest angles and largest aspect ratios concentrate on the mesh.
How triangle areas distribute across one catchment-scale mesh.
What percentile-based quality summaries look like for documentation use.
Key Metrics#
Triangle cells: 547
Min angle (p05): 23.8 deg
Aspect ratio (p95): 2.37
Area (p05): 3.63e+03 m2
Reproduce#
Run the underlying example or validation case with:
python -m tools.doc_gallery
Refresh the committed gallery artifacts with:
python -m tools.doc_gallery
Case Parameters#
Bundle Inputs#
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Versioned bundle used to compute or display the mesh-focused figure. |
bundle |
|
Mesh Summary#
Field |
Meaning |
Value |
Source |
|---|---|---|---|
|
Metric displayed on this page. |
547 |
|
|
Metric displayed on this page. |
23.8 deg |
|
|
Metric displayed on this page. |
2.37 |
|
|
Metric displayed on this page. |
3.63e+03 m2 |
|
Source Pointers#
examples/projects/07_mesh_gallery/10km2/mesh_s3_10km2_outlet_1_geology_rivers_buffer30/bundle/nodes.csvexamples/projects/07_mesh_gallery/10km2/mesh_s3_10km2_outlet_1_geology_rivers_buffer30/bundle/cells.csvexamples/projects/07_mesh_gallery/10km2/mesh_s3_10km2_outlet_1_geology_rivers_buffer30/bundle/mesh_summary.jsontools/doc_gallery/update_gallery.py
Artifacts#
docs/source/_static/capability_gallery/mesh/mesh_quality_diagnostics_naizin_10km2.pngdocs/source/_static/capability_gallery/mesh/mesh_quality_diagnostics_naizin_10km2_summary.jsonstores the displayed metrics plus source hashes used bypython -m tools.doc_gallery --check.