Before arrival, either directly to the local authority or through an agent approved by the local authority, by radio, fax, email or other communications, so as to reach the local authority not more than twelve hours, and whenever practicable not less than four hours, before the expected arrival of the ship.