Fix some issues with Fortran intent spec
Remove depricated obspy ref, replace with str
Refactor dbhash for clarity & style