Time-dependent inversion of surface subsidence due to dynamic reservoir compaction