But a device can only measure the moment of discharge. Only in combination with other devices a position of the lightning can be established.
Maybe somebody wants to have a go at this. Because there are a lot of very expensive boats out there. Especially the ones with carbon masts...
It would be a project to discuss with a big freight company. One that has already many boats out there anyway. Maybe to get it started and financed.
The data is collected by volunteers who have a certain device at home which is connected to the internet. Its doing this for several years now I think.