The other urls also work fine!
In the first IF statement (corresponding to the first time step), 3 boundary points are defined (nodes n°2, 6 and 16) for which a significant wave height value is associated (hm_L).
Then, the 2D spectrum (frequency/direction) is built by calling speini and filled in FB_CTE variable.
F_tmp is an extra variable, not sure is useful for you, depending on the following of the subroutine.
Regards,
Laurent