River transect probe

- riverTransectProbe renders each surface course as a plan and five cross-sections
- Summary gates ocean writes and spilling channel cells
- Grading columns now report the bank biome
This commit is contained in:
Brian Neumann-Fopiano committed 2026-09-01 19:18:59 -04:00
1 parent 676372efab
commit 2585b2105a
4 files changed
+585 -3

No files matched your search

@@ -266,7 +266,7 @@ public class HydrologyModelTest {
}
@Test
public void outerGradingUsesTheExactParentBiome() {
public void outerGradingUsesTheBankBiome() {
HydrologyFeatureRef feature = feature(HydrologyFeatureType.SURFACE_POOL, 3L, 70);
HydrologyColumnLayer grading = layer(feature, 72, 72, 72, false, false, false);
grading = new HydrologyColumnLayer(
@@ -292,7 +292,7 @@ public class HydrologyModelTest {
);
HydrologyColumnSample sample = new HydrologyColumnSample(0, 0, 74, 63, false, "exact_parent", List.of(grading));
assertTrue(grading.biomeKey() == null);
assertEquals("dry", grading.biomeKey());
assertEquals("exact_parent", sample.parentBiomeKey());
assertFalse(sample.hasConnectedFluid());
}