Commit b9bc6a9
authored
General Improvements + bug fixes + multi scale meshing support for global meshes (#87)
feat(mesh,geodata): CRS-safe global+regional multiscale meshing & shoreline Region API
• Add synthetic georef fallback for ungeoreferenced DEM rasters and normalize DEM full-read orientation
• Centralize CRS/stereo validation, drop brittle CRS set() checks, and harden multiscale SDF (non-finite guards, KDTree fixes)
• Align sizing grids across mixed CRS via CRS-aware Grid.reproject_to/compute_minimum; stabilize _compute_forces and min_edge_length from positive finite values
• Rewrite bathymetric_gradient_sizing_function to operate on DEM lattice in physical units with bounds, coarsening, and geographic meter↔degree scaling
• Document and test global+regional multiscale workflow (stereo/global-first semantics, bbox containment across projections, logging/plotting, e2e Australia refinement test)
• Introduce Region-first shoreline API with CRS autodetect/inference, improved error guidance, and Region-based DEM initialization
• Replace inpoly-python with Cython inpoly backend, relax boundary consistency checks, and update CI/tox/flake8 configuration1 parent 478fe78 commit b9bc6a9
File tree
36 files changed
+34297
-633
lines changed- .github/workflows
- docs
- images
- oceanmesh
- geometry
- tests
36 files changed
+34297
-633
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
50 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
51 | 76 | | |
52 | | - | |
| 77 | + | |
53 | 78 | | |
54 | 79 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
1 | 13 | | |
2 | 14 | | |
3 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
0 commit comments