nradov / sdetofit Goto Github PK
View Code? Open in Web Editor NEWJava application to convert Suunto dive log files to ANT+ Flexible and Interoperable format for import into Garmin Connect
License: GNU Lesser General Public License v2.1
Java application to convert Suunto dive log files to ANT+ Flexible and Interoperable format for import into Garmin Connect
License: GNU Lesser General Public License v2.1
Hi,
Seems that it's not standard zip. Unzip wont like it either.
C:\Users\jo\Downloads>java.exe -cp fit.jar;SdeToFit-1.0-SNAPSHOT.jar com.github.nradov.sdetofit.SdeToFit Dive_2023-01-23-0953.sde C:\Users\jo\Downloads
Exception in thread "main" java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.findEND(Unknown Source)
at java.base/java.util.zip.ZipFile$Source.initCEN(Unknown Source)
at java.base/java.util.zip.ZipFile$Source.<init>(Unknown Source)
at java.base/java.util.zip.ZipFile$Source.get(Unknown Source)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(Unknown Source)
at java.base/java.util.zip.ZipFile.<init>(Unknown Source)
at java.base/java.util.zip.ZipFile.<init>(Unknown Source)
at java.base/java.util.zip.ZipFile.<init>(Unknown Source)
at com.github.nradov.sdetofit.suunto.SuuntoSde.<init>(SuuntoSde.java:41)
at com.github.nradov.sdetofit.DivesSourceFactory.create(DivesSourceFactory.java:55)
at com.github.nradov.sdetofit.SdeToFit.convert(SdeToFit.java:72)
at com.github.nradov.sdetofit.SdeToFit.main(SdeToFit.java:68)
$ unzip -v Dive_2023-01-23-0953.sde
Archive: Dive_2023-01-23-0953.sde
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
note: Dive_2023-01-23-0953.sde may be a plain executable, not an archive
unzip: cannot find zipfile directory in one of Dive_2023-01-23-0953.sde or
Dive_2023-01-23-0953.sde.zip, and cannot find Dive_2023-01-23-0953.sde.ZIP, period.
It can export SML, which is probably Suunto XML, would hope same same without compression?
But there's the three options that I can export from DM5, would be nice if some of them would be supported to convert to as FIT.
Hello,
I have tried to convert my Dives from Suunto Dive Manager 3.1.0 logged with a Suunto Stinger in the Fit-format for Garmin connect.
I received the following error:
c:\Users\rk.NBG\Documents\DiveTool>java.exe -cp %CLASSPATH%;SdeToFit-1.0-SNAPSHOT.jar com.github.nradov.sdetofit.SdeToFit c:\Users\rk.NBG\Documents\DiveTool\Input\Divelogs.SDE c:\Users\rk.NBG\Documents\DiveTool\Output
Converting dive log: "0.xml"
Exception in thread "main" java.lang.NumberFormatException: For input string: "20,7"
at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
at java.base/jdk.internal.math.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
at java.base/java.lang.Float.parseFloat(Float.java:556)
at com.github.nradov.sdetofit.suunto.SuuntoXml.(SuuntoXml.java:72)
at com.github.nradov.sdetofit.suunto.SuuntoSde.(SuuntoSde.java:46)
at com.github.nradov.sdetofit.DivesSourceFactory.create(DivesSourceFactory.java:55)
at com.github.nradov.sdetofit.SdeToFit.convert(SdeToFit.java:72)
at com.github.nradov.sdetofit.SdeToFit.main(SdeToFit.java:68)
what's wrong, can someone help
in the appendix are 5 dives
Error: Unable to initialize main class com.github.nradov.sdetofit.SdeToFit
Caused by: java.lang.NoClassDefFoundError: com/garmin/fit/Mesg
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.