Skip to content

SPD13/Fit2UDDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Fit2UDDF

Here's a Python script to convert ANT/Garmin .FIT files coming from Garmin Descent MK1 into UDDF (Universal Dive Data Format). UDDF format (http://uddf.org/) is used by most Dive Log softwares while few of them are supporting .FIT file format

use Python 3

python Fit2UDDF.py -i <fit_file> -o <uddf_file>
  • <fit_file>: Your Fit full file path
  • <uddf_file>: The output UDDF file path

Dependencies

This script is using FitParse Python library to parse .FIT files but, it needs the modified version by xplwowi to take into account the Garmin Descent MK1 Specific fields. You can find it there: https://github.com/xplwowi/python-fitparse

Install

python setup.py install

Fresh install on Mac-OS

mkdir python-workspace
  • clone FitParse
git clone https://github.com/xplwowi/python-fitparse
  • Install FitParse
cd python-fitparse
sudo python3 setup.py install
  • Go back to your workspace dir
cd ..
  • clone Fit2UDDF
git clone https://github.com/SPD13/Fit2UDDF.git
  • run the script
cd Fit2UDDF
python3 Fit2UDDF.py -i <fit_file> -o <uddf_file>

Features

  • Automatic Timezone conversion. Use the UTC Offset to convert dive time to local time
  • Unit Conversion (C to Kelvin) for temperature

Supported fields

The following fields will be populated from the .FIT file

  • gasdefinitions
  • divesite Lat and Long
  • greatestdepth
  • divenumber
  • density
  • ndl_time
  • lowesttemperature
  • dive datetime
  • diveduration
  • samples: depth, temperature, time

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages