Please use the files in cronjob.zip instead of the ones I sent previously. As Michael pointed out they had some dependencies, and besides these zipped versions are much simplified.
Sorry I didn't do it in the first place, just rushed for time and I have learned my lesson as it would have been quicker to do it properly in the first place.
You still need a 99 Mbyte file called LatLonTopo.mat which I THOUGHT was successfully sent to the HYCOM Forum via a Google Drive, but I can't find it there now.
If someone tells me how to post a big file on the Forum then I will add LatLonTopo.mat. Meanwhile if someone wants it, they can email me at ezeebop (at)
gmail.com and I will explain how to download it.
John
p.s. to the moderator: if possible please delete the individual files I posted before.