Importing dive overview

Discussion of the iOS App Dive Log
Post Reply
mdu
Posts: 9
Joined: Sun Jun 09, 2013 10:08 pm

Importing dive overview

Post by mdu »

Hi,

I like to move to a electronic log book using Dive-Log. One requirement is that all my existing 1080+ dives (date, location, deepth, duration, temp) can be imported in the electronic log book. Currently they are stored in a excel sheet and exported as CSV. Then I wrote a little program to convert them to SDE (Suunto) XML files. Now I have two problems importing them into DiveManager (for sync with Dive-Log later on).

a) When importing such a XML it tells me "No dives found!".
b) I can only import one XML at the time.

If I get a) fixed, can do mass import somehow? Is there a better/easier way to import existing data into dive-log? Maybe CSV-Import or something like this? Maybe directly on the phone? I''ve attached one of my XML files. Any help would be really nice!

Cheers,
Marc

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<SUUNTO>
  <HEADER>
    <MSGNAME>SDM001A</MSGNAME>
    <MSGPACKING>1</MSGPACKING>
  </HEADER>
  <MSG>
    <DIVENUMBER>1</DIVENUMBER>
    <DCDIVENUMBER>1</DCDIVENUMBER>
    <DATE>11.09.2004</DATE>
    <COUNTRY>Switzerland</COUNTRY>
    <LOCATION>Rhein</LOCATION>
    <SITE>Zollbrücke</SITE>
    <DIVETIMESEC>1620</DIVETIMESEC>
    <MAXDEPTH>9</MAXDEPTH>
    <WATERTEMPMAXDEPTH>20</WATERTEMPMAXDEPTH>
    <FOLDER>Fluss</FOLDER>
    <TIME>00:00:00</TIME>
    <DEVICEMODEL>Uwatec Galileo Sol</DEVICEMODEL>
    <PERSONALINFO>Marc Dürst</PERSONALINFO>
    <SAMPLEINTERVAL>20</SAMPLEINTERVAL>
    <SAMPLECNT>0</SAMPLECNT>
    <WRISTOPID>123456</WRISTOPID>
    <MEANDEPTH></MEANDEPTH>
    <LOGTITLE>1, 11.09.2004, Switzerland, Rhein, Zollbrücke</LOGTITLE>
    <LOGNOTES></LOGNOTES>
    <WEATHER></WEATHER>
    <WATERVISIBILITY></WATERVISIBILITY>
    <AIRTEMP></AIRTEMP>
    <WATERTEMPATEND></WATERTEMPATEND>
    <PARTNER></PARTNER>
    <DIVEMASTER></DIVEMASTER>
    <BOATNAME></BOATNAME>
    <CYLINDERDESCRIPTION></CYLINDERDESCRIPTION>
    <CYLINDERSIZE></CYLINDERSIZE>
    <CYLINDERUNITS></CYLINDERUNITS>
    <CYLINDERWORKPRESSURE></CYLINDERWORKPRESSURE>
    <CYLINDERSTARTPRESSURE></CYLINDERSTARTPRESSURE>
    <CYLINDERENDPRESSURE></CYLINDERENDPRESSURE>
    <DIVESERIES></DIVESERIES>
    <GASMODE>0</GASMODE>
    <ALTMODE>0</ALTMODE>
    <PMODE>0</PMODE>
    <WATERVISIBILITYDESC></WATERVISIBILITYDESC>
    <SACRATE>0</SACRATE>
    <OLFPCT>0</OLFPCT>
    <WEIGTH>0</WEIGTH>
    <O2PCT>0</O2PCT>
    <O2PCT_2>0</O2PCT_2>
    <O2PCT_3>0</O2PCT_3>
    <OTUPCT>0</OTUPCT>
    <CNSPCT>0</CNSPCT>
    <PO2MAX>0</PO2MAX>
    <RGBMPCT>100</RGBMPCT>
    <HPTRANSMITTER>0</HPTRANSMITTER>
    <SURFACETIME>0</SURFACETIME>
    <NOPROFILE>0</NOPROFILE>
    <PREVTPRESSURE_1>0</PREVTPRESSURE_1>
    <PREVTPRESSURE_2>0</PREVTPRESSURE_2>
    <PREVTPRESSURE_3>0</PREVTPRESSURE_3>
    <PREVTPRESSURE_4>0</PREVTPRESSURE_4>
    <PREVTPRESSURE_5>0</PREVTPRESSURE_5>
    <PREVTPRESSURE_6>0</PREVTPRESSURE_6>
    <PREVTPRESSURE_7>0</PREVTPRESSURE_7>
    <PREVTPRESSURE_8>0</PREVTPRESSURE_8>
    <PREVTPRESSURE_9>0</PREVTPRESSURE_9>
    <CUSTOM1></CUSTOM1>
    <CUSTOM2></CUSTOM2>
    <CUSTOM3></CUSTOM3>
    <CUSTOM4></CUSTOM4>
    <CUSTOM5></CUSTOM5>
    <CUSTOM5></CUSTOM5>
  </MSG>
</SUUNTO>
support
Posts: 914
Joined: Wed Mar 31, 2010 4:35 pm

Re: Importing dive overview

Post by support »

Hello Marc,

Dive Log Manager supports the Suunto DM4 software only as this is the one that works on a Mac. Suunto DM4 will export to an XML format as well, but the XML that it generates bears no resemblance to the XML used by the older SDE format. So Dive Log Manager will import from DM4 XML but not from the "old" SDE XML format. Since it is/was a PC only format, it doesn't make sense for us to officially support it in the product.

What we can do though is this. If you send us a "real" SDE format file, or essentially a folder with each dive in a separate XML file that you have shown in your attachment, then we can create the SDE format file ourselves. We think the name of the XML file should be the number of the dive with the "dot XML" extension. So the first dive would be 1.xml. We can use other 3rd party software to import all the dives in the SDE file. And then we'll import that into Dive Log Manager and then send you back a .sql file in the Dive Log Manager format.

Please send us the information via email to support at moremobilesoftware dot com

Cheers,
Janice
mdu
Posts: 9
Joined: Sun Jun 09, 2013 10:08 pm

Re: Importing dive overview

Post by mdu »

Wouu - that would be really great so I can start with the DiveLog app soon!
Where should I send the files to? ...uhh.. never mind: found the address in the contact page.
Post Reply