Chapter 18: Case Study — Coastal Dynamics¶
Part III — Discrete Spatial Modeling
Learning Objectives¶
By the end of this chapter you will be able to:
- Implement the BR-MANGUE flood and mangrove migration models
- Compare raster vs vector performance at scale (~94k cells)
- Validate raster output against vector using cross-substrate comparison
{note}
This is the flagship case study. Requires coastal-dynamics package: pip install coastal-dynamics
In [ ]:
Copied!
# Standard imports — add chapter-specific imports below
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
# Standard imports — add chapter-specific imports below
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
The BR-MANGUE Model (Bezerra 2014)¶
TODO: write content.
In [ ]:
Copied!
# Code for section: The BR-MANGUE Model (Bezerra 2014)
# Code for section: The BR-MANGUE Model (Bezerra 2014)
Flood Propagation: Vector Implementation¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Flood Propagation: Vector Implementation
# Code for section: Flood Propagation: Vector Implementation
Flood Propagation: Raster Implementation¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Flood Propagation: Raster Implementation
# Code for section: Flood Propagation: Raster Implementation
Mangrove Migration: .past Semantics in Both Substrates¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Mangrove Migration: .past Semantics in Both Substrates
# Code for section: Mangrove Migration: .past Semantics in Both Substrates
Performance Benchmark: ~8ms vs ~2min per step¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Performance Benchmark: ~8ms vs ~2min per step
# Code for section: Performance Benchmark: ~8ms vs ~2min per step
Validation: Cross-Substrate Cell-by-Cell Comparison¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Validation: Cross-Substrate Cell-by-Cell Comparison
# Code for section: Validation: Cross-Substrate Cell-by-Cell Comparison
Running at 1 Million Cells¶
TODO: write content.
In [ ]:
Copied!
# Code for section: Running at 1 Million Cells
# Code for section: Running at 1 Million Cells
Further Reading¶
- TODO: add references.