subsurface/dives
James Wobser 4f3b26f9b6 Implement Seac SeacSync databaser parser.
Dives for the seac action computer are imported by the seacsync
program into two tables in an sqlite3 database.

The dive information is read from the headers_dive table.
The dive_data table is then queried for each dive to get samples.

The seac action computer is the only current supported computer
by the seacsync program. It only supports two gas mixes, so the
parser will toggle between two cylinders whenever it detects a
change in the active O2 mix.

Dive start time is stored in UTC with a timezone offset.
A helper function to read this was added to qthelper.

Default cases have been added to some switch statements
to assist in future development for other dive types and
salinity.

Example database has been added to ./dives/TestDiveSeacSync.db

Signed-off-by: James Wobser <james.wobser@gmail.com>
2020-09-04 15:54:08 +03:00
..
images Test for adding a picture with data after JFIF EOI to a dive 2017-05-06 10:31:09 -07:00
abitofeverything.ssrf Add test for profile data 2020-05-04 13:39:18 -07:00
Demo_SmartTrak.slg SmartTrak import - Add example divelog file 2015-11-12 07:39:21 -08:00
Dive_2013-02-02-1614.xml Suunto DM4 sample dive 2013-03-05 11:08:08 -08:00
DL7.xml cleanup: move clearing of device nodes to clear_dive_file_data() 2020-04-24 10:40:12 -07:00
DL7.zxu Add two dive headers to DL7 sample 2018-01-08 06:06:12 +02:00
Example.log Import Datatrak/WLog files 2015-03-10 10:03:08 -07:00
exportprofilereference.csv Add test for profile data 2020-05-04 13:39:18 -07:00
gps-import.gpx Desktop: Import gps coordinates: test files 2020-01-24 09:51:51 -08:00
gps-import.xml Desktop: Import gps coordinates: test files 2020-01-24 09:51:51 -08:00
mergedVyperOstc.xml Save SAC, OTU and CNS in the XML export 2020-05-14 13:27:07 -07:00
ostc.xml Add test for merging multiple cylinders 2017-02-09 22:22:12 -08:00
ostc_00087_04-05-2014_043m_032min.dive OSTCTools-Add two sample dives 2015-04-04 12:25:52 -07:00
ostc_00173_17-08-2013_027m_043min.dive OSTCTools-Add two sample dives 2015-04-04 12:25:52 -07:00
Poseidon_MkVILog.csv Replace Poseidon example dive log files in dives directory 2014-11-01 22:13:03 -07:00
Poseidon_MkVILog.txt Replace Poseidon example dive log files in dives directory 2014-11-01 22:13:03 -07:00
sac-test.xml Change gas in second cylinder in sac-test-dives 2013-12-02 12:33:47 -08:00
SampleDivesV2.ssrf Add a more complex sample dive 2015-06-11 10:31:11 -07:00
tank_pressure.xml Test dive for odd pressure profile 2014-01-01 09:48:15 -08:00
Test.csv Correct celcius/celsius typo in test dives 2020-02-09 14:41:43 -08:00
test0.xml Fix Qt date interfaces for times before 1970 2016-04-29 09:07:41 -07:00
test0b.xml Change fake profile behavior 2014-01-08 21:54:29 +08:00
test1.xml
test2.xml
test3.xml
test4.xml
test5.xml
test6.xml
test7.xml
test8.xml
test9.xml
test9a.xml Prevent potential math overflow in new profile 2014-01-21 14:07:10 -08:00
test10.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test11.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test12.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test13.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test14.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test15.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test16.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test17.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test18.xml Fix the description of test dive cylinders 2014-07-15 20:46:02 -07:00
test19.xml Fix the description of test dive cylinders 2014-07-15 20:46:02 -07:00
test20.xml Fix the description of test dive cylinders 2014-07-15 20:46:02 -07:00
test21.xml Adjust test dives to comply with the current trip syntax 2013-05-16 00:36:34 -04:00
test22.xml Adjust test dives to comply with the current trip syntax 2013-05-16 00:36:34 -04:00
test23.xml Adjust test dives to comply with the current trip syntax 2013-05-16 00:36:34 -04:00
test24.xml Correctly deal with empty XML files 2012-09-17 21:03:30 -04:00
test25.xml Add two test dives that triggered the bug fixed in the previous commit 2012-12-06 13:06:16 -08:00
test26.xml Add two test dives that triggered the bug fixed in the previous commit 2012-12-06 13:06:16 -08:00
test27.xml Add test dive for constant temperature 2013-01-24 13:19:16 -08:00
test28.xml Different Icon for a Bookmark Event. 2013-12-04 19:41:29 -08:00
test29.xml Correctly parse multiple tags in the divelog 2013-12-12 16:29:06 -08:00
test30.xml Test dive for events 2013-12-28 07:40:54 -08:00
test31.xml Include images in profile 2014-02-06 11:29:23 -08:00
test32.xml Add test dive to show erroneous pp graphs 2014-03-15 15:01:08 -07:00
test33.xml Add test dive that has an unused cylinder 2014-04-05 16:12:16 -07:00
test34.xml Add test dive that shows heart rate 2014-04-07 14:20:01 -07:00
test35.xml Add beginning of pretend CCR XML file 2014-06-11 19:03:30 -07:00
test36.xml Add test dive with heart rate information 2014-07-29 15:43:52 -07:00
test38.xml Load and save extra data in Subsurface XML format 2014-11-07 12:59:15 -08:00
test40-42.xml Save SAC, OTU and CNS in the XML export 2020-05-14 13:27:07 -07:00
test40.xml CCR test dive 2014-11-17 00:24:33 +00:00
test41.csv Adapt CSV test to include suit 2015-04-24 07:07:31 -07:00
test42.xml Some simple test for file parsing 2015-03-14 18:15:08 -07:00
test43.xml Load remote images 2015-03-16 12:42:36 -07:00
test44.xml Test for basic image handling 2017-02-21 13:14:56 -08:00
test47+48.xml Simple test case for merging dives 2017-02-21 18:22:56 -08:00
test47.xml Add missing XML files for TestRenumber 2015-10-06 14:40:33 +01:00
test47b.xml Add missing XML files for TestRenumber 2015-10-06 14:40:33 +01:00
test47c.xml Add missing XML files for TestRenumber 2015-10-06 14:40:33 +01:00
test48+47.xml Dive site: fix merging tests 2019-04-12 18:19:07 +03:00
test48.xml Dive site: fix merging tests 2019-04-12 18:19:07 +03:00
test50.xml Test dives for duplicate names and conflicting GPS 2015-02-14 18:13:35 -08:00
test51.xml Fixed get_gas_at_time for equal times 2018-10-30 15:33:43 +01:00
TestAPDLogViewer.csv Correct celcius/celsius typo in test dives 2020-02-09 14:41:43 -08:00
TestAtmPress.xml Convert the atmospheric pressure in the Information Tab to an editable field 2019-05-15 07:37:14 -07:00
TestComma.csv Correct celcius/celsius typo in test dives 2020-02-09 14:41:43 -08:00
TestDiveDivelogsDE.DLD Add two more versions of this dive from divelogs.de 2013-02-25 22:07:05 -08:00
TestDiveDivelogsDE.udcf Add two more versions of this dive from divelogs.de 2013-02-25 22:07:05 -08:00
TestDiveDivelogsDE.xml Save SAC, OTU and CNS in the XML export 2020-05-14 13:27:07 -07:00
TestDiveDivingLog5.08.udcf Update DivingLog 5.08 export files 2013-02-26 08:39:09 -08:00
TestDiveDivingLog5.08.uddf Update DivingLog 5.08 export files 2013-02-26 08:39:09 -08:00
TestDiveDivingLog5.08allimperial.xml Update DivingLog 5.08 export files 2013-02-26 08:39:09 -08:00
TestDiveDivingLog5.08allmetric.xml Test dives 2013-02-26 08:50:05 -08:00
TestDiveDivingLog5.08allmetric.zip Update DivingLog 5.08 export files 2013-02-26 08:39:09 -08:00
TestDiveDM3.SDE Add the same test dive in a number of different formats 2013-02-25 20:28:58 -08:00
TestDiveDM4.db Suunto DM4 sample dive 2013-03-05 11:08:08 -08:00
TestDiveDM4.xml Save SAC, OTU and CNS in the XML export 2020-05-14 13:27:07 -07:00
TestDiveDM5.db Test dives in DM5 database format 2017-11-27 13:42:10 -08:00
TestDiveDM5.xml Save SAC, OTU and CNS in the XML export 2020-05-14 13:27:07 -07:00
TestDiveJDiveLog.jlb Removing MacRoman encoding from sample dive 2014-02-25 12:28:49 -08:00
TestDiveSeabearH3_0002SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearH3_0003SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearH3_0004SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearH3_0005SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearHUDC.csv Add test dive for Seabear HUDC 2014-10-28 07:25:34 -07:00
TestDiveSeabearHUDC.xml Save SAC, OTU and CNS in the XML export 2020-05-14 13:27:07 -07:00
TestDiveSeabearNewFormat.xml Save SAC, OTU and CNS in the XML export 2020-05-14 13:27:07 -07:00
TestDiveSeabearT1_0001SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearT1_0002SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearT1_0003SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearT1_0004SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeabearT1_0005SBDT.CSV Test dives for Seabear new format 2015-07-28 08:46:51 -07:00
TestDiveSeacSync.db Implement Seac SeacSync databaser parser. 2020-09-04 15:54:08 +03:00
TestDivingLog4.1.1.sql Divinglog test dive 2015-07-13 15:21:30 -07:00
TestSensusSingle.csv Sample log from Sensus Ultra, exported in CSV 2014-01-17 05:57:29 +07:00
TestXP5_de.csv Sample dive from XP5 2013-12-24 10:43:29 -08:00
TwoTimesTwo.ssrf Add test for dive site duplication bug 2015-08-30 10:32:38 -07:00
vyper.xml Add test for merging multiple cylinders 2017-02-09 22:22:12 -08:00