Clean up, deal with uncertainties or comment out for now
Fully integrated new quakeml patch, depricating some old hacks
Cleanup, bugfix, refactor to work with new package format of curds2
Need to call pf function with name not file object