Someone with some knowledge of how fortran works should look at this code.
Added a setup.py script that complies things. f2py should work on most computers, because it is included in the numpy distribution.
Simulation and Parameter Estimation in Geophysics - A python package for simulation and gradient based parameter estimation in the context of geophysical applications.