How is ponded depth calculated when an inlet has a local depression

How is ponded depth calculated when an inlet has a local depression