A data porting tool for coupling models with different discretization needs
We provide a method to resample piecewise constant functions. The method recovers cubic polynomials and doesn't introduce spurious oscillations. We construct a hexagonal cellular automaton model of flow routing. The water flows from a cell to the neighbors pointed by the water velocity. The velocity aligns to the projection of gravitational force on the water surface.
cubic polynomials raster data interpolation hexagonal raster hydrological modelling water routing