Untitled Document




Become a Fan of
ScubaBoard.com

 

Register today and make this ad disappear!

Welcome to ScubaBoard, an online scuba diving forum community where you can join over 100,000 divers from around the world discussing all things related to Scuba Diving. To gain full access to ScubaBoard you must register for a free account. As a registered member you will be able to:
  • Participate in over 500 dive topic forums and browse from over 3,000,000 posts.
  • Communicate privately with other divers from around the world.
  • Post your own photos or view from 80,000 user submitted images.
  • Gain access to our free classifieds marketplace to buy, sell and trade gear, travel and services.
  • Use the calendar to organize your events and enroll in other members' events.
All this and much more is available to you absolutely free when you register for an account, so sign up today!

If you have any problems with the registration process or your account login, please contact the ScubaBoard Support Team.

Go Back   ScubaBoard > The Equipment of Scuba Diving > Computers, Gauges, Watches and Analyzers
Forums Register Today's Posts Calendar

Computers, Gauges, Watches and Analyzers Looking for a computer? Don't feel like trusting "Paid Adverts" style reviews? Feel free to ask your questions and also, tell us what you use.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old February 1st, 2006, 09:15 AM   #1
New Member
 
sarcon's Avatar

Status
Profile Info
Join Date: Jan 2006
Location: Switzerland
Stats
Posts: 6
Exclamation Suunto-Convert CSV-File to SDL-File /SDE-File

Hi,

is it possible to convert an csv-File into SDL-File/SDE-File (Suunto Dive Manager)??
It could be maybe indirectly??? for example:

csv-File >>>> xxx-File >>>SDL-File/SDE-File

I would appreciate too much, if someone could give me a indication.
__________________
Regards

Sarcon
sarcon is offline
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Add to your Facebook!Twitter
Reply With Quote
Old February 1st, 2006, 09:27 AM   #2
Regular Member
 
DuboisP's Avatar

Status
Profile Info
Join Date: Oct 2004
Location: Amiens France
Logged Dives: 100 - 199
Stats
Posts: 93
Thanks Received: 1
Quote:
Originally Posted by sarcon
Hi,
is it possible to convert an csv-File into SDL-File/SDE-File (Suunto Dive Manager)??
It could be maybe indirectly??? for example:

csv-File >>>> xxx-File >>>SDL-File/SDE-File

I would appreciate too much, if someone could give me a indication.
Hello
for Suunto Dive Manager 2 :
In fact the file exported by SDM 2 ( SDE file) is a ZIP file containing a XML file.
By renaming the SDE file to ZIP, you can open it and see the XML.
You can view the XML structure.
If you convert your CSV file to the correspondant XML and do the reverse, i think you can import your dive.
And no, I don't have the programm to do it directly !
DuboisP is offline
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Add to your Facebook!Twitter
Reply With Quote
Old February 1st, 2006, 04:58 PM   #3
NA
 
CIBDiving's Avatar

Status
Profile Info
Join Date: Jul 2005
Location: Alaska
Logged Dives: 3000+
Stats
Posts: 700
It's not that hard - provided you know what format the csv uses.

get this - CSVed at http://home.hccnet.nl/s.j.francke/t2t/text2table.htm

convert your data to XML then see how that compares with suunto's format. It would be fairly simple to build a 'translator' from that.
CIBDiving is offline
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Add to your Facebook!Twitter
Reply With Quote
Old October 21st, 2008, 09:52 AM   #4
Single Diver
 
rjvencken's Avatar

Status
Profile Info
Join Date: Nov 2006
Location: Amsterdam, Netherlands
Logged Dives: 200 - 499
Stats
Posts: 10
Thanks Received: 1
Tags: extract convert upload import suunto dive manager old dives sde cvs xml zip howto

This is how I did it:

0. First and foremost: Backup the dives you did logged with you divecomputer using SDM's backup function
menu:
Action>Backup database
Copy the resulting *.bak file to a safe place and learn how to restore before you go to the stuff below
menu:
Action>Restore database

1a. Export one dive with a lot of filled out fields from SDM. This will result in a *.SDE file.
menu:
File>Export...
b. Rename that file changing the extension from SDE to ZIP.
c. Open the resulting file with WinZip or similar tool.
d. You'll now see a XML file which you can open with any text-editor such as Notepad.
e. You'll get something like:
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++
<?xml version="1.0" encoding="ISO-8859-15" ?>
<SUUNTO><HEADER><MSGNAME>SDM001A</MSGNAME>
<MSGPACKING>1</MSGPACKING>
</HEADER>
..........
..........
<MSG><WRISTOPID>0</WRISTOPID>
<SAMPLECNT>0</SAMPLECNT>
<DATE>06.08.2001</DATE>
<TIME>11:30:00</TIME>
<MAXDEPTH>5</MAXDEPTH>
<MEANDEPTH>0</MEANDEPTH>
<SAMPLEINTERVAL>20</SAMPLEINTERVAL>
<LOGTITLE>212. ~</LOGTITLE>
<LOGNOTES></LOGNOTES>
<FOLDER></FOLDER>
<LOCATION>Egypt</LOCATION>
<SITE>Naama Bay</SITE>
<WEATHER></WEATHER>
<WATERVISIBILITY>0</WATERVISIBILITY>
..........
..........
..........
..........
..........
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++

2a. On each line after the header you'll see two so called XML-tags with a value in between sometimes. Notice the difference between before and after tags!! Figure out which tags you need by comparing with what's in SDM.
b. Have your old dives available in Excel format (back it up!!) and flank each column with two new ones containing the appropriate tags
So
...Egypt Naama Bay..
...Egypt Naama Bay..
...Egypt Naama Bay..
Will become
...<LOCATION>Egypt</LOCATION> <SITE>Naama Bay</SITE>...
...<LOCATION>Egypt</LOCATION> <SITE>Naama Bay</SITE>...
...<LOCATION>Egypt</LOCATION> <SITE>Naama Bay</SITE>...

c. Just be sure to include the following tags
<DATE>06.08.2001</DATE> format MM-DD-YYYY !!!!
<TIME>14:30:00</TIME>
<MAXDEPTH>5</MAXDEPTH>
<LOCATION>Egypt</LOCATION>
<SITE>Naama Bay</SITE>
<DIVENUMBER>1</DIVENUMBER>
<DIVETIMESEC>0</DIVETIMESEC> Yes that's your divetime in seconds!

and do NOT use
<LOGTITLE>212. ~</LOGTITLE>
(because it probably messes up the order in the resulting merger of old and new dives)

d. Add this as your first column:
<?xml version="1.0" encoding="ISO-8859-15" ?><SUUNTO><HEADER><MSGNAME>SDM001A</MSGNAME><MSGPACKING>1</MSGPACKING></HEADER><MSG>
and </MSG></SUUNTO> your last
e. Save the newly created Excel-file with a different name.
f. Create a folder folder such as "OldDives"

3a. Now copy/paste one row(representing one dive) into a text editor.
(b.) You do NOT need to take the following steps to achieve the format you had in the exported XML file
I. Maintain tag order
II. Remove spaces/tabs between tags and values
III. Wrap <TAG><<Value>></TAG> to vertical
c. Save as <<Divenumber>>.XML into newly created folder ("OldDives")
(Yes you have to repeat this for each dive. Putting more than one into an XML-file will result in just one dive being imported. Believe me I tried..)
d. Repeat steps a. and c. for each row in your Excel-sheet.

4a. You now have folder "OldDives" containing a bunch of XML files w/ names indicating the dive they contain.
Example:

001.XML
002.XML
...
...
012.XML
013.XML
014.XML
...
...
b. Zip all XML-files into an archive called OldDives.zip (be sure not to have anything else in the created archive).
c. Rename OldDives.zip to OldDives.SDE
d. Import OldDives.SDE with SDM
File>Import...

And there you have 'em. Check to see all dives and all fields got imported and that your have them in the correct order.
If not then see where the problem lies and try again from step 1. after you restore SDM as you learned in step 0. (or didn't you..?)
rjvencken is offline
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Add to your Facebook!Twitter
Reply With Quote
Old August 9th, 2009, 06:35 PM   #5
Single Diver
 
rjvencken's Avatar

Status
Profile Info
Join Date: Nov 2006
Location: Amsterdam, Netherlands
Logged Dives: 200 - 499
Stats
Posts: 10
Thanks Received: 1
Now I have a little tool for batch importing dives from before you had the DC into Suunto Dive Manager.
Just PM me to get it:
padi.974663@gmail.com
Read all about it here:
Robert Jan Vencken - hyves.nl

More keywords: extract SDM migrate upload convert export zip SDE CSV
__________________

http://rjv.hyves.nl/ PADI OWSI #974 663
rjvencken is offline
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Add to your Facebook!Twitter
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Photo File Size the_cat_keeper Underwater Photography 5 November 9th, 2005 10:23 AM
corrupt SDM file - need help el-ninio Computers, Gauges, Watches and Analyzers 4 April 29th, 2005 02:56 AM
Format of suunto profile.vpr file cornfed Computers, Gauges, Watches and Analyzers 4 November 26th, 2004 06:03 AM
file formats alcina Underwater Photography 5 December 23rd, 2003 05:12 AM
SUUNTO dive log file format andybotten Computers, Gauges, Watches and Analyzers 1 April 9th, 2003 12:39 AM


Quick Style Chooser:

Powered by: vBulletin. Copyright ©2000-2006, Jelsoft Enterprises Limited.
© 2000-2009 All content is copyrighted to ScubaBoard.com, except for the Photo Gallery and under prior arrangements.

All times are GMT -4. The time now is 06:19 AM.
Syndicate this content on your website with rss or javascript data feeds.
ScubaBoard is a Founding Member of the UnderWater Network

© 2000-2009 All content is copyrighted to ScubaBoard.com, except for the Photo Gallery and under prior arrangements. Search Engine Friendly URLs by vBSEO 3.3.1