A method for writing servo information onto a disk of a hard disk drive. Advanced measurement approaches are used to calculate a value at risk based on loss data that is entered. Hereby an apparatus and a method are provided for detecting occurrences of water on a ship’s deck, wherein these occurrences appear in particular when travelling in rough weather conditions.