om2pha is a F90 module which does the following
module om2pha Read input srclist Validate the contents Find the index of the source corresponding to the entered position Extract rates and errors for each filter Write results to the output file end module om2pha