Potential to modify this code to track the arrival time of a positive or negative wave. https://github.com/GeoscienceAustralia/ptha/blob/52abcb2b2f5fc121a727fada2cd0b8a5a9f8c0b8/propagation/SWALS/src/shallow_water/domain_mod.f90#L2287