Train passengers are being advised to plan ahead after a weekend of upgrades was announced for the Larne and Derry/Londonderry railway lines.