From bfc20ae70ff4edac01d9fe58a6f982c344cb3176 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Thu, 28 Aug 2014 21:05:03 +0300 Subject: [PATCH] Fix water temperature on Suunto SDM import Seems that Suunto stores temperature value of 0 when there is no temperature reading (I guess). Thus this patch ignores temperature samples that are zero. Otherwise, Subsurface looks into the samples and grabs the lowest number as water temperature. See #720 Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/SuuntoSDM.xslt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xslt/SuuntoSDM.xslt b/xslt/SuuntoSDM.xslt index 5c3b17373..98b3b4988 100644 --- a/xslt/SuuntoSDM.xslt +++ b/xslt/SuuntoSDM.xslt @@ -189,9 +189,11 @@ - - - + + + + +