Title: A Fortran program for wave refraction diagrams and coastal energy balance