1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="AsciiDoc 8.6.8" />
<title></title>
<style type="text/css">
/*
* compact_subsurface.css, a special style sheet for Subsurface,
* modified by Willem Ferguson and derived from:
* compact.css, version 1.3 by Alex Efros <powerman@powerman.name>
* Licence: Public Domain
*
* Usage: asciidoc -a theme=compact_subsurface ...
*/
* { padding: 0; margin: 0; }
img { border: 0; }
/*** Layout ***/
body { margin: 10px 20px; }
#header br { display: none; }
#revnumber { display: block; }
#toc { margin: 1em 0; }
.toclevel2 { margin-left: 1em; }
.toclevel3 { margin-left: 2em; }
#footer { margin-top: 2em; }
#preamble .sectionbody,
h2,
h3,
h4,
h5 { margin: 1em 0 0 0; }
.admonitionblock,
.listingblock,
.sidebarblock,
.exampleblock,
.tableblock,
.literalblock { margin: 1em 0; }
.admonitionblock td.icon { padding-right: 0.5em; }
.admonitionblock td.content { padding-left: 0.5em; }
.listingblock .content { padding: 0.5em; }
.sidebarblock > .content { padding: 0.5em; }
.exampleblock > .content { padding: 0 0.5em; }
.tableblock caption { padding: 0 0 0.5em 0; }
.tableblock thead th,
.tableblock tbody td,
.tableblock tfoot td { padding: 0 0.5em; }
.quoteblock { padding: 0 2.0em; }
.paragraph { margin: 1em 0 0 0; }
.sidebarblock .paragraph:first-child,
.exampleblock .paragraph:first-child,
.admonitionblock .paragraph:first-child { margin: 0; }
.ulist, .olist, .dlist, .hdlist, .qlist { margin: 1em 0; }
li .ulist, li .olist, li .dlist, li .hdlist, li .qlist,
dd .ulist, dd .olist, dd .dlist, dd .hdlist, dd .qlist { margin: 0; }
ul { margin-left: 1.5em; }
ol { margin-left: 2em; }
dd { margin-left: 3em; }
td.hdlist1 { padding-right: 1em; }
/*** Fonts ***/
body { font-family: Verdana, sans-serif; }
#header { font-family: Arial, sans-serif; }
#header h1 { font-family: Arial, sans-serif; }
#footer { font-family: Georgia, serif; }
#email { font-size: 0.85em; }
#revnumber { font-size: 0.75em; }
#toc { font-size: 0.9em; }
#toctitle { font-weight: bold; }
#footer { font-size: 0.8em; }
h2, h3, h4, h5, .title { font-family: Arial, sans-serif; }
h2 { font-size: 1.5em; }
.sectionbody { font-size: 0.85em; }
.sectionbody .sectionbody { font-size: inherit; }
h3 { font-size: 159%; } /* 1.35em */
h4 { font-size: 141%; } /* 1.2em */
h5 { font-size: 118%; } /* 1em */
.title { font-size: 106%; /* 0.9em */
font-weight: bold;
}
tt, .monospaced { font-family: monospace; font-size: 106%; } /* 0.9em */
dt, td.hdlist1, .qlist em { font-family: Times New Roman, serif;
font-size: 118%; /* 1em */
font-style: italic;
}
.tableblock tfoot td { font-weight: bold; }
/*** Colors and Backgrounds ***/
h1 { color: #527bbd; border-bottom: 2px solid silver; }
#footer { border-top: 2px solid silver; }
h2 { color: #527bbd; border-bottom: 2px solid silver; }
h3 { color: #5D7EAE; border-bottom: 2px solid silver; }
h3 { display: inline-block; }
h4,h5 { color: #5D7EAE; }
.admonitionblock td.content { border-left: 2px solid silver; }
.listingblock .content { background: #f4f4f4; border: 1px solid silver; border-left: 5px solid #e0e0e0; }
.sidebarblock > .content { background: #ffffee; border: 1px solid silver; border-left: 5px solid #e0e0e0; }
.exampleblock > .content { border-left: 2px solid silver; }
.quoteblock { border-left: 5px solid #e0e0e0; }
.tableblock table {
border-collapse: collapse;
border-width: 3px;
border-color: #527bbd;
}
.tableblock table[frame=hsides] { border-style: solid none; }
.tableblock table[frame=border] { border-style: solid; }
.tableblock table[frame=void] { border-style: none; }
.tableblock table[frame=vsides] { border-style: none solid; }
.tableblock table[rules=all] tbody tr *,
.tableblock table[rules=rows] tbody tr * {
border-top: 1px solid #527bbd;
}
.tableblock table[rules=all] tr *,
.tableblock table[rules=cols] tr * {
border-left: 1px solid #527bbd;
}
.tableblock table tbody tr:first-child * {
border-top: 1px solid white; /* none don't work here... %-[] */
}
.tableblock table tr *:first-child {
border-left: none;
}
.tableblock table[frame] thead tr *,
.tableblock table[frame] thead tr * {
border-top: 1px solid white;
border-bottom: 2px solid #527bbd;
}
.tableblock table tr td p.table,
.tableblock table tr td p.table * {
border: 0px;
}
tt, .monospaced { color: navy; }
li { color: #a0a0a0; }
li > * { color: black; }
span.aqua { color: aqua; }
span.black { color: black; }
span.blue { color: blue; }
span.fuchsia { color: fuchsia; }
span.gray { color: gray; }
span.green { color: green; }
span.lime { color: lime; }
span.maroon { color: maroon; }
span.navy { color: navy; }
span.olive { color: olive; }
span.purple { color: purple; }
span.red { color: red; }
span.silver { color: silver; }
span.teal { color: teal; }
span.white { color: white; }
span.yellow { color: yellow; }
span.aqua-background { background: aqua; }
span.black-background { background: black; }
span.blue-background { background: blue; }
span.fuchsia-background { background: fuchsia; }
span.gray-background { background: gray; }
span.green-background { background: green; }
span.lime-background { background: lime; }
span.maroon-background { background: maroon; }
span.navy-background { background: navy; }
span.olive-background { background: olive; }
span.purple-background { background: purple; }
span.red-background { background: red; }
span.silver-background { background: silver; }
span.teal-background { background: teal; }
span.white-background { background: white; }
span.yellow-background { background: yellow; }
span.big { font-size: 2em; }
span.small { font-size: 0.6em; }
span.underline { text-decoration: underline; }
span.overline { text-decoration: overline; }
span.line-through { text-decoration: line-through; }
/*** Misc ***/
.admonitionblock td.icon { vertical-align: top; }
.attribution { text-align: right; }
ul { list-style-type: disc; }
ol.arabic { list-style-type: decimal; }
ol.loweralpha { list-style-type: lower-alpha; }
ol.upperalpha { list-style-type: upper-alpha; }
ol.lowerroman { list-style-type: lower-roman; }
ol.upperroman { list-style-type: upper-roman; }
.hdlist td { vertical-align: top; }
</style>
<script type="text/javascript">
/*<![CDATA[*/
var asciidoc = { // Namespace.
/////////////////////////////////////////////////////////////////////
// Table Of Contents generator
/////////////////////////////////////////////////////////////////////
/* Author: Mihai Bazon, September 2002
* http://students.infoiasi.ro/~mishoo
*
* Table Of Content generator
* Version: 0.4
*
* Feel free to use this script under the terms of the GNU General Public
* License, as long as you do not remove or alter this notice.
*/
/* modified by Troy D. Hanson, September 2006. License: GPL */
/* modified by Stuart Rackham, 2006, 2009. License: GPL */
// toclevels = 1..4.
toc: function (toclevels) {
function getText(el) {
var text = "";
for (var i = el.firstChild; i != null; i = i.nextSibling) {
if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
text += i.data;
else if (i.firstChild != null)
text += getText(i);
}
return text;
}
function TocEntry(el, text, toclevel) {
this.element = el;
this.text = text;
this.toclevel = toclevel;
}
function tocEntries(el, toclevels) {
var result = new Array;
var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');
// Function that scans the DOM tree for header elements (the DOM2
// nodeIterator API would be a better technique but not supported by all
// browsers).
var iterate = function (el) {
for (var i = el.firstChild; i != null; i = i.nextSibling) {
if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
var mo = re.exec(i.tagName);
if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") {
result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
}
iterate(i);
}
}
}
iterate(el);
return result;
}
var toc = document.getElementById("toc");
if (!toc) {
return;
}
// Delete existing TOC entries in case we're reloading the TOC.
var tocEntriesToRemove = [];
var i;
for (i = 0; i < toc.childNodes.length; i++) {
var entry = toc.childNodes[i];
if (entry.nodeName.toLowerCase() == 'div'
&& entry.getAttribute("class")
&& entry.getAttribute("class").match(/^toclevel/))
tocEntriesToRemove.push(entry);
}
for (i = 0; i < tocEntriesToRemove.length; i++) {
toc.removeChild(tocEntriesToRemove[i]);
}
// Rebuild TOC entries.
var entries = tocEntries(document.getElementById("content"), toclevels);
for (var i = 0; i < entries.length; ++i) {
var entry = entries[i];
if (entry.element.id == "")
entry.element.id = "_toc_" + i;
var a = document.createElement("a");
a.href = "#" + entry.element.id;
a.appendChild(document.createTextNode(entry.text));
var div = document.createElement("div");
div.appendChild(a);
div.className = "toclevel" + entry.toclevel;
toc.appendChild(div);
}
if (entries.length == 0)
toc.parentNode.removeChild(toc);
},
/////////////////////////////////////////////////////////////////////
// Footnotes generator
/////////////////////////////////////////////////////////////////////
/* Based on footnote generation code from:
* http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
*/
footnotes: function () {
// Delete existing footnote entries in case we're reloading the footnodes.
var i;
var noteholder = document.getElementById("footnotes");
if (!noteholder) {
return;
}
var entriesToRemove = [];
for (i = 0; i < noteholder.childNodes.length; i++) {
var entry = noteholder.childNodes[i];
if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
entriesToRemove.push(entry);
}
for (i = 0; i < entriesToRemove.length; i++) {
noteholder.removeChild(entriesToRemove[i]);
}
// Rebuild footnote entries.
var cont = document.getElementById("content");
var spans = cont.getElementsByTagName("span");
var refs = {};
var n = 0;
for (i=0; i<spans.length; i++) {
if (spans[i].className == "footnote") {
n++;
var note = spans[i].getAttribute("data-note");
if (!note) {
// Use [\s\S] in place of . so multi-line matches work.
// Because JavaScript has no s (dotall) regex flag.
note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];
spans[i].innerHTML =
"[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +
"' title='View footnote' class='footnote'>" + n + "</a>]";
spans[i].setAttribute("data-note", note);
}
noteholder.innerHTML +=
"<div class='footnote' id='_footnote_" + n + "'>" +
"<a href='#_footnoteref_" + n + "' title='Return to text'>" +
n + "</a>. " + note + "</div>";
var id =spans[i].getAttribute("id");
if (id != null) refs["#"+id] = n;
}
}
if (n == 0)
noteholder.parentNode.removeChild(noteholder);
else {
// Process footnoterefs.
for (i=0; i<spans.length; i++) {
if (spans[i].className == "footnoteref") {
var href = spans[i].getElementsByTagName("a")[0].getAttribute("href");
href = href.match(/#.*/)[0]; // Because IE return full URL.
n = refs[href];
spans[i].innerHTML =
"[<a href='#_footnote_" + n +
"' title='View footnote' class='footnote'>" + n + "</a>]";
}
}
}
},
install: function(toclevels) {
var timerId;
function reinstall() {
asciidoc.footnotes();
if (toclevels) {
asciidoc.toc(toclevels);
}
}
function reinstallAndRemoveTimer() {
clearInterval(timerId);
reinstall();
}
timerId = setInterval(reinstall, 500);
if (document.addEventListener)
document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false);
else
window.onload = reinstallAndRemoveTimer;
}
}
asciidoc.install(3);
/*]]>*/
</script>
</head>
<body class="article">
<div id="header">
</div>
<div id="content">
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Subsurface4Banner.png" alt="Banner" />
</div>
</div>
<div class="paragraph"><p><span class="big">USER MANUAL</span></p></div>
<div class="paragraph"><p><strong>Manual authors</strong>: Willem Ferguson, Jacco van Koll, Dirk Hohndel, Reinout Hoornweg,
Linus Torvalds, Miika Turkia, Amit Chaudhuri, Jan Schubert, Salvador Cuñat</p></div>
<div class="paragraph"><p><span class="blue"><em>Version 4.0.1, January 2014</em></span></p></div>
<div class="paragraph"><p>Welcome as a user of <em>Subsurface</em>, an advanced dive logging programme with
extensive infrastructure to describe, organise, interpret and print scuba
and free dives.
<em>Subsurface</em> binaries are available for Windows PCs (Win XP or later), Intel
based Macs (OS/X) and many Linux distributions. <em>Subsurface</em> can be built for
many more hardware platforms and software environments where Qt and
libdivecomputer are available.</p></div>
<div class="paragraph"><p>The scope of this document is the use of the <em>Subsurface</em> program. To install
the software, consult the <em>Downloads</em> page on the
<a href="http://subsurface.hohndel.org/"><em>Subsurface</em> web site</a>.
Please discuss issues with this program by sending an email to
<a href="mailto:subsurface@hohndel.org">our mailing list</a> and report bugs at
<a href="http://trac.hohndel.org">our bugtracker</a>. For instructions on how to build the
software and (if needed) its dependencies please consult the INSTALL file
included with the source code.</p></div>
<div class="paragraph"><p><strong>Audience</strong>: Recreational Scuba Divers, Free Divers, Tec Divers, Professional
Divers</p></div>
<div id="toc">
<div id="toctitle">Table of Contents</div>
<noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
</div>
<div class="sect1">
<h2 id="S_StartUsing">1. Start Using the Program</h2>
<div class="sectionbody">
<div class="paragraph"><p>The <em>Subsurface</em> window is usually divided into four panels and has a <strong>Main
Menu</strong> (File Import Log View Filter Help) at the top of the window (for Windows
and Linux) or the top of the screen (for Mac and Ubuntu Unity). The four panels are:</p></div>
<div class="paragraph"><p>1) The <strong>Dive List</strong> to the bottom left containing a list of all the dives in the
user’s
dive log. A dive can be selected and highlighted on the dive list by clicking on
it. In most situations the cursor up/down keys can be used to switch
between dives.</p></div>
<div class="paragraph"><p>2) The <strong>Dive Map</strong> to the bottom right, showing the user’s dive sites on a world
map
and centred on the site of the last selected dive.</p></div>
<div class="paragraph"><p>3) The <strong>Dive Info</strong> to the top left, giving more detailed information on the
selected dive, including some statistics for the selected dive or for all
highlighted dive(s).</p></div>
<div class="paragraph"><p>4) The <strong>Dive Profile</strong> to the top right, showing a graphical dive profile of the
highlighted dive in the dive list.</p></div>
<div class="paragraph"><p>The dividers can be dragged between panels in order to change the size of any of
the panels. <em>Subsurface</em> remembers the position of the dividers, so the next
time <em>Subsurface</em> starts it uses the positions of the dividers when the program
was executed previously.</p></div>
<div class="paragraph"><p>If one dive is selected, the dive location, detailed information and profile of
the <em>selected dive</em> are shown in the respective panels. On the other hand, if
one highlights more than one dive the last highlighted dive is the <em>selected
dive</em>, but summary data of all <em>highlighted dives</em> is shown in the <strong>Stats</strong> tab
of the <strong>Dive Info</strong> panel (maximum, minimum and average depths, durations, water
temperatures and SAC; total time and number of dives selected).</p></div>
<div class="imageblock" id="S_ViewPanels" style="text-align:center;">
<div class="content">
<img src="images/main_window.jpg" alt="The Main Window" />
</div>
</div>
<div class="paragraph"><p>The user can determine which of the four panels are displayed by selecting the
<strong>View</strong> option on the main menu. This option gives the user several choices of
display:</p></div>
<div class="paragraph"><p><strong>All</strong>: show all four of the panels as in the screenshot above.</p></div>
<div class="paragraph"><p><strong>Divelist</strong>: Show only the Dive List.</p></div>
<div class="paragraph"><p><strong>Profile</strong>: Show only the Dive Profile of the selected dive.</p></div>
<div class="paragraph"><p><strong>Info</strong>: Show only the Dive Notes about the last selected dive and statistics for
all highlighted dives.</p></div>
<div class="paragraph"><p><strong>Globe</strong>: Show only the world map, centred on the last selected dive.</p></div>
<div class="paragraph"><p>Like many other functions that can be accessed via the Main Menu, these options
can be triggered using keyboard shortcuts as well. The shortcuts for a
particular system
are shown with an underline in the menu entries. Since different Operating
Systems and the user chosen language may cause <em>Subsurface</em> to use different
shortcut keys they will not be listed here in the user manual.</p></div>
<div class="paragraph"><p>When the program is started for the first time, it shows no information at all.
This is because the program doesn’t have any dive information available. In the
following sections, the procedures to create a new logbook will be described.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="S_NewLogbook">2. Creating a new logbook</h2>
<div class="sectionbody">
<div class="paragraph"><p>Select <em>File → New Logbook</em> from the main menu. All existing dive data are
cleared so that new information can be added. If there is unsaved data in an
open logbook, <em>Subsurface</em> the user will be asked if the open logbook will be
saved before a new logbook is created.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="S_GetInformation">3. How to obtain dive information to store in the user’s logbook</h2>
<div class="sectionbody">
<div class="paragraph"><p>There are several ways in which dive information can be added to a logbook:</p></div>
<div class="olist arabic"><ol class="arabic">
<li>
<p>
Enter dive information by hand. This is typically useful if the diver did not
use a dive computer and dives were recorded in a written logbook.
</p>
</li>
<li>
<p>
Import dive information directly from a dive computer if it is supported by
<em>Subsurface</em>. The latest list of dive computers supported by <em>Subsurface</em> can
be found at:
<a href="http://subsurface.hohndel.org/documentation/supported-dive-computers/">
Supported dive computers</a>.
</p>
</li>
<li>
<p>
Import dive information from another data base or file format. This is
discussed in more detail below.
</p>
</li>
</ol></div>
<div class="sect2">
<h3 id="S_EnterData">3.1. Entering dive information by hand</h3>
<div class="paragraph"><p>This is usually the approach for dives without a dive computer. The basic record
of information within <em>Subsurface</em> is a dive. The most important information
in a simple dive logbook usually includes dive type, date, time, duration,
depth, the names of your dive buddy and of the dive master or dive guide, and
some remarks about the dive. <em>Subsurface</em> can store much more information
than this for each dive. In order to add a dive to a dive log, select <em>Log
→ Add Dive</em> from the Main Menu. The program then shows three panels to enter
information for a dive: two tabs in the <strong>Info</strong> panel (<strong>Dive Notes</strong> and
<strong>Equipment</strong>), as well as the <strong>profile</strong> panel that displays a graphical profile
of each dive. These panels are respectively marked <span class="red">A</span>, <span class="red">B</span> and
<span class="red">C</span>
in the figure below. Each of these tabs will now be explained for data entry.</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/AddDive1.jpg" alt="FIGURE: Add dive" />
</div>
</div>
<div class="sect3">
<h4 id="_dive_notes">3.1.1. Dive Notes</h4>
<div class="paragraph"><p>This panel contains the date, time and place information for a particular dive,
environmental conditions, co-divers and buddies, as well as some descriptive
information. The message in a blue box at the top of the panel indicates that
the dive is being edited. If one clicks on the <strong>Dive Notes</strong> tab, the following
fields are visible:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/AddDive2.jpg" alt="FIGURE: The Dive Notes tab" />
</div>
</div>
<div class="paragraph"><p>The <strong>Starttime</strong> field reflects the date and the time of the dive. By clicking
the down-arrow on the right of that field a calendar will be displayed from
which
one can choose the correct date. The time values (hour and minutes) can also be
edited directly by clicking on each of them in the text box and by overtyping the
information displayed.</p></div>
<div class="paragraph"><p><strong>Air and water temperatures</strong>: the air and water temperatures during the
dive can be typed directly on the fields to the right of the Starttime.
Temperature units are not needed, as they will be automatically supplied by
<em>Subsurface</em>. Only the numerical value must be
typed by the user (The units selected in the <em>Preferences</em>
will determine whether metric or imperial units are used).</p></div>
<div class="paragraph"><p><strong>Location</strong>: Here the name of the dive site can be entered, e.g. "Tihany, Lake
Balaton,
Hungary". Auto completion of location names will make this easier if one
frequently dives at the same sites.</p></div>
<div class="paragraph"><p><strong>Coordinates</strong>: The geographic coordinates of the dive site should be entered
here. These can come from three sources:</p></div>
<div class="olist loweralpha"><ol class="loweralpha">
<li>
<p>
One can find the coordinates on the world map in the bottom right hand
part
of the Subsurface window. The map displays a green bar indicating "No location
data - Move the map double-click to set the location". Upon a double-click
at the appropriate place, the green bar disappears and the coordinates are
stored.
</p>
</li>
<li>
<p>
The coordinates can be obtained from the <em>Subsurface</em> Companion app if the
user has an Android device with GPS and if the coordinates of the dive site
were stored using that device.
<a href="#S_Companion">Click here for more information</a>
</p>
</li>
<li>
<p>
The coordinates can be entered by hand if they are known, using one of
four formats with latitude followed by longitude:
</p>
<div class="literalblock">
<div class="content">
<pre><code>ISO 6709 Annex D format e.g. 30°13'28.9"N 30°49'1.5"E
Degrees and decimal minutes, e.g. N30° 13.49760' , E30° 49.30788'
Degrees minutes seconds, e.g. N30° 13' 29.8" , E30° 49' 1.5"
Decimal degrees, e.g. 30.22496 , 30.821798</code></pre>
</div></div>
</li>
</ol></div>
<div class="paragraph"><p>Southern hemisphere latitudes are given with a <strong>S</strong>, e.g. S30°, or with a
negative value, e.g. -30.22496. Similarly western longitudes are given with a
<strong>W</strong>, e.g. W07°, or with a negative value, e.g. -7.34323.</p></div>
<div class="paragraph"><p>Please note that GPS coordinates of a dive site a linked to the Location
name - so adding coordinates to dives that don’t have a location set will
caused unexpected behavior (as Subsurface will think that all of these
dives have the same location and try to keep their GPS coordinates the
same.</p></div>
<div class="paragraph"><p><strong>Divemaster</strong>: The name of the dive master or dive guide for this dive can be
entered here.
Again, this field offers auto completion based on the list of dive masters in
the current logbook.</p></div>
<div class="paragraph"><p><strong>Buddy</strong>: In this field one can enter the name(s) of the buddy / buddies
(separated by commas) who accompanied the user on the dive. Auto completion
based on the list of buddies in the current logbook is offered.</p></div>
<div class="paragraph"><p><strong>Suit</strong>: The type of diving suit that was used for the dive can be entered here.
Just as with the
other items, auto completion of the suit description is available.</p></div>
<div class="paragraph"><p><strong>Rating</strong>: In this field, users can provide a subjective overall rating of the
dive on a 5-point scale by clicking the appropriate star on the rating scale.</p></div>
<div class="paragraph"><p><strong>Visibility</strong>: As with the previous item, users can provide a rating of
visibility during the dive on a 5-point scale by clicking the appropriate star.</p></div>
<div class="paragraph"><p><strong>Tags</strong>: Tags that describe the type of dive performed may
be entered here (separated by commas). Examples of common tags are boat, drift,
training, cave etc. <em>Subsurface</em> has many built-in tags. Auto completion is once again offered.
For instance, if, for instance, <code>cav</code> was typed, then the tags <strong>cave</strong> and <strong>cavern</strong> are
shown for the user to choose from.</p></div>
<div class="paragraph"><p><strong>Notes</strong>: Any additional information can be typed here.</p></div>
<div class="paragraph"><p>The <strong>Save</strong> and <strong>Cancel</strong> buttons are used to save all the information for tabs in
the info panel and in the dive profile panel, so there’s no need to use them
until ALL other information has been added. Here is an example of a completed
Dive Notes panel:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/CompletedDiveInfo.jpg" alt="FIGURE: A completed Dive Notes tab" />
</div>
</div>
</div>
<div class="sect3">
<h4 id="_equipment">3.1.2. Equipment</h4>
<div class="paragraph"><p>The Equipment tab allows the user to enter information about the type of
cylinder and gas used, as well as the weights used for a dive. The message in a
blue
box at the top of the panel:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/BlueEditBar.jpg" alt="Blue edit bar" />
</div>
</div>
<div class="paragraph"><p>indicates that the dive is being edited. This is a highly interactive part of
<em>Subsurface</em> and the information on
cylinders and gases (entered here) affects the behaviour of the dive profile
(top right-hand panel).</p></div>
<div class="paragraph"><p><strong>Cylinders</strong>: The cylinder information is entered through a dialogue that looks
like this:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/CylinderDataEntry1.jpg" alt="FIGURE:Initial cylinder dialogue" />
</div>
</div>
<div class="paragraph"><p>The + button at the top right allows the user to add more cylinders for this
dive.
The dark dustbin icon on the left allows one to delete information for a
particular cylinder.</p></div>
<div class="paragraph"><p>The user starts by selecting a cylinder type on the left-hand side of the
table. To select a cylinder, the user must click in the <strong>cylinder type</strong> box.
This brings up a list button that can be used to display a dropdown list of
cylinders:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/CylinderDataEntry2.jpg" alt="FIGURE:The cylinder drop-down list button" />
</div>
</div>
<div class="paragraph"><p>This drop-down list can then be used to select the cylinder type that was used
for this dive. The
<strong>Size</strong> of the cylinder as well as its working pressure (<strong>WorkPress</strong>) will
automatically be shown in the dialogue.</p></div>
<div class="paragraph"><p>Next, the user must indicate the starting pressure and the ending pressure of
the
gas used during the dive. The unit of pressure (metric/imperial) corresponds
to the setting in the preferences.</p></div>
<div class="paragraph"><p>Finally, the user should type in the gas mixture used. If air
was used, a value of 21% can be entered on this field, or the field might be
left blank. If nitrox or trimix were used, their percentages of oxygen and/or
helium must be specified.
Any inappropriate fields should be left empty. After typing the information for
the cylinder, press <em>ENTER</em> on the keyboard or click
outside the cell that contains the cursor. Information for any additional
cylinders can be added by using the + button at the top right hand. Following
is an example of a complete description for a
dive made using two cylinders (air and EAN50):</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/CylinderDataEntry3.jpg" alt="FIGURE: a completed cylinder dive information table" />
</div>
</div>
<div class="paragraph"><p><strong>Weights</strong>: Information about the weight system used during a dive can be entered
using a dialogue very similar to that of the cylinder information. If the user
clicks the + button on the top right of the weights dialogue, the table looks
like this:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/WeightsDataEntry1.jpg" alt="FIGURE: The Weights dialogue" />
</div>
</div>
<div class="paragraph"><p>If one then clicks on the <strong>Type</strong> field, a drop-down list becomes accessible
through a down-arrow:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/WeightsDataEntry2.jpg" alt="FIGURE: Weights type drop-down list button" />
</div>
</div>
<div class="paragraph"><p>This drop-down list can then be used to select the type of weight system. In
the <strong>Weight</strong>
field, the weight used during the dive must be typed. After typing the
information
for the weight system the user must either press <em>ENTER</em> on the keyboard or
click outside the
cell that contains the cursor. It is possible to enter
information for more than one weight system by adding an additional system using
the + button on the top right hand. Weight systems can be deleted using the
dustbin icon on the left hand. Here is an example of information for a dive
with two types of weights: integrated and a weight belt:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/WeightsDataEntry3.jpg" alt="FIGURE: A completed weights information table" />
</div>
</div>
<div class="paragraph"><p>There’s NO need to click the <em>Save</em> button before the dive
profile has beeb completed.</p></div>
</div>
<div class="sect3">
<h4 id="_creating_a_dive_profile">3.1.3. Creating a Dive Profile</h4>
<div class="paragraph"><p>The <strong>Dive Profile</strong> (a graphical representation of the depth of the dive as a
function of time) is indicated in the panel on the top right hand of the
<em>Subsurface</em> window. When a dive is manually added to a logbook, <em>Subsurface</em>
presents a default dive profile that needs to be modified to best represent the
dive being described:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/DiveProfile1.jpg" alt="FIGURE: Initial dive profile" />
</div>
</div>
<div class="paragraph"><p><em>Modifying the dive profile</em>: When the cursor is moved around the dive profile,
its position is indicated by two red lines as shown below. The depth and time
that the cursor represents are indicated, respectively on the left hand and
bottom axes. The units (metric/imperial) on the axes are determined by the
<strong>preference</strong> settings. The dive profile itself comprises several
line segments demarcated by waypoints (white dots on the profile, as shown
above). The default dive depth is 15 m.
If the dive depth was 21 m then the user needs to drag the appropriate waypoints
downwards to represent 21 m. To add a waypoint, double-click on
any line segment.
To remove a waypoint, right-click on it and choose "Remove this point" from the
context menu. The user will also need to drag the waypoints to represent an
accurate
time duration for the dive. Below is a dive profile that represents a dive
to 21 m for 31 min, followed by a 3 minute safety stop at 5 m.</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/DiveProfile2.jpg" alt="FIGURE: Edited dive profile" />
</div>
</div>
<div class="paragraph"><p><em>Specifying the gas composition:</em> The gas composition used is clearly indicated
along the line segments of the dive profile. This defaults to the first gas
mixture specified in the <strong>Equipment</strong> tab, which was air in the case of the
profile illustrated above. The gas mixtures of segments of the dive profile can
be edited. This is done by clicking on the particular
waypoint and selecting the appropriate gas from the context menu. Changing
the gas for a waypoint affects the gas shown in the segment <em>to the left</em> of
that
waypoint. Note that only the gases defined in the <strong>Equipment</strong> tab appear in the
context menu:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/DiveProfile3.jpg" alt="FIGURE: Gas composition context menu" />
</div>
</div>
<div class="paragraph"><p>Below is the profile of a dive to 21 m for 31 min with a switch from air to
EAN40 on the ascent. In this case the first cylinder in the <strong>Equipment</strong> tab
contained air and the second cylinder contained EAN40.</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/DiveProfile4.jpg" alt="FIGURE: Completed dive profile" />
</div>
</div>
</div>
<div class="sect3">
<h4 id="_saving_the_hand_entered_dive_information">3.1.4. Saving the hand-entered dive information</h4>
<div class="paragraph"><p>The information entered in the <strong>Dive Notes</strong> tab, the <strong>Equipment</strong> tab as well as
the <strong>Dive Profile</strong> can now be saved in the user’s logbook by using the two
buttons
on the top right hand of the Dive Notes tab. If the <em>Save</em> button is clicked,
the dive data
are saved in the current logbook. If the <em>Cancel</em> button is clicked, the newly
entered
dive data are discarded. When exiting <em>Subsurface</em> the user will be prompted
once more to save the logbook with the new dive(s).</p></div>
</div>
</div>
<div class="sect2">
<h3 id="S_ImportDiveComputer">3.2. Importing new dive information from a Dive Computer</h3>
<div class="sect3">
<h4 id="_connecting_and_importing_data_from_a_dive_computer">3.2.1. Connecting and importing data from a dive computer.</h4>
<div class="paragraph"><p>The use of dive computers allows the collection of a large amount of
information about
each dive, e.g. a detailed record of depth, duration, rates of ascent/descent
and of gas partial pressures. <em>Subsurface</em> can capture this information and
present it as part of the dive information, using dive
information from a wide range of dive computers. The latest list of supported
dive computers can be found at:
<a href="http://subsurface.hohndel.org/documentation/supported-dive-computers/">
Supported dive computers</a>.</p></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/warning2.png" alt="Warning" />
</td>
<td class="content">Several dive computers consume more power when they are in their
PC-Communication mode. <strong>This could drain the dive computer’s battery</strong>. We
therefore
recommend that the user checks if the dive computer is charged when
connected to the USB port of a PC. For example, several Suunto and Mares dive
computers do not recharge through the USB connection. The users should refer to
the dive computer’s manual
if they are unsure whether the dive computer will recharge or drain its batteries
while connected to the USB port.</td>
</tr></table>
</div>
<div class="paragraph"><p>To import dive information from a dive computer to a computer with
<em>Subsurface</em>,
it is necessary that the two pieces of equipment communicate with one another.
This
involves setting up the communications port (or mount point) of the computer
with <em>Subsurface</em> that communicates with the dive computer. In order to set up
this communication, one needs to find the appropriate information to
instruct
<em>Subsurface</em> where and how to import the dive information. <strong>Appendix A</strong> provides
the technical information to help the user achieving this for different
operating
systems and <strong>Appendix B</strong> has dive computer specific information.</p></div>
<div class="paragraph"><p>After this, the dive computer can be hooked up to the user’s PC, which can be
achieved by following these steps:</p></div>
<div class="ulist"><ul>
<li>
<p>
The interface cable should be connected to a free USB port (or the Infrared
or Bluetooth connection set up as described later in this manual)
</p>
</li>
<li>
<p>
The dive computer should be placed into PC Communication mode.
(Users should refer to the manual of their specific dive computer)
</p>
</li>
<li>
<p>
In <em>Subsurface</em>, from the Main Menu, the user must select <em>Import → Import
From Dive Computer</em>.
Dialogue <strong>A</strong> in the figure below appears:
</p>
</li>
</ul></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/ImportFromDC1.jpg" alt="FIGURE: Download dialogue 1" />
</div>
</div>
<div class="paragraph"><p>Dive computers tend to keep a certain number of dives in their memory, even
though these dives have already been imported to <em>Subsurface</em>. For that reason
<em>Subsurface</em> only imports dives that have not been uploaded before. This makes
the download process faster on most dive computers and also saves battery power
of the dive computer (at least for those not charging while connected via USB).
If, for some reason, the user wishes to import ALL dives from the dive computer,
even though some may already be in the logbook, then the the check box labeled
<em>Force download of all dives</em> can be ticked.</p></div>
<div class="ulist"><ul>
<li>
<p>
The dialogue has two drop-down lists, <strong>Vendor</strong> and <strong>Dive Computer</strong>. On the
<strong>vendor</strong> drop-down list the user must select the make of the computer, e.g.
Suunto, Oceanic,
Uwatec, Mares. On the <strong>Dive Computer</strong> drop-down list, the model name of
the dive computer must be selected, e.g. D4 (Suunto), Veo200 (Oceanic), or Puck
(Mares).
</p>
</li>
<li>
<p>
The <strong>Device or Mount Point</strong> drop-down list contains the USB or Bluetooth port
name that <em>Subsurface</em> needs in order to communicate with the dive computer.
The appropriate port name must be selected. Consult <strong>Appendix A</strong>
and <strong>Appendix B</strong> for
technical details on how to find the appropriate port information for a
particular dive
computer and, in some cases, how to do the correct settings to the operating
system of the computer on which <em>Subsurface</em> is running.
</p>
</li>
<li>
<p>
If all the dives on the dive computer need to be downloaded, check the
checkbox <em>Force download of all dives</em>. Normally, <em>Subsurface</em> only downloads
dives after the date-time of the last dive in the <strong>Dive List</strong> panel. If one
or more of your dives in <em>Subsurface</em> have been accidentally deleted or if there
are older dives that still need to be downloaded from the dive computer, this
checkbox needs to be activated. Some dive computers (e.g. Mares Puck) do not provide
a contents list to <em>Subsurface</em> before the download in order to select only new dives.
Consequently, for these dive computers, all dives are downloaded
irrespective of the status of this check box.
</p>
</li>
<li>
<p>
If the checkbox <em>Always prefer downloaded dives</em>
has been checked and, during download, dives with identical date-times exist on
the dive computer and on the <em>Subsurface</em>
<strong>Dive List</strong> panel, the record in the <em>Subsurface</em> divelog will be overwritten
by the record from the dive computer
</p>
</li>
<li>
<p>
Do <strong>not</strong> check the checkboxes labeled <em>Save libdivecomputer logfile</em> and
<em>Save libdivecomputer dumpfile</em>. These are only used as diagnostic tools
when problems with downloads are experienced (see below).
</p>
</li>
<li>
<p>
The <em>OK</em> button must then be clicked. Dialogue <strong>B</strong> in the figure above
appears.
</p>
</li>
<li>
<p>
With communication established, one can see how the data are
retrieved from the dive computer.
Depending on the make of the dive computer and/or number of recorded dives, this
could take some time. The user should be patient. The <em>Download</em> dialogue
shows a
progress bar at the bottom of the dialogue (for some dive computers the
progress information could be inaccurate as we cannot determine how much
downloadable data there is until all data have been downloaded). When the
download of the dive information is complete, all the imported dives appear
in the Dive List, sorted by date and time. Disconnect and
switch off the dive
computer to conserve its battery power.
If a particular dive is selected, the Dive Profile panel shows an informative
graph of dive depth against time for that particular dive.
</p>
</li>
<li>
<p>
If there is a problem in communicating with the dive computer, an error
message will be shown, similar to this text: "Unable to open /dev/ttyUSB0 Mares
(Puck Pro)". Refer to the text in the box below.
</p>
</li>
</ul></div>
<div class="sidebarblock">
<div class="content">
<div class="paragraph"><p><strong>PROBLEMS WITH DATA DOWNLOAD FROM A DIVE COMPUTER?</strong></p></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/important.png" alt="Important" />
</td>
<td class="content">Check the following: 1) Is the dive computer still in PC-communication or
Upload mode?
2) Is the battery of the dive computer fully charged? If not then the battery
must be charged or replaced.
3) Is the connecting cable faulty? Does the cable work perfectly using other
software? Has it worked before, or is this the first time the cable is being used?
4) Consult <strong>Appendix A</strong> and make sure that the correct Mount Point
was specified (see above).
5) On Unix-like operating systems, does the user have write permission to the
USB port? If not, users should consult <strong>Appendix A</strong>.</td>
</tr></table>
</div>
<div class="paragraph"><p>If the <em>Subsurface</em> computer does not recognise the USB adaptor by
showing an appropriate device name next to the Mount Point, then there is a
possibility that the cable or USB adaptor is faulty. A faulty cable is the most
common cause of communication failure between dive computer and <em>Subsurface</em>
computer. It is also possible that the <em>Subsurface</em> computer cannot interpret
the data. Perform a download for diagnostic purposes with the following
two check boxes checked in the download dialogue discussed above:</p></div>
<div class="literalblock">
<div class="content">
<pre><code>Save libdivecomputer logfile
Save libdivecomputer dumpfile</code></pre>
</div></div>
<div class="paragraph"><p><strong>Important</strong>: These check boxes are only used when problems are ancountered
during the download process: under normal circumstances they should not be checked.
When checking these boxes, the user is prompted to select a folder to
save the information to. The default folder is the one in which the <em>Subsurface</em>
dive log is kept. <strong>Important:</strong> After downloading with the above checkboxes
checked, no dives are shown in the
<strong>Dive List</strong> but two files are created in the folder selected above:</p></div>
<div class="literalblock">
<div class="content">
<pre><code>subsurface.log
subsurface.bin</code></pre>
</div></div>
<div class="paragraph"><p>These files should be send to the <em>Subsurface</em> mail list:
<em>subsurface@hohndel.org</em> with a
request for the files to be analysed. One should provide the dive computer
make and model
as well as contextual information about the dives recorded on the dive computer.</p></div>
</div></div>
</div>
<div class="sect3">
<h4 id="S_EditDiveInfo">3.2.2. Updating the dive information imported from the dive computer.</h4>
<div class="paragraph"><p>The information from the dive computer is not complete and more
details must be added in order to have a more complete record of the dives. To
do this,
the <strong>Dive Notes</strong> and the <strong>Equipment</strong> tabs on the top left hand of the
<em>Subsurface</em> window should be used.</p></div>
</div>
<div class="sect3">
<h4 id="_dive_notes_2">3.2.3. Dive Notes</h4>
<div class="paragraph"><p>The date and time of the dive, gas mixture and perhaps water temperature is
shown as obtained from the dive computer, but the user needs to add some
additional information by hand in order to have a more complete dive record.
The message in a blue box at
the top of the panel indicates that the dive is being edited. If the user
clicks on the <strong>Dive Notes</strong> tab, the following fields are
visible:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/AddDive3.jpg" alt="FIGURE: The Dive Notes tab" />
</div>
</div>
<div class="paragraph"><p>The <strong>Starttime</strong> field reflects the date and the time of the dive, as supplied by
the dive computer. It should therefore not be necessary to edit this, but one
could make changes by clicking the down-arrow on the right of that field to
display a calendar from which the correct date can be chosen. The hour and
minutes values can also be edited by clicking on each of them in the text box
and by overtyping the information displayed.</p></div>
<div class="paragraph"><p><strong>Air/water temperatures</strong>: Air and water temperatures during the dive are shown
in these fields to the right of the Starttime. Many dive computers supply water
temperature information and this field may therefore not require further
editing. If
editing is required, only a value is required. The units of temperature will be
automatically supplied by
<em>Subsurface</em> (according to the <em>Preferences</em>, metric or imperial units will
be used).</p></div>
<div class="paragraph"><p><strong>Location</strong>: In this field one should type in text that describes the site
where the dive was performed, e.g. "Tihany, Lake Balaton, Hungary". the required drivers to interact with the download cable and connected dive
computer.</p></div>
<div class="paragraph"><p>If all the above points are in order and there is a failure to download the
dive
Auto completion of location names will
make this easier when a user frequently dives at the same sites.</p></div>
<div class="paragraph"><p><strong>Coordinates</strong>: The geographic coordinates of the dive site should be entered
here. These can come from three sources:</p></div>
<div class="olist loweralpha"><ol class="loweralpha">
<li>
<p>
The user can find the coordinates on the world map in the bottom right hand
part
of the Subsurface window. The map displays a green bar indicating "No location
data - move the map and double-click to set the location". Double-click
at the appropriate place, the green bar disappears and the coordinates are
stored.
</p>
</li>
<li>
<p>
The user can obtain the coordinates from the <em>Subsurface</em> Companion app if
an Android device with GPS was used and the if the coordinates of the dive site
were stored using that device.
<a href="#S_Companion">Click here for more information</a>
</p>
</li>
<li>
<p>
The coordinates can be entered by hand if they are known, using one of
four formats with latitude followed by longitude:
</p>
<div class="literalblock">
<div class="content">
<pre><code>ISO 6709 Annex D format e.g. 30°13'28.9"N 30°49'1.5"E
Degrees and decimal minutes, e.g. N30° 13.49760' , E30° 49.30788'
Degrees minutes seconds, e.g. N30° 13' 29.8" , E30° 49' 1.5"
Decimal degrees, e.g. 30.22496 , 30.821798</code></pre>
</div></div>
</li>
</ol></div>
<div class="paragraph"><p>Southern hemisphere latitudes are given with a <strong>S</strong>, e.g. S30°, or with a
negative value, e.g. -30.22496. Similarly western longitudes are given with a
<strong>W</strong>, e.g. W07°, or with a negative value, e.g. -7.34323.</p></div>
<div class="paragraph"><p><strong>Divemaster</strong>: The name of the dive master or dive guide for this dive should be
entered in this field.
This field offers auto completion based on the list of dive masters in
the current logbook.</p></div>
<div class="paragraph"><p><strong>Buddy</strong>: In this field, one enters the name(s) of the buddy / buddies
(separated with commas) who accompanied him/her on the
dive. Auto completion based on the list of buddies in the current logbook is
offered.</p></div>
<div class="paragraph"><p><strong>Suit</strong>: Here the type of diving suit used for the dive can be entered.
Auto completion of the suit description is available.</p></div>
<div class="paragraph"><p><strong>Rating</strong>: One can provide a subjective overall rating of the dive on a
5-point scale by clicking the appropriate star on the rating scale.</p></div>
<div class="paragraph"><p><strong>Visibility</strong>: Similarly, one can provide a rating of visibility during the
dive on a
5-point scale by clicking the appropriate star.</p></div>
<div class="paragraph"><p><strong>Tags</strong>: Tags that describe the type of dive performed can be entered
here (separated by commas). Examples of common tags are boat, drift, training,
cave, etc.
<em>Subsurface</em> has many built-in tags. If the user starts typing a tag, the
program
will list the tags that correspond to the typing. For instance, if the user
typed
<code>cav</code>, then the tags <strong>cave</strong> and <strong>cavern</strong> are shown for the user to choose from.</p></div>
<div class="paragraph"><p><strong>Notes</strong>: Any additional information for the dive can be entered here.</p></div>
<div class="paragraph"><p>The <strong>Save</strong> and <strong>Cancel</strong> buttons are used to save all the information for tabs
in the info panel and in the dive profile panel, so there’s no need to use them
until ALL other information has been added. Here is an example of a completed
Dive Notes panel:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/CompletedDiveInfo.jpg" alt="FIGURE: A completed Dive Notes tab" />
</div>
</div>
</div>
<div class="sect3">
<h4 id="_equipment_2">3.2.4. Equipment</h4>
<div class="paragraph"><p>The Equipment tab allows one to enter information about the type of
cylinder and gas used as well as the weights used for the dive. The
message in a blue box at the top of the panel:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/BlueEditBar.jpg" alt="FIGURE: Blue edit bar" />
</div>
</div>
<div class="paragraph"><p>indicates that the dive is being edited.This is a highly interactive part of
<em>Subsurface</em> and the information on
cylinders and gases (entered here) determines the behaviour of the dive profile
(top right-hand panel).</p></div>
<div class="paragraph"><p><strong>Cylinders</strong>: The cylinder information is entered through a dialogue that looks
like this:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/CylinderDataEntry1.jpg" alt="FIGURE: Initial cylinder dialogue" />
</div>
</div>
<div class="paragraph"><p>In most cases <em>Subsurface</em> obtains the gas used from the dive computer and
automatically inserts the gas composition(% oxygen) in the table. The + button
at the top right allows the user to add more cylinders for this dive. The dark
dustbin icon on the left allows the deletion of information for a cylinder.</p></div>
<div class="paragraph"><p>The user should start by selecting a cylinder type on the left-hand side of the
table. To select a cylinder, the <strong>cylinder type</strong> box should be clicked. This
brings up a list button that can be used to display a dropdown list of
cylinders:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/CylinderDataEntry2.jpg" alt="FIGURE: The cylinder drop-down list button" />
</div>
</div>
<div class="paragraph"><p>The drop-down list can then be used to select the cylinder type that was used
for this dive. The
<strong>Size</strong> of the cylinder as well as its working pressure (<strong>WorkPress</strong>) will
automatically be shown in the dialogue.</p></div>
<div class="paragraph"><p>Next one must indicate the starting pressure and the ending pressure of the
specified gas during the dive. The unit of pressure (metric/imperial)
corresponds to the settings chosen in the preferences.</p></div>
<div class="paragraph"><p>Finally, the user must type in the gas mixture used. If air was used, the
value of 21% can be entered here or this field can be left blank. If nitrox or
trimix were used, their percentages of oxygen and/or helium should be entered.
Any inappropriate fields should be left empty. After typing the
information for the cylinder,
either press <em>ENTER</em> on the keyboard or click outside the cell
that contains
the cursor. Information for any additional cylinders can be added by using the<br />
button at the top right hand. Following is an example of a complete description
for a dive using two cylinders (air and EAN50):</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/CylinderDataEntry3.jpg" alt="FIGURE: a completed cylinder dive information table" />
</div>
</div>
<div class="paragraph"><p><strong>Weights</strong>: Information about the weight system used can be entered
using a dialogue very similar to that of the cylinder information. If one
clicks
the + button on the top right of the weights dialogue, the table looks like
this:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/WeightsDataEntry1.jpg" alt="FIGURE:The Weights dialogue" />
</div>
</div>
<div class="paragraph"><p>By clicking on the <strong>Type</strong> field, a drop-down list becomes accessible through a
down-arrow:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/WeightsDataEntry2.jpg" alt="FIGURE:Weights type drop-down list button" />
</div>
</div>
<div class="paragraph"><p>The drop-down list can then be used to select the type of weight system
used during the dive. In the <strong>Weight</strong>
field, type in the amount of weight used during the dive. After
specifying the weight
system, the user can either press <em>ENTER</em> on the keyboard or click outside the
cell with the cursor.
It is possible to enter information for more than one weight system by adding
an additional system
using the + button on the top right hand. Weight systems can be deleted using
the dustbin icon on the left hand. Here is an example of information for a dive
with two types of weights: integrated and a weight belt:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/WeightsDataEntry3.jpg" alt="FIGURE: A completed weights information table" />
</div>
</div>
</div>
<div class="sect3">
<h4 id="_saving_the_updated_dive_information">3.2.5. Saving the updated dive information</h4>
<div class="paragraph"><p>The information entered in the <strong>Dive Notes</strong> tab and the <strong>Equipment</strong> tab can be
saved with all the other information of the dives in the user’s logbook by
using the
two buttons on the top right hand of the <strong>Dive Notes</strong> tab. If the <em>Save</em> button
is clicked,
the dive data are saved. If the <em>Cancel</em> button is clicked, then the newly
entered dive data are
deleted, although the dive profile obtained from the dive computer will be
retained. When the user exits <em>Subsurface</em> there is a final prompt to confirm
that the new data should be saved.</p></div>
</div>
</div>
<div class="sect2">
<h3 id="_importing_dive_information_from_other_digital_data_sources_or_other_data_formats">3.3. Importing dive information from other digital data sources or other data formats</h3>
<div class="paragraph" id="S_ImportingAlienDiveLogs"><p>If a user has been diving for some time, it’s possible that several dives were
logged using other dive log software. All this information needs not
be typed by hand into <em>Subsurface</em>, because these divelogs can probably be
imported onto <em>Subsurface</em>. <em>Subsurface</em> will import divelogs from a range of
other
dive log software. While some software is supported natively, for others the
user will have to
export the logbook(s) to an intermediate format so that they can then be imported
by <em>Subsurface</em>.
Currently, <em>Subsurface</em> supports importing CSV log files from several sources.
APD LogViewer, XP5 and Sensus files are
preconfigured, but because the import is flexible, users can configure their own
imports.
Manually kept log files (e.g. in spreadsheet) can also be imported by
configuring the CSV import.
<em>Subsurface</em> can also import UDDF and UDCF files that are used by some divelog
software and some divecomputers, like the Heinrichs & Weikamp DR5. Finally,
for some divelog software like Mares Dive Organiser it is currently suggested to
import the logbooks first into a webservice like <em>divelogs.de</em> and then import
them from there with
<em>Subsurface</em>, as divelogs.de supports a few additional logbook formats that
<em>Subsurface</em> currently cannot parse.</p></div>
<div class="paragraph"><p>When importing dives, <em>Subsurface</em> tries to detect multiple records for
the same dive and merges the information as best as it can. If
there are no time zone issues (or other reasons that would cause the
beginning time of the dives to be significantly different) <em>Subsurface</em>
will not create duplicate entries.</p></div>
<div class="sect3">
<h4 id="_using_the_universal_import_dialogue">3.3.1. Using the universal import dialogue</h4>
<div class="paragraph" id="Unified_import"><p>Importing dives from other software is performed through a universal interface
that is activated by selecting <em>Import</em> from the Main Menu, then clicking on
<em>Import Log Files</em>. This brings up the dialogue <strong>A</strong> below.</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Import1.jpg" alt="FIGURE: Import dialogue: step 1" />
</div>
</div>
<div class="paragraph"><p>Towards the bottom right is a dropdown selector with a default label
of <em>Dive Log Files</em> which gives access to the different types of direct imports
available, as in dialogue <strong>B</strong>, above. Currently these are:</p></div>
<div class="ulist"><ul>
<li>
<p>
XML-formatted dive logs
</p>
</li>
<li>
<p>
UDDF-formatted dive logs
</p>
</li>
<li>
<p>
UDCF-formatted dive logs
</p>
</li>
<li>
<p>
JDiveLog
</p>
</li>
<li>
<p>
Suunto Dive Manager (DM3 and DM4)
</p>
</li>
<li>
<p>
MacDive (XML)
</p>
</li>
<li>
<p>
DivingLog 5.0 (XML)
</p>
</li>
<li>
<p>
Kenozooid (UDDF)
</p>
</li>
<li>
<p>
CSV (text-based and spreadsheet-based) dive logs.
</p>
</li>
</ul></div>
<div class="paragraph"><p>Selecting the appropriate file in the file list of the dialogue opens
the imported dive log in the <em>Subsurface</em> <strong>Dive List</strong>. A few other formats, not
accessible through the Import dialogue are also supported, as explained below.</p></div>
</div>
<div class="sect3">
<h4 id="_importing_from_mares_dive_organiser_v2_1">3.3.2. Importing from Mares Dive Organiser V2.1</h4>
<div class="paragraph"><p>Since Mares utilise proprietory Microsoft software not compatible with
multi-platform applications, these dive logs cannot be
directly imported into
<em>Subsurface</em>. Mares dive logs need to be imported using a three-step process,
using <em>www.divelogs.de</em> as a mechanism to extract the dive information from
the file.</p></div>
<div class="ulist"><ul>
<li>
<p>
The dive log data from Mares Dive Organiser need to be exported to the user’s
desktop, using
a <em>.sdf</em> file name extension. Refer to <a href="#Mares_Export">Appendix
C</a> for more information.
</p>
</li>
<li>
<p>
Data should then be imported into <em>www.divelogs.de</em>. One needs to create a user
account in
<em>www.divelogs.de</em>, log into that web site, then
select <em>Import Logbook → Dive Organiser</em> from the menu on the left hand side.
The instructions must be carefully followed to transfer the dive information
(in <em>.sdf</em> format) from the Dive Organiser data base to <em>www.divelogs.de</em>.
</p>
</li>
<li>
<p>
Finally, import the dives
from <em>divelogs.de</em> to <em>Subsurface</em>, using the instructions below.
</p>
</li>
</ul></div>
</div>
<div class="sect3">
<h4 id="S_ImportingDivelogsDe">3.3.3. Importing dives from <strong>divelogs.de</strong></h4>
<div class="paragraph"><p>The import of dive information from <em>divelogs.de</em> is simple, using a single
dialogue box. The <em>Import→Import form Divelogs.de</em> option should be selected
from the Main Menu. This
brings up a dialogue box (see figure on left [<strong>A</strong>] below). Enter a
user-ID and password for <em>divelogs.de</em> into the appropriate fields and then
select
the <em>Download</em> button. Download from <em>divelogs.de</em> starts immediately,
displaying a progress bar in the dialogue box. At the and of the download, the
success status is indicated (see figure on the right [<strong>B</strong>], below). The
<em>Apply</em> button should then be selected, after which the imported dives appear in the
<em>Subsurface</em> <strong>Dive List</strong> panel.</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Divelogs1.jpg" alt="FIGURE:Download from Divelogs.de" />
</div>
</div>
</div>
<div class="sect3">
<h4 id="S_ImportingCSV">3.3.4. Importing dives in CSV format</h4>
<div class="paragraph"><p>Sometimes dive computers export dive information as files with
<em>comma-separated values</em> (.CSV). For example, the APD Inspiration and Evolution
closed circuit rebreather (CCR) systems export dive information in CSV format
that normally contains information about a single dive only. These
files can easily be imported into <em>Subsurface</em>.
CSV files are normally organised into
a single line that provides the headers of the data columns, followed by the
data, one record per line. CSV files can be opened with a normal text editor.
Following is a highly simplified and shortened example of a CSV file from an
APD rebreather:</p></div>
<div class="literalblock">
<div class="content">
<pre><code> Dive Time (s) Depth (m) PPO2 - Setpoint (Bar) PPO2 - C1 Cell
1 (Bar) Ambient temp. (Celsius)
0 0.0 0.70 0.81 13.1
0 1.2 0.70 0.71 13.1
0 0.0 0.70 0.71 13.1
0 1.2 0.70 0.71 13.2
0 1.2 0.70 0.71 13.1
10 1.6 0.70 0.72 12.7
20 1.6 0.70 0.71 12.6
30 1.7 0.70 0.71 12.6
40 1.8 0.70 0.68 12.5
50 1.6 0.70 0.68 12.5
60 2.4 0.70 0.69 12.5
70 3.5 0.70 0.69 12.4
80 4.2 0.70 0.72 12.5
90 4.0 0.70 0.71 12.4</code></pre>
</div></div>
<div class="paragraph"><p>Note that each title may comprise more than one word; for instance
<em>Dive Time (s)</em> in the above data example. Before being able to import the data
to <em>Subsurface</em> one first needs to know:</p></div>
<div class="olist loweralpha"><ol class="loweralpha">
<li>
<p>
Which character separates the different columns within a single line of
data? This field separator should be either a comma (,) or a TAB character.
This can be determined by opening the file with a text editor. If it is
comma-delimited, then the comma
characters between the values are clearly visible. If no commas are evident and
the numbers are aligned,
the file is probably TAB-delimited (i.e. it uses a TAB as a field separator, as
in the above example).
</p>
</li>
<li>
<p>
Which data columns need to be imported into <em>Subsurface</em>?. The Dive Time and
Depth columns are always required. Open the file using a text editor and note
the titles of the columns to be imported and their column positions. For
instance for the above example:
</p>
<div class="literalblock">
<div class="content">
<pre><code>Time: column 1
Depth: column 2
Temperature: column 5
ppO2: column 4</code></pre>
</div></div>
</li>
</ol></div>
<div class="paragraph"><p>Armed with this information, importing the data into <em>Subsurface</em> is
straightforward. Select
<em>Import→Import Log Files</em> from the main menu. In the resulting file
selection menu, select oa CSV files, after which a common configuration dialog
appears for all the
files with a CSV extension:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Import_CSV1.jpg" alt="FIGURE: CSV download dialogue" />
</div>
</div>
<div class="paragraph"><p>There are pre-configured definitions for some dive computers, e.g. the APD
rebreathers. If the user’s dive computer is on this list, it should be selected
using the dropdown
box labeled <em>Pre-configured imports</em>. Finally the <em>OK</em> should be clicked and
the dive will be imported and listed in the <strong>Dive List</strong> tab of <em>Subsurface</em>.</p></div>
<div class="paragraph"><p>If the dive computer is not on the pre-configured list, the user must
select the <em>Field
Separator</em> (TAB or comma) for the particular CSV file, using the appropriate
dropdown list. and indicate which columns in the CSV file
contain which data
variables. For each data column used for import, the user must check the
appropriate check box
and indicate in which column these data are found. For instance, the image above
corresponds to the dialogue that would apply to the CSV data set described above
the image. Having performed the column specification, select the <em>OK</em> button
and the dive will be imported and listed in the <strong>Dive List</strong> tab of <em>Subsurface</em>.</p></div>
</div>
<div class="sect3">
<h4 id="S_ImportingManualCSV">3.3.5. Importing dives from manually kept CSV file</h4>
<div class="paragraph"><p>If one keeps dive logs in a spreadsheet, there is an option to import
those dives as well. Spreadsheet data, exported as a CSV file, can
be imported to <em>Subsurface</em>. When importing manually
kept log files, the information needed is quite different as we are
importing only metadata, not profile samples.</p></div>
<div class="paragraph"><p>Similarly to importing dives in CSV format (see above), one needs to
know the internal format
of the CSV data to import.</p></div>
<div class="olist loweralpha"><ol class="loweralpha">
<li>
<p>
Which character separates the different columns within a single line of
data? This
should be either a comma (,), semicolon (;) or a TAB
character, and could be determined by opening the file with a text
editor. If it is comma-delimited, then the comma
characters between the values are clearly visible. If no commas are evident and
the data
are in clear columns, the file
is probably TAB-delimited (i.e. it uses a TAB as a field separator, as in the
above example).
A recommended field separator for the export is tab, as commas might be used in
the
field values themselves.
</p>
</li>
<li>
<p>
Which columns need to be imported into <em>Subsurface</em>?. We do not
currently have any mandatory input fields, but some, e.g. dive duration
are crucial for the log file to make any sense. Possible options
can be seen in the image below and one should include all the
fields available in both your log file and in the Subsurface
import.
</p>
</li>
<li>
<p>
Units used for depth, weight and temperature. We consider depth to be
either feet or meters, weight kilograms or pounds and temperature either
Celsius or Fahrenheit. However, the users can only select <em>Metric</em> or
<em>Imperial</em> in the Preferences tab of <em>Subsurface</em>.. No mixture of unit s
ystems is allowed for the different fields.
</p>
</li>
</ol></div>
<div class="paragraph"><p>Importing manually kept CSV log files is quite straight forward, but
there might be many fields and counting the field numbers is error
prone. Therefore validation of the data to be imported is critical.</p></div>
<div class="paragraph"><p>To import the dives, one must select <em>Import→Import Log Files</em> from the menu
bar. If the CSV option in the dropdown list is selected and the file list
includes file names ending with .CSV, one can select the
<em>Manual dives</em> tab that will bring up the following configuration dialog:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Import_CSV2.jpg" alt="FIGURE: Download dialog for Manual CSV logs" />
</div>
</div>
<div class="paragraph"><p>The input fields can be configured as appropriate, and when everything is done
the <em>OK</em> button should be selected to perform the import. New dives should
appear in the <strong>Dive List</strong> area of <em>Subsurface</em>.</p></div>
</div>
</div>
<div class="sect2">
<h3 id="S_Companion">3.4. Importing GPS coordinates with the Subsurface Companion app for mobile</h3>
<div class="paragraph"><p>phones
If the user has an Android device with GPS, the coordinates for the diving
location can be obtained and automatically passed to Subsurface
divelog. To do this, one needs to:</p></div>
<div class="ulist"><ul>
<li>
<p>
Register on the <a href="http://api.hohndel.org/login/">Subsurface companion web page</a>.
A confirmation mail with instructions and a personal <strong>DIVERID</strong> will be send together with
a long number that gives access to the companion app capabilities.
</p>
</li>
<li>
<p>
Download the app from
<a href="https://play.google.com/store/apps/details?id=org.subsurface">Google Play Store</a>
or
from
<a href="http://f-droid.org/repository/browse/?fdfilter=subsurface&fdid=org.subsurface">F-Droid</a>.
</p>
</li>
</ul></div>
<div class="sect3">
<h4 id="_using_the_subsurface_companion_app_on_a_smartphone">3.4.1. Using the Subsurface companion app on a smartphone</h4>
<div class="paragraph"><p>On first use the app has three options:</p></div>
<div class="ulist"><ul>
<li>
<p>
<em>Create a new account.</em> Equivalent to registering in <em>Subsurface</em> companion
page.
</p>
</li>
<li>
<p>
<em>Retrieve an account.</em> If users forgot their DIVERID they will receive an email
to recover the number.
</p>
</li>
<li>
<p>
<em>Use an existing account.</em> Users are prompted for their DIVERID. The app saves
this DIVERID and does not ask for it again unless one uses the <em>Disconnect</em> menu
option (see below).
</p>
</li>
</ul></div>
<div class="paragraph"><p>Now one is ready to get a dive position and send it to the server. The Android
display will look like the left hand image (A) below, but without any dive.</p></div>
<div class="paragraph"><p>Touching the "+" icon on the top right to add a new dive site. Users will be
prompted for a place name (or asked to activate the GPS if it was turned off).
The main screen shows a list of dive locations, each with a name, date and
time. Some dives may have an arrow-up icon on the selection box to the left (see
image B in the middle, below) indicating that they require upload to the server.</p></div>
<div class="paragraph"><p>There are several ways to send dives to the server; the easiest is by simply
selecting the dive. See middle image below (B):</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Companion.jpg" alt="FIGURE: Screen shots (A-C) of companion app" />
</div>
</div>
<div class="paragraph"><p>Touching the right arrow will send it to the server.</p></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/important.png" alt="Important" />
</td>
<td class="content">Users must be careful, as the trash icon on the right means exactly what it is supposed to mean,
it deletes the dive location(s).</td>
</tr></table>
</div>
<div class="paragraph"><p>The new dive points are now stored on the server and can be downloaded to the
<em>Subsurface</em> dive log whenever users upload or add dives to <em>Subsurface</em>.
After a dive trip using the Companion app, all dive locations are ready to be
saved on a Subsurface dive log (see below).</p></div>
<div class="sect4">
<h5 id="_settings_on_the_companion_app">Settings on the Companion app</h5>
<div class="paragraph"><p>Selecting the <em>Settings</em> menu option results in the right hand image above ©.</p></div>
</div>
<div class="sect4">
<h5 id="_server_and_account">Server and account</h5>
<div class="ulist"><ul>
<li>
<p>
<em>Web-service URL.</em> This is predefined (<a href="http://api.hohndel.org/">http://api.hohndel.org/</a>)
</p>
</li>
<li>
<p>
<em>User ID.</em> Obtained by registering as indicated above. The easiest way to
obtain it is simply to copy and paste from the confirmation mail but, of
course, users can also type this information.
</p>
</li>
</ul></div>
</div>
<div class="sect4">
<h5 id="_synchronization">Synchronization</h5>
<div class="ulist"><ul>
<li>
<p>
<em>Synchronize on startup.</em> If selected, dives in the Android device and those
on the web service will synchronize each time the app is started.
</p>
</li>
<li>
<p>
<em>Upload new dives.</em> If selected, each time the user adds a dive location it will
automatically be sent to the server.
</p>
</li>
</ul></div>
</div>
<div class="sect4">
<h5 id="_background_service">Background service</h5>
<div class="paragraph"><p>Instead of entering a unique dive location, users can leave the service running
in the background of their device, thus allowing the continuous collection of GPS locations.</p></div>
<div class="paragraph"><p>The settings below define the behaviour of the service:</p></div>
<div class="ulist"><ul>
<li>
<p>
<em>Min duration.</em> In minutes. The app will try to get a position each X minutes
until it’s stopped by the user.
</p>
</li>
<li>
<p>
<em>Min distance.</em> In meters. Minimum distance between two position fixes.
</p>
</li>
<li>
<p>
<em>Name template.</em> The name the app will use when saving the position fixes.
</p>
</li>
</ul></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/info.jpg" alt="Tip" />
</td>
<td class="content"><em>How does the background service work?</em> Assuming that the user set 5 minutes and 50
meters in the settings above, the app will start by taking a fix at the current location,
followed by another one
at every 5 minutes. If this 2nd (3rd, 4th …) location is within a radius of 50
meters from the previous one, then this new fix is not saved. If the user is not moving,
only one fix is saved, but if the user is moving, then a trace of the journey is obtained,
by saving each new position at every 5 minutes.</td>
</tr></table>
</div>
</div>
<div class="sect4">
<h5 id="_other">Other</h5>
<div class="ulist"><ul>
<li>
<p>
<em>Mailing List.</em> The mail box for <em>Subsurface</em>. Users can send an email to the
Subsurface mailing list.
</p>
</li>
<li>
<p>
<em>Subsurface website.</em> A link to the URL of Subsurface web
</p>
</li>
<li>
<p>
<em>Version.</em> Displays the current version of the companion app.
</p>
</li>
</ul></div>
</div>
<div class="sect4">
<h5 id="_search">Search</h5>
<div class="paragraph"><p>Here one can search one’s saved dive locations by the name or by date and hour.</p></div>
</div>
<div class="sect4">
<h5 id="_start_service">Start service</h5>
<div class="paragraph"><p>Initiates the <em>background service</em> depending on the previously defined settings.</p></div>
</div>
<div class="sect4">
<h5 id="_disconnect">Disconnect</h5>
<div class="paragraph"><p>This is a badly named option. It disconnects the app from the server by
resetting the user ID in the app, showing the first screen where an account
can be created, retrieve the ID for an existing account or use the users own
ID. The disconnect option
is useful if a user’s Android device was used to download the dive positions
of another registered diver.</p></div>
</div>
<div class="sect4">
<h5 id="_send_all_locations">Send all locations</h5>
<div class="paragraph"><p>This option sends all locations stored in the Android device to the server.</p></div>
</div>
</div>
<div class="sect3">
<h4 id="_downloading_dive_locations_to_a_subsurface_divelog">3.4.2. Downloading dive locations to a Subsurface divelog</h4>
<div class="paragraph"><p>Download dive(s) from a dive computer or enter them manually into
<em>Subsurface</em> before obtaining the GPS coordinates from the server. The download
dialog can be reached via <em>Ctrl+G</em> or from the <em>Subsurface</em> Main Menu <em>Import
→ Import GPS data from Subsurface Service</em>, resulting in the image on the
left (<strong>A</strong>), below. On first use the DIVERID text box will be blank. Users must provide their
DIVERID and then select the <em>Download</em> button to initiate the download process. When this
is completed, users will see the screen on the right (<strong>B</strong>), below:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/DownloadGPS.jpg" alt="FIGURE: Downloading Companion app GPS data" />
</div>
</div>
<div class="paragraph"><p>Note that the <em>Apply</em> button is now active. By clicking on it, users can update the locations
of the newly entered or uploaded dives in <em>Subsurface</em> which applies the
coordinates and names entered on the app for all the new dives that match the
date-times of the uploaded GPS localities.</p></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/info.jpg" alt="Note" />
</td>
<td class="content">Features, issues and tips._ Since <em>Subsurface</em> matches GPS locations from the
Android device and dive information from the dive computer based on date-time
data, automatic assignment of GPS data to dives is dependent on agreement of
date and time between these two devices. If there is a large difference between
the time in the dive computer and the time in the Android device,
<em>Subsurface</em> is unable to identify the dive matching a location and nothing
happens. Similar date-times may be not always be possible. A dirty hack is
manually editing the date-time of a dive in Subsurface’s Dive List <em>before</em>
downloading the GPS data and then to edit the date-time back again <em>after</em>
downloading GPS data.</td>
</tr></table>
</div>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_obtaining_more_information_about_dives_entered_into_the_logbook">4. Obtaining more information about dives entered into the logbook</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="_the_strong_dive_info_strong_tab_for_individual_dives">4.1. The <strong>Dive Info</strong> tab (for individual dives)</h3>
<div class="paragraph"><p>The Dive Info tab gives some summary information about a particular dive that
has been selected in the <strong>Dive List</strong>. Useful information here includes the
surface interval before the dive, the maximum and mean depths of the dive, the
gas volume consumed, the surface air consumption (SAC) and the number of oxygen
toxicity units (OTU) incurred.</p></div>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/info.jpg" alt="Note" />
</td>
<td class="content">Gas consumption and SAC calculations:
<em>Subsurface</em> calculates SAC and Gas consumption taking in account gas
incompressibility, particularly at tank pressures above 200 bar, making them more accurate.
Users should refer to <a href="#SAC_CALCULATION">Appendix D</a> for more information.</td>
</tr></table>
</div>
</div>
<div class="sect2">
<h3 id="_the_strong_stats_strong_tab_for_groups_of_dives">4.2. The <strong>Stats</strong> tab (for groups of dives)</h3>
<div class="paragraph"><p>The Stats tab gives summary statistics for more than one dive, assuming that
more than one dive have been selected in the <strong>Dive List</strong> using the standard
Ctrl-click or Shift-click of the mouse. If only one
dive has been selected, figures pertaining to only that dive are given. This tab
shows the number of dives selected, the total amount of dive time in these
dives,
as well as the minimum, maximum and mean for the dive duration, dive depth,
water temperature and surface air consumption (SAC).</p></div>
</div>
<div class="sect2">
<h3 id="S_DiveProfile">4.3. The <strong>Dive Profile</strong></h3>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Profile2.png" alt="Typical dive profile" />
</div>
</div>
<div class="paragraph"><p>Of all the panels in <em>Subsurface</em>, the Dive Profile contains the most detailed
information about each dive. The main item in the Dive profile is the graph of
dive depth as a function of time. In addition to the obvious information of
the depth it also shows the ascent and descent rates compared to the recommended
speed of going up or down in the water column. This information is given using
different colours:</p></div>
<div class="tableblock">
<table rules="all"
width="100%"
frame="border"
cellspacing="0" cellpadding="4">
<col width="33%" />
<col width="33%" />
<col width="33%" />
<tbody>
<tr>
<td align="left" valign="top"><p class="table"><strong>Colour</strong></p></td>
<td align="left" valign="top"><p class="table"><strong>Descent speed (m/min)</strong></p></td>
<td align="left" valign="top"><p class="table"><strong>Ascent speed (m/min)</strong></p></td>
</tr>
<tr>
<td align="left" valign="top"><p class="table">Red</p></td>
<td align="left" valign="top"><p class="table">> 30</p></td>
<td align="left" valign="top"><p class="table">> 18</p></td>
</tr>
<tr>
<td align="left" valign="top"><p class="table">Orange</p></td>
<td align="left" valign="top"><p class="table">18 - 30</p></td>
<td align="left" valign="top"><p class="table">9 - 18</p></td>
</tr>
<tr>
<td align="left" valign="top"><p class="table">Yellow</p></td>
<td align="left" valign="top"><p class="table">9 - 18</p></td>
<td align="left" valign="top"><p class="table">4 - 9</p></td>
</tr>
<tr>
<td align="left" valign="top"><p class="table">Light green</p></td>
<td align="left" valign="top"><p class="table">1.5 - 9</p></td>
<td align="left" valign="top"><p class="table">1.5 - 4</p></td>
</tr>
<tr>
<td align="left" valign="top"><p class="table">Dark green</p></td>
<td align="left" valign="top"><p class="table">< 1.5</p></td>
<td align="left" valign="top"><p class="table">< 1.5</p></td>
</tr>
</tbody>
</table>
</div>
<div class="paragraph"><p>The profile also includes depth readings for the peaks and troughs in the graph.
Thus, users should see the depth of the deepest point and other peaks. Mean depth
is marked with a horizontal red line.</p></div>
<div class="paragraph"><p>The <strong>air consumption</strong> graph displays the tank pressure and its change during the
dive. The air consumption takes depth into account so that even when manually
entering the start and end pressures the graph is not a straight line.
Similarly to the depth graph the slope of the tank pressure gives the user information
about the
momentary SAC rate (Surface Air Consumption) when using an air integrated dive computer.
Here the colour
coding is not relative to some absolute values but relative to the average
normalised air consumption during the dive. So areas that are red or orange
indicate
times of increased normalized air consumption while dark green reflects times
when the diver was using less gas than average. The colour coding is obviously
only possible when a tank sensor is connected and tank pressure readings during
the dive are available.</p></div>
<div class="paragraph"><p><strong>Water temperature</strong> is displayed with its own blue line with temperature values
placed adjacent to significant changes.</p></div>
<div class="paragraph"><p>It is possible to <strong>zoom</strong> into the profile graph. This is done either by using
the scroll wheel / scroll gesture of your mouse or trackpad. By default
<em>Subsurface</em> always shows a profile area large enough for at least 30 minutes
and 30m
(100ft) – this way short or shallow dives are intuitively recognizable;
something
that free divers clearly won’t care about.</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/MeasuringBar.png" alt="FIGURE: Measuring Bar" />
</div>
</div>
<div class="paragraph"><p>Measurements of <strong>depth differences</strong> can be achieved by using the button with
two vertical bars at the right of the dive profile panel (users should refer to
the above figure,
bottom right). The measurement is done by dragging the red dots to the two points
on the dive profile that the user wishes to measure. Information is then given
along the line connecting the
two red dots.</p></div>
<div class="paragraph"><p>The dive profile can include further information that is typically more
interesting for tec divers. Enabling these is described in the section entitled
<em>Setting up Preferences</em>. Basically, users can include graphs of the <strong>partial
pressures</strong>
of O2, N2, and He during the dive as well as a calculated and dive computer
reported deco ceilings (only visible for deep, long, or repetitive dives). The
partial pressure graphs are added below the profile data, the calculated ceiling
is shown as a green overlay on top of the dive profile. Above the profile the
currently used gradient factors are shown (e.g. GF 35/75). Please note that
these are NOT the gradient factors in use by the dive computer in question,
but the gradient factors used by <em>Subsurface</em> to calculate deco obligations
during the dive.</p></div>
<div class="paragraph"><p>The graph can also include the dive computer reported <strong>ceiling</strong> (or more
precisely, the first deco stop that the dive computer recorded – users are reminded that not
all dive computers record this information and make it available for download;
for example all of the Suunto dive computers fail to make this very useful data
available to divelog software). Because of the differences in used algorithms
and amount of data available (and factors taken into consideration) at the time
of the calculation it is unlikely that both of these are the same; this can be
true even if the same algorithm and <em>gradient factors</em> (see below) are used.
It is also quite common that <em>Subsurface</em> calculates a ceiling for
non-decompression dives when the dive computer stayed in non-deco mode during
the whole dive (represented by the <span class="green">dark green</span> section in the profile
at the beginning of this section). This is caused by the fact that
<em>Subsurface’s</em>
calculations describe the deco obligation at that point in time during a dive,
while dive computers usually take the upcoming ascent into account. During the
ascent some excess Nitrogen (and possibly Helium) are already breathed off so
even
though the diver technically encountered a ceiling at depth, the dive still does
not require an explicit deco stop. This feature allows dive computers to offer
longer non-stop bottom time.</p></div>
<div class="paragraph"><p>For a more detailed explanation of <em>gradient factors</em>, use the following links:</p></div>
<div class="ulist"><ul>
<li>
<p>
<a href="http://www.tek-dive.com/portal/upload/M-Values.pdf">Understanding M-values, by Erik Baker, 1988, <em>Immersed</em> Vol. 3, No. 3.</a>
</p>
</li>
<li>
<p>
<a href="http://www.rebreatherworld.com/general-and-new-to-rebreather-articles/5037-gradient-factors-for-dummies.html">Gradient factors for dummies, by Kevin Watts</a>
</p>
</li>
</ul></div>
</div>
<div class="sect2">
<h3 id="_the_dive_profile_context_menu">4.4. The Dive Profile context menu</h3>
<div class="paragraph"><p>The context menu for the Dive Profile is accessed by right-clicking while the
mouse cursor is over the Dive Profile panel. The menu allows the creation of
Bookmarks or Gas Change Event markers other than the ones that might have been
imported from a Dive Computer. Markers are placed against the depth profile line
and with the time of the event set by where the mouse cursor was when the right
mouse button was initially clicked to bring up the menu. Gas Change events
open a further selection of which gas is being switched to, the list based on
the available gases defined in the Equipment Tab. By right-clicking while over
an existing marker, the menu extends adding options to allow deletion of the
marker or to allow all markers of that type to be hidden. Hidden events can be
restored to view by selecting Unhide all events from the context menu.</p></div>
</div>
<div class="sect2">
<h3 id="_the_strong_information_box_strong">4.5. The <strong>Information Box</strong></h3>
<div class="paragraph"><p>The Information box displays a large range of information pertaining to the dive
profile. Normally the Information Box is located to the top left of the <strong>Dive
Profile</strong> panel. If the mouse points outside of the <strong>Dive Profile</strong> panel, then
only the top line of the Information Box is visible (see left-hand part of
figure (A) below). The Information Box can be moved around in the <strong>Dive Profile</strong>
panel by click-dragging it with the mouse so that it is not obstructing
important detail. The position of the Information Box is saved and used again
during subsequent dive analyses.</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/InfoBox2.jpg" alt="Figure: Information Box" />
</div>
</div>
<div class="paragraph"><p>The moment the mouse points inside the <strong>Dive Profile</strong> panel, it expands and
shows many data items. In this situation, the data reflect the time point along
the dive profile indicated by the mouse (see right-hand part of figure (B) above
where the Information Box reflects the situation at the position of the cursor
[arrow] in that image). Therefore, moving the cursor in the horizontal
direction allows the Information Box to show information for any point along the
dive profile.
In this mode, the Information Box gives extensive statistics about depth, gas
and ceiling characteristics of the particular dive. These include: Time period
into the dive (indicated by a @), depth, cylinder pressure (P), temperature,
ascent/descent rate, surface air consumption (SAC), oxygen partial pressure,
maximum operating depth, effective air depth (EAD), effective narcotic depth
(END), equivalent air density depth (EADD), decompression requirements at that
instant in time (Deco), time to surface (TTS), the calculated ceiling, as well
as the calculated ceiling for several Bühlmann tissue compartments.</p></div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_organising_the_logbook_manipulating_groups_of_dives">5. Organising the logbook (Manipulating groups of dives)</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="_the_dive_list_context_menu">5.1. The Dive List context menu</h3>
<div class="paragraph"><p>Many actions within <em>Subsurface</em> are dependent on a context menu used
mostly to manipulate groups of dives. The context menu is found by selecting
a dive or a group of dives and then right-clicking.</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/ContextMenu.jpg" alt="Figure: Context Menu" />
</div>
</div>
<div class="paragraph"><p>The context menu is used in many manipulations described below.</p></div>
</div>
<div class="sect2">
<h3 id="S_Renumber">5.2. Renumbering the dives</h3>
<div class="paragraph"><p>Dives are normally numbered incrementally from non-recent dives (low sequence
numbers) to recent dives (having the highest sequence numbers). The numbering
of the dives is not always consistent. For instance, when non-recent dives are
added to the dive list the numbering does not automatically follow on because
of the dives that are more recent in date/time than the newly-added dive that
has an older date/time. Therefore, one may sometimes need to renumber the dives.
This is performed by selecting (from the Main Menu) <em>Log → Renumber</em>. Users are
given a choice with respect to the lowest sequence number to be used.
Completing this operation results in new sequence numbers (based on date/time)
for the dives in the <strong>Dive List</strong> panel.</p></div>
</div>
<div class="sect2">
<h3 id="S_Group">5.3. Grouping dives into trips and manipulating trips</h3>
<div class="paragraph"><p>For regular divers, the dive list can rapidly become very long. <em>Subsurface</em>
can group dives into <em>trips</em>. It performs this by grouping dives that have
date/times that are not separated in time by more than two days, thus creating
a single heading for each diving trip represented in the dive log. Below is an
ungrouped dive list (<strong>A</strong>, on the left) as well as the corresponding grouped dive
list comprising five dive trips (<strong>B</strong>, on the right):</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Group2.jpg" alt="Figure: Grouping dives" />
</div>
</div>
<div class="paragraph"><p>Grouping into trips allows a rapid way of accessing individual dives without
having to scan long lists of dives. In order to group the dives in a dive list,
(from the Main Menu) users must select <em>Log → Autogroup</em>. The <strong>Dive List</strong> panel now shows
only the titles for the trips.</p></div>
<div class="sect3">
<h4 id="_viewing_the_dives_during_a_particular_trip">5.3.1. Viewing the dives during a particular trip</h4>
<div class="paragraph"><p>Once when the dives have been grouped into trips, users can expand one or more
trips by clicking the arrow-head on the left of each trip title. This expands
the selected trip, revealing the individual dives performed during the trip.</p></div>
</div>
<div class="sect3">
<h4 id="_editing_the_title_and_associated_information_for_a_particular_trip">5.3.2. Editing the title and associated information for a particular trip</h4>
<div class="paragraph"><p>Normally, in the dive list, minimal information is included in the trip title.
More information about a trip can be added by selecting its trip title from
the dive list. This shows a <strong>Trip Notes</strong> tab in the <strong>Dive Notes</strong> panel. Here
users can add or edit information about the date/time, the trip location and any
other general comments about the trip as a whole (e.g. the dive company that was
dived with, the general weather during the trip, etc.). After entering this
information, users should select <strong>Save</strong> from the buttons at the top right of the <strong>Trip Notes</strong>
tab. The trip title in the <strong>Dive List</strong> panel should now reflect some of the
edited information.</p></div>
</div>
<div class="sect3">
<h4 id="_collapsing_or_expanding_dive_information_for_different_trips">5.3.3. Collapsing or expanding dive information for different trips</h4>
<div class="paragraph"><p>If a user right-clicks after selecting a particular trip in the dive list, the
resulting context menu allows several possibilities to expand or collapse dives
within trips. This includes expanding all trips, collapsing all trips and
collapsing all trips except the selected one.</p></div>
</div>
<div class="sect3">
<h4 id="_merging_dives_from_more_than_one_trip_into_a_single_trip">5.3.4. Merging dives from more than one trip into a single trip</h4>
<div class="paragraph"><p>By right-clicking on a selected trip title in the <strong>Dive List</strong> panel, a
context menu shows up that allows the merging of trips by either merging of the selected trip
with the trip below or with the trip above.</p></div>
</div>
<div class="sect3">
<h4 id="_splitting_a_single_trip_into_more_than_one_trip">5.3.5. Splitting a single trip into more than one trip</h4>
<div class="paragraph"><p>If a trip includes five dives, the user can split this trip into two trips (trip 1:
top 3 dives; trip 2: bottom 2 dives) by selecting and right-clicking the top
three dives. The resulting context menu allows the user to create a new trip by
choosing the option <strong>Create new trip above</strong>. The top three dives are then
grouped
into a separate trip. The figures bellow show the selection and context menu on the left (A) and
the completed action on the right (B):</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/SplitDive3a.jpg" alt="FIGURE: Split a trip into 2 trips" />
</div>
</div>
</div>
</div>
<div class="sect2">
<h3 id="_manipulating_single_dives">5.4. Manipulating single dives</h3>
<div class="sect3">
<h4 id="_delete_a_dive_from_the_dive_log">5.4.1. Delete a dive from the dive log</h4>
<div class="paragraph"><p>Dives can be permanently deleted from the dive log by selecting and
right-clicking them to bring up the context menu, and then selecting <strong>Delete
dive(s)</strong>. Typically this would apply to a case where a user wishes to delete
workshop
calibration dives of the dive computer or dives of extremely short duration.</p></div>
</div>
<div class="sect3">
<h4 id="_unlink_a_dive_from_a_trip">5.4.2. Unlink a dive from a trip</h4>
<div class="paragraph"><p>Users can unlink dives from the trip to which they belong. In order to do this,
users should select and right-click
the relevant dives to bring up the context menu. Then the option <strong>Remove dive(s)
from trip</strong> should be selected.
The dives that have been unlinked now appear immediately above the trip to
which they belonged.</p></div>
</div>
<div class="sect3">
<h4 id="_add_a_dive_to_the_trip_immediately_above">5.4.3. Add a dive to the trip immediately above</h4>
<div class="paragraph"><p>Selected dives can be moved from the trip to which they belong and placed within
the trip immediately above the currently active trip. To do this, users must select
and right-click
the dives to bring up the context menu, and then select <strong>Add dive(s) to trip
immediately above</strong>.</p></div>
</div>
<div class="sect3">
<h4 id="_shift_the_start_time_of_dive_s">5.4.4. Shift the start time of dive(s)</h4>
<div class="paragraph"><p>Sometimes it is necessary to adjust the start time of a dive. This may apply to
situations where dives are performed in different time zones or when the dive
computer has an erroneous time. In order to do this, user must select and right-click
the dive(s) to be
adjusted. This action brings up the context menu on which the <strong>Shift times</strong>
option should be selected. User must then specify the
time
(in hours and minutes) by which the dives should be adjusted and click on the
option indicating whether the time adjustment should be forwards or backwards.</p></div>
</div>
<div class="sect3">
<h4 id="_merge_dives_into_a_single_dive">5.4.5. Merge dives into a single dive</h4>
<div class="paragraph"><p>Sometimes a dive is briefly interrupted, e.g. if a diver returns to the surface
for a few minutes, resulting in two or more dives being recorded by the dive
computer and appearing as different dives in the <strong>Dive List</strong> panel. Users can
merge these dives onto a single dive by selecting the appropriate dives,
right-clicking them to bring up the context menu and then selecting <strong>Merge selected
dives</strong>. It may be necessary to edit the dive information in the <strong>Dive Notes</strong>
panel to reflect events or conditions that apply to the merged dive. The figure
below shows the depth profile two such dives that were merged:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/MergedDive.png" alt="Example: Merged dive" />
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="S_ExportLog">6. Exporting the dive log or parts of the dive log</h2>
<div class="sectionbody">
<div class="paragraph"><p>A dive log can be saved in two formats:</p></div>
<div class="ulist"><ul>
<li>
<p>
<em>Subsurface</em> XML format. This is the native format used by <em>Subsurface</em>.
</p>
</li>
<li>
<p>
Universal Dive Data format (UDDF). User should refer to <a href="http://uddf.org">http://uddf.org</a> for more information.
UDDF is a generic format that enables communication among many dive computers
and computer programs.
</p>
</li>
</ul></div>
<div class="paragraph"><p>In order to save the WHOLE dive log (i.e. all trips and dives), <strong>File</strong> should be selected
from the Main menu. To save in <em>Subsurface</em> XML format, users should select <em>File → Save
as</em>. To save in UDDF format, the <em>File → Export UDDF</em> option should be selected.</p></div>
<div class="paragraph"><p>In order to save only one or more dives or one or two trips, users can select the
appropriate dives or trips in the <strong>Dive List</strong> panel and then right-click the
selected dives to bring up the context menu. To save in <em>Subsurface</em> XML
format, users should select <em>Save as</em> from the context menu. To save in UDDF format, users should select
<em>Export as UDDF</em> from the context menu.</p></div>
</div>
</div>
<div class="sect1">
<h2 id="S_PrintDivelog">7. Printing a dive log</h2>
<div class="sectionbody">
<div class="paragraph"><p><em>Subsurface</em> provides a simple interface to print a whole dive log or only a
few selected dives, including dive profiles and other contextual information.</p></div>
<div class="paragraph"><p>Before printing, two decisions are required:</p></div>
<div class="ulist"><ul>
<li>
<p>
Should the whole dive log be printed or only part of it? If only part of the
dive log is required, then the user must select the required dives from the <strong>Dive List</strong> panel.
</p>
</li>
<li>
<p>
What gas partial pressure information is required on the dive profile? Users should select
the appropriate information from the Main Menu: <em>File→Preferences→Graph</em>.
</p>
</li>
</ul></div>
<div class="paragraph"><p>Now the print options should be selected to match the user’s needs. To do this, user should select <em>File→Print</em> from
the Main menu. The following dialogue appears (see the image on the left [A],
below).</p></div>
<div class="paragraph"><p>Under <em>Print type</em> users need to select one of three options:</p></div>
<div class="ulist"><ul>
<li>
<p>
Print the Dive List: to do this, <em>Table Print</em> should be selected.
</p>
</li>
<li>
<p>
Print the full dive records (dive profiles and all other information) at 6
dives per printed page: to do this, users should select <em>6 dives per page</em>.
</p>
</li>
<li>
<p>
Print the full dive records (dive profiles and all other information) at 2
dives per printed page: to do this, users should select <em>2 dives per page</em>.
</p>
</li>
</ul></div>
<div class="paragraph"><p>Under <em>Print options</em> users need to select:</p></div>
<div class="ulist"><ul>
<li>
<p>
Printing only the dives that have been selected from the dive list prior to
activating the print dialogue, achieved by checking the box <em>Print only
selected dives</em>.
</p>
</li>
<li>
<p>
Printing in colour, achieved by checking the box with <em>Print in color</em>.
</p>
</li>
</ul></div>
<div class="paragraph"><p>The <em>Ordering</em> affects the layout of the page (or part of it) for each dive.
The dive profile could be printed at the top of each dive, with the textual
information underneath, or it could be printed with the textual information at
the top with the dive profile underneath. Users should select the appropriate option in the
print dialogue. See the image on the right (<strong>B</strong>), above which has a layout with
text above the dive profile.</p></div>
<div class="paragraph"><p>Users can <em>Preview</em> the printed page by selecting the <em>Preview</em> button on the
dialogue. After preview, changes to the options in the print dialogue can be
made, resulting in a layout that fits personal taste.</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/PrintDiveLog.jpg" alt="FIGURE: Print dialogue" />
</div>
</div>
<div class="paragraph"><p>Next, select the <em>Print</em> button in the dialogue. This activates the regular print
dialogue used by the user operating system (image [<strong>B</strong>] in the middle, above),
allowing them to choose a printer and to set its properties (image [<strong>C</strong>] on the right,
above).
It is important to set the print resolution of the printer to an appropriate value by
changing
the printer properties. Finally, users can print their dives. Below is a (rather small)
example of
the output for one particular page.</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Printpreview.jpg" alt="FIGURE: Print preview page" />
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="S_Preferences">8. Setting user <strong>Preferences</strong> for <em>Subsurface</em></h2>
<div class="sectionbody">
<div class="paragraph"><p>There are several settings within <em>Subsurface</em> that the users can specify. These
are found when selecting <em>File→Preferences</em>. The settings are performed in
four groups: <strong>Defaults</strong>, <strong>Units</strong>, <strong>Graph</strong> and <strong>Language</strong>. All four sections
operate on the same principles: the user must specify the settings the are to be changed, then
these changes are saved using the <strong>Apply</strong> button. After applying all the new settings users can then
leave the settings panel by selecting <strong>OK</strong>.</p></div>
<div class="sect2">
<h3 id="_defaults">8.1. Defaults</h3>
<div class="paragraph"><p>There are four settings in the <strong>Defaults</strong> panel:</p></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Preferences1.jpg" alt="FIGURE: Preferences defaults page" />
</div>
</div>
<div class="ulist"><ul>
<li>
<p>
<strong>Lists and tables</strong>: Here one can specify the font type and font size of the
Dive Table panel. By decreasing the font size of the Dive table, users can see more dives on a screen.
</p>
</li>
<li>
<p>
<strong>Dives</strong>: Here one need to specify the directory and file name of one’s
electronic dive log book(s). This is a file with filename extension .xml. When
launched, <em>Subsurface</em> will then automatically load the specified dive log book.
</p>
</li>
<li>
<p>
<strong>Display invalid</strong>: Dives can be marked as invalid (when a user wishes to hide
dives that he/she don’t consider valid dives, e.g. pool dives, but still want to
keep them in the dive log). This controls whether those dives are displayed in
the dive list.
</p>
</li>
<li>
<p>
<strong>Use Default cylinder</strong>: Here users can specify the default cylinder listed in
the <strong>Equipment</strong> tab of the <strong>Dive Notes</strong> panel.
</p>
</li>
</ul></div>
</div>
<div class="sect2">
<h3 id="_units">8.2. Units</h3>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Preferences2.jpg" alt="FIGURE: Preferences Units page" />
</div>
</div>
<div class="paragraph"><p>Here user can choose between metric and imperial units of depth, pressure,
volume, temperature and mass. By selecting the Metric or Imperial radio button
at the top, users can specify that all units are in the chosen measurement system.
Alternatively, if one selects the <strong>Personalise</strong> radio button, units can be selected
independently, with some units in the metric system and other in the imperial.</p></div>
</div>
<div class="sect2">
<h3 id="_graph">8.3. Graph</h3>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Preferences3.jpg" alt="FIGURE: Preferences Graph page" />
</div>
</div>
<div class="paragraph"><p>This panel allows two type of selections:</p></div>
<div class="ulist"><ul>
<li>
<p>
<strong>Show</strong>: Here users can specify the amount of information shown as part of
the dive profile:
</p>
<div class="ulist"><ul>
<li>
<p>
Gas pressure graphs: <em>Subsurface</em> can display the nitrogen, oxygen and the helium partial pressures during
the dive. For each of these graphs users can specify a threshold value on the right-hand side of the
panel. If any of the graphs go above this threshold level, the graph is
highlighted in red, indication that the threshold value has been exceeded (see
figure below).
</p>
</li>
<li>
<p>
Ceiling: Ascent ceilings arise when a direct ascent to the surface increases
the risk of a diver suffering from decompression sickness (DCS) and it is necessary to either ascend
slower or to perform decompression stop(s) before ascending to the surface.
<em>Subsurface</em> can indicate these ceilings above which the diver should not ascend
at a particular point in time (see the green-shaded areas in the figure in the
section on <a href="#S_DiveProfile">Dive Profiles</a>) and in the figure below:
</p>
<div class="ulist"><ul>
<li>
<p>
If the <strong>Calculated ceiling</strong> option is checked, then a ceiling is shown if it exists for
a particular dive (<strong>A</strong> in figure below)
</p>
</li>
<li>
<p>
If the <strong>show all tissues</strong> option is checked, the ceiling is shown for the tissue
compartments following the Bühlmann model (<strong>B</strong> in figure below).
</p>
</li>
<li>
<p>
If the <strong>3m increments</strong> option is checked, then the ceiling is indicated in 3 m increments
(<strong>C</strong> in figure below).
</p>
</li>
<li>
<p>
If the dive computer itself calculates a ceiling and makes it available to
<em>Subsurface</em> during upload of dives, this can be
shown by checking <strong>Dive computer reported ceiling</strong> and it can be drawn in red by
checking <strong>Draw ceiling red</strong>.
</p>
</li>
</ul></div>
</li>
<li>
<p>
If a <em>Maximum operating depth (MOD)</em> or an <em>Equivalent air depth (EAD)</em>
applies to a dive profile, these can be shown by checking the appropriate boxes.
</p>
</li>
<li>
<p>
If a <em>Maximum partial pressure of oxygen (maxPPO2)</em> applies to dives, then
this can be specified in the appropriate text box. In addition, if a
<em>no-decompression limit (NDL)</em> is to be shown in the <strong>info</strong> box, then users must check the
appropriate box.
</p>
</li>
</ul></div>
</li>
</ul></div>
<div class="imageblock" style="text-align:center;">
<div class="content">
<img src="images/Ceilings.png" alt="Figure: Ceiling with 3m resolution" />
</div>
</div>
<div class="ulist"><ul>
<li>
<p>
<strong>Misc</strong>: Here users can set the <em>gradient factors</em> used while diving. GF_Low is
the gradient factor at deep and GF_High is used just below the surface.
At intermediate depths gradient factors between GF_Low and GF_High are used.
Gradient factors add conservatism to the nitrogen exposure during a dive, in a
similar way that many dive computers have a conservatism setting. The lower
the value of a gradient factor, the more conservative the calculations are with
respect to nitrogen loading and the deeper the ascent ceilings are. Gradient
factors of 25/60 are considered conservative and values of 60/90 are considered
harsh. Checking <strong>GFLow at max depth</strong> box causes GF_Low to be used at the
deepest depth of a dive. For more information see:
</p>
<div class="ulist"><ul>
<li>
<p>
<a href="http://www.tek-dive.com/portal/upload/M-Values.pdf">Understanding M-values by Erik Baker, , <em>Immersed</em> Vol. 3, No. 3.</a>
</p>
</li>
<li>
<p>
<a href="http://www.rebreatherworld.com/general-and-new-to-rebreather-articles/5037-gradient-factors-for-dummies.html">Gradient factors for dummies, by Kevin Watts</a>
</p>
</li>
</ul></div>
</li>
</ul></div>
</div>
<div class="sect2">
<h3 id="_languages">8.4. Languages</h3>
<div class="paragraph"><p>A checkbox allows one to use the <em>System Default</em> language which in most cases
will be the correct setting; with this <em>Subsurface</em> simply runs in the same
language / country settings as the underlying OS. If this is for some reason
undesirable users can uncheck this checkbox and pick a language / country
combination from the list of included localizations.</p></div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_description_of_the_subsurface_main_menu_items">9. Description of the Subsurface Main Menu items</h2>
<div class="sectionbody">
<div class="paragraph"><p>This section describes the functions and operation of the items in the Main Menu
of Subsurface. Several of the items below are links to sections of this manual
dealing with the appropriate operations.</p></div>
<div class="sect2">
<h3 id="_file">9.1. File</h3>
<div class="ulist"><ul>
<li>
<p>
<a href="#S_NewLogbook"><em>New Logbook</em></a> - Close the currently open dive logbook and
clear all dive information.
</p>
</li>
<li>
<p>
<em>Open logbook</em> - This opens the file manager in order to select a dive
logbook to open.
</p>
</li>
<li>
<p>
<em>Save</em> - Save the dive logbook that is currently open.
</p>
</li>
<li>
<p>
<em>Save as</em>: - Save the current logbook or the currently selected dives within
the present logbook under a different filename.
</p>
</li>
<li>
<p>
<em>Close</em> - Close the dive logbook that is currently open.
</p>
</li>
<li>
<p>
<a href="#S_ExportLog"><em>Export UDDF</em></a> - Export the currently open dive logbook (or
the selected dives in the logbook) in UDDF format.
</p>
</li>
<li>
<p>
<a href="#S_PrintDivelog"><em>Print</em></a> - Print the currently open logbook.
</p>
</li>
<li>
<p>
<a href="#S_Preferences"><em>Preferences</em></a> - Set the <em>Subsurface</em> preferences.
</p>
</li>
<li>
<p>
<em>Quit</em> - Quit <em>Subsurface</em>.
</p>
</li>
</ul></div>
</div>
<div class="sect2">
<h3 id="_import">9.2. Import</h3>
<div class="ulist"><ul>
<li>
<p>
<a href="#S_ImportDiveComputer"><em>Import from dive computer</em></a> - Import dive information
from a dive computer.
</p>
</li>
<li>
<p>
<a href="#Unified_import"><em>Import Files</em></a> - Import dive information from a file in
in a <em>Subsurface</em>-compatible format.
</p>
</li>
<li>
<p>
<a href="#S_Companion"><em>Import GPS data from Subsurface Service</em></a> - Load GPS
coordinates from the <em>Subsurface</em> mobile phone app.
</p>
</li>
<li>
<p>
<a href="#S_ImportingDivelogsDe"><em>Import from Divelogs.de</em></a> - Import dive information
from <em>www.Divelogs.de</em>.
</p>
</li>
</ul></div>
</div>
<div class="sect2">
<h3 id="_log">9.3. Log</h3>
<div class="ulist"><ul>
<li>
<p>
<a href="#S_EnterData"><em>Add Dive</em></a> - Manually add a new dive to the <strong>Dive List</strong> panel.
</p>
</li>
<li>
<p>
<a href="#S_Renumber"><em>Renumber</em></a> - Renumber the dives listed in the <strong>Dive List</strong>
panel.
</p>
</li>
<li>
<p>
<a href="#S_Group"><em>Auto Group</em></a> - Group the dives in the <strong>Dive List</strong> panel into dive
trips.
</p>
</li>
<li>
<p>
<em>Edit Device Names</em> - Edit the names of dive computers.
</p>
</li>
</ul></div>
</div>
<div class="sect2">
<h3 id="_view">9.4. View</h3>
<div class="ulist"><ul>
<li>
<p>
<a href="#S_ViewPanels"><em>All</em></a> - View the four main <em>Subsurface</em> panels
simmultaneously.
</p>
</li>
<li>
<p>
<a href="#S_ViewPanels"><em>Dive List</em></a> - View only the <strong>Dive List</strong> panel.
</p>
</li>
<li>
<p>
<a href="#S_ViewPanels"><em>Profile</em></a> - View only the <strong>Dive Profile</strong> panel.
</p>
</li>
<li>
<p>
<a href="#S_ViewPanels"><em>Info</em></a> - View only the <strong>Dive Notes</strong> panel.
</p>
</li>
<li>
<p>
<a href="#S_ViewPanels"><em>Globe</em></a> - View only the <strong>World Map</strong> panel.
</p>
</li>
<li>
<p>
<em>Yearly Statistics</em> - Display summary statistics about dives during the last
year.
</p>
</li>
<li>
<p>
<em>Prev DC</em> - Switch to next dive computer.
</p>
</li>
<li>
<p>
<em>Next DC</em> - Switch to previous dive computer.
</p>
</li>
<li>
<p>
<em>Full Screen</em> - Toggles Full Screen mode.
</p>
</li>
</ul></div>
</div>
<div class="sect2">
<h3 id="_filter">9.5. Filter</h3>
<div class="ulist"><ul>
<li>
<p>
<em>Select Events</em> - This option is not implemented yet.
</p>
</li>
</ul></div>
</div>
<div class="sect2">
<h3 id="_help">9.6. Help</h3>
<div class="ulist"><ul>
<li>
<p>
<em>About Subsurface</em> - Show a panel with the version number of <em>Subsurface</em> as
well as licensing information.
</p>
</li>
<li>
<p>
<em>User Manual</em> - Open a window showing this user manual.
</p>
</li>
</ul></div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_appendix_a_operating_system_specific_information_for_importing_dive_information_from_a_dive_computer">10. APPENDIX A: Operating system specific information for importing dive information from a dive computer.</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="_make_sure_that_the_os_has_the_required_drivers_installed">10.1. Make sure that the OS has the required drivers installed</h3>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/drivers.jpg" alt="Note" />
</td>
<td class="content">The operating system of the desktop computer needs the appropriate drivers in
order to communicate with the dive computer in whichever way the dive
computer prefers (e.g. bluetooth, USB, infrared).</td>
</tr></table>
</div>
<div class="ulist"><ul>
<li>
<p>
On Linux this means users need to have the correct kernel
module loaded. Most distributions will do this automatically.
</p>
</li>
<li>
<p>
On Windows, the OS should offer to download the correct
driver once the user connects the dive computer to the USB port.
</p>
</li>
<li>
<p>
On a Mac users sometimes have to manually hunt for the correct
driver. For example the correct driver for the Mares Puck
devices can be found as Mac_OSX_VCP_Driver.zip at
</p>
</li>
</ul></div>
<div class="paragraph"><p><a href="http://www.silabs.com/support/pages/support.aspx?ProductFamily=USB+Bridges">http://www.silabs.com/support/pages/support.aspx?ProductFamily=USB+Bridges</a></p></div>
</div>
<div class="sect2">
<h3 id="S_HowFindDeviceName">10.2. How to Find the Device Name for USB devices and set its write permission</h3>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/usb.jpg" alt="Note" />
</td>
<td class="content">When a user connects the dive computer by using a USB connector, usually
<em>Subsurface</em> will either propose a drop down list that contains the
correct device name (or mount point for the Uemis Zurich), or it will
disable the device select drop down if no device name is needed at
all. In the rare cases where this doesn’t work, here are some
instructions on ways to find out what the device name is:</td>
</tr></table>
</div>
<div class="paragraph"><div class="title">On Windows:</div><p>Simply try COM1, COM2, etc. The drop down list should contain all connected COM
devices.</p></div>
<div class="paragraph"><div class="title">On MacOS:</div><p>The drop down box should find all connected dive computers.</p></div>
<div class="paragraph"><div class="title">On Linux:</div><p>Try the following:</p></div>
<div class="ulist"><ul>
<li>
<p>
Disconnect the USB cable from the dive computer
</p>
</li>
<li>
<p>
Open a terminal
</p>
</li>
<li>
<p>
Type the command: <em>dmesg</em> and press enter
</p>
</li>
<li>
<p>
Plug in the USB cable of the dive computer
</p>
</li>
<li>
<p>
Type the command: <em>dmesg</em> and press enter
</p>
</li>
</ul></div>
<div class="paragraph"><p>Within the terminal, users should see a message similar to this one:</p></div>
<div class="literalblock">
<div class="content">
<pre><code>usb 2-1.1: new full speed USB device number 14 using ehci_hcd
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
ftdi_sio 2-1.1:1.0: FTDI USB Serial Device converter detected
usb 2-1.1: Detected FT232BM
usb 2-1.1: Number of endpoints 2
usb 2-1.1: Endpoint 1 MaxPacketSize 64
usb 2-1.1: Endpoint 2 MaxPacketSize 64
usb 2-1.1: Setting MaxPacketSize 64
usb 2-1.1: FTDI USB Serial Device converter now attached to ttyUSB3
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver</code></pre>
</div></div>
<div class="paragraph"><p>Users can see that in the third line from the bottom, the USB adapter is
detected and is connected to <code>ttyUSB3</code>. This information can now be used in
the import settings as <code>/dev/ttyUSB3</code>. This directs Subsurface to the correct
USB port.</p></div>
<div class="paragraph"><p>Ensuring you have write permission to the USB serial port:</p></div>
<div class="paragraph"><p>On Unix-like operating systems the USB ports can only be accessed by users who
are members
of the <code>dialout</code> group. If one is not root, one may not be a member of
that group and
will not be able to use the USB port. Let us assume one’s username is <em>johnB</em>.</p></div>
<div class="ulist"><ul>
<li>
<p>
As root, type: <code>usermod -a -G dialout johnB</code> (Ubuntu users: <code>sudo -a -G
dialout johnB</code>)
This makes johnB a member of the <code>dialout</code> group.
</p>
</li>
<li>
<p>
Type: <code>id johnB</code> This lists all the groups that johnB belongs to and
verifies that
the appropriate group membership has been created. The <code>dialout</code> group should
be listed
among the different IDs.
</p>
</li>
</ul></div>
<div class="paragraph"><p>With the appropriate device name (e.g. <code>dev/ttyUSB3</code>) and with write permission
to the USB
port, the dive computer interface can connect and one should be able to import
dives.</p></div>
</div>
<div class="sect2">
<h3 id="S_HowFindBluetoothDeviceName">10.3. Setting up bluetooth enabled devices</h3>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/bluetooth.jpg" alt="Note" />
</td>
<td class="content">For dive computers communicating through bluetooth like the Heinrichs
Weikamp Frog or the Shearwater Predator and Petrel there is a
different procedure to get the devices name to communicate with
<em>Subsurface</em>. In general it consists of these steps:</td>
</tr></table>
</div>
<div class="ulist"><ul>
<li>
<p>
enable bluetooth on your computer
</p>
</li>
<li>
<p>
pairing the device
</p>
</li>
</ul></div>
<div class="paragraph"><p>Do not forget to set your divecomputer in Bluetooth or upload mode before
Paring and Downloading logs. If you use a Shearwater Predator/Petrel just select
<em>Dive Log → Upload Log</em> and wait until you see the <em>Wait PC</em> message.</p></div>
<div class="paragraph"><div class="title">On Windows:</div><p>Bluetooth is most likely already enabled. For pairing the device choose
Control Panel→Bluetooth Devices→Add Wireless Device
This should bring up a dialog showing your dive computer (in Bluetooth mode) and
allowing to pair it. For bluetooth pairing of your dive computer refer to the
manufacturer’s user guide. The dive computer should then show up in the list of
Bluetooth devices and you may then right click on it and choose Properties→COM
Ports to identify the port used for your dive computer. If there are several
ports listed, use the one saying "Outgoing" instead of "Incoming".</p></div>
<div class="paragraph"><p>For downloading to <em>Subsurface</em>, the drop down list should contain this COM
port already. If not, enter it manually.</p></div>
<div class="paragraph"><p>Note: If you have issues downloading from your dive computer in other software
afterwards try to remove the pairing with your dive computer.</p></div>
<div class="paragraph"><div class="title">On MacOS:</div><p>Click on the Bluetooth symbol in the menu bar and select <em>Set up
Bluetooth Device…</em>. Make sure that your dive computer is in upload
mode; it should then show up in the list of devices. Select it and go
through the pairing process. This step should only be needed once for
initial setup.</p></div>
<div class="paragraph"><p>Once the pairing is completed the correct device will be shown in the
<em>Device or Mount Point</em> drop down in the <em>Subsurface</em> <strong>Import</strong> dialog.</p></div>
<div class="paragraph"><div class="title">On Linux</div><p>Ensure bluetooth is enabled on the <em>Subsurface</em> computer.
On most common distributions this should be true out of the box. If not then
depending on your system, running <code>initd</code> or <code>systemd</code>. This might be different
and also involve loading modules specific to your hardware. In case your system
is
running <code>systemd</code>, manually run <code>sudo systemctl start bluetooth.service</code> to
enable
it, in case of <code>initd</code>, run something like <code>sudo rc.config start bluetoothd</code> or
<code>sudo /etc/init.d/bluetooth start</code>.</p></div>
<div class="paragraph"><p>Pairing should be straight forward. Using Gnome3 for instance will show a
bluetooth icon in the upper right corner of the desktop where one selects <em>Set
up New Device</em>. This should show a dialog where one can select the
dive computer (in bluetooth mode) and pair it. For issues with PIN
setting try manually setting <em>0000</em>.</p></div>
<div class="paragraph"><p>One may also use a manual approach by using such commands:</p></div>
<div class="ulist"><ul>
<li>
<p>
<code>sudo hciconfig</code> - shows the bluetooth devices available on your
computer (not dive computer), most likely one will see a hci0, if not
try <em>sudo hcitool -a</em> to see inactive devices and try to run <em>sudo
hciconfig hci0 up</em> to bring them up
</p>
</li>
<li>
<p>
<code>sudo hcitool scanning</code>- use this to get a list of bluetooth enabled
client devices, look for the dive computer and remember the MAC
address shown there
</p>
</li>
<li>
<p>
<code>sudo bluez-simple-agent hci0 10:00:E8:C4:BE:C4</code> - this will pair
the dive computer with the bluetooth stack of the <em>Subsurface</em> computer, copy/paste
the MAC address from the output of <em>hcitool scanning</em>
</p>
</li>
</ul></div>
<div class="paragraph"><p>Unfortunately on Linux binding to a communication device has to be done
manually by running:</p></div>
<div class="ulist"><ul>
<li>
<p>
<code>sudo rfcomm bind /dev/rfcomm0 10:00:E8:C4:BE:C4</code> - bind the dive
computer to a communication device in the desktop computer, in case rfcomm is
already taken just use rfcomm1 or up, please copy/paste the MAC address
from the output of <em>hcitool scanning</em>, the MAC shown in here will not
work.
</p>
</li>
</ul></div>
<div class="paragraph"><p>For downloading dives in Subsurface one then has to specify <code>/dev/rfcomm0</code>
as device name to use.</p></div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_appendix_b_dive_computer_specific_information_for_importing_dive">11. APPENDIX B: Dive Computer specific information for importing dive</h2>
<div class="sectionbody">
<div class="paragraph"><p>information.</p></div>
<div class="sect2">
<h3 id="S_ImportUemis">11.1. Import from a Uemis Zurich</h3>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/iumis.jpg" alt="Note" />
</td>
<td class="content">Things are very similar to a normal USB-connected dive computer when
downloading dives from a Uemis Zurich
dive computer (one of the ones that recharge when
connected to the USB port). The main difference is that one does not enter a
device name, but instead the location where the UEMISSDA file system is
mounted once you connect the dive computer. On Windows this is a drive letter (
often <em>E:</em> or <em>F:</em>), on a Mac this is
<em>/Volumes/UEMISSDA</em> and on Linux systems this differs depending on the
distribution. On Fedora it usually is
<em>/var/run/media/<your_username>/UEMISSDA</em>. In all cases <em>Subsurface</em>
should suggest the correct location in the drop down list.</td>
</tr></table>
</div>
<div class="paragraph"><p>Once onehas selected this as device name one can download the
dives from the Uemis Zurich. One technical issue with the Uemis Zurich
download implementation (this is a firmware limitation, not a
<em>Subsurface</em> issue) is that one cannot download more than about 40-50
dives without running out of memory on the SDA. This will usually only
happen the very first time one downloads dives from the Uemis Zurich -
normally when downloading at the end of a day or even after a dive
trip, the capacity is sufficient. If <em>Subsurface</em> displays an error
that the dive computer ran out of space the solution is straight
forward. Disconnect the SDA, turn it off and on again, and reconnect
it. You can now retry (or start a new download session) and the
download will continue where it stopped previously. One
may have to do this more than once, depending on how many dives are
stored on the dive computer.</p></div>
<div class="paragraph"><p>At this point <em>Subsurface</em> downloads most of the information
stored on the SDA, including information about dive spots and
equipment. Buddy information is not yet downloadable.</p></div>
</div>
<div class="sect2">
<h3 id="S_ImportingDR5">11.2. Importing dives from Heinrichs Weikamp DR5</h3>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/HW_DR5.jpg" alt="Note" />
</td>
<td class="content">When mounted as a USB drive the Heinrichs Weikamp DR5 saves a single UDDF file
for every dive.
Mark all the dives you’d like to import or open.
Note: The DR5 does not seem to store gradient factors nor deco information, so
for <em>Subsurface</em> it is not possible to display them. Adjust the gradient
factors in the Tec Settings in <em>Subsurface</em> to generate a deco overlay in the _
Subsurface_ <strong>Dive Profile</strong> panel
to get deco displayed but please note that the deco calculated by <em>Subsurface</em>
will most likely differ from the one displayed on the DR5.</td>
</tr></table>
</div>
</div>
<div class="sect2">
<h3 id="_import_from_shearwater_predator_using_bluetooth">11.3. Import from Shearwater Predator using bluetooth</h3>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/predator.jpg" alt="Note" />
</td>
<td class="content">Using a Shearwater Predator you may be able to pair Bluetooth but then encounter
issues when downloading, showing errors like <em>Slip RX: unexp. SLIP END</em> on the
Predator.
This might also be seen, when using other dive log software and operating
systems than Linux. We have no detailed idea about the source and how to fix
this, but it is reported to be solved sometimes by one of these steps:</td>
</tr></table>
</div>
<div class="ulist"><ul>
<li>
<p>
use the bluetooth dongle which came with the Shearwater Predator instead of
the built-in one of your computer
</p>
</li>
<li>
<p>
switch to different bluetooth drivers for your hardware
</p>
</li>
<li>
<p>
switch off WiFi while using Bluetooth
</p>
</li>
</ul></div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_appendix_c_exporting_dive_log_information_from_external_dive_log_software">12. APPENDIX C: Exporting Dive log information from external dive log software.</h2>
<div class="sectionbody">
<div class="paragraph"><p>The import of dive log data from external dive log software is mostly performed
using
the dialogue found by selecting <em>Import</em> from the Main Menu, then clicking on
<em>Import Log Files</em>. This is a single-step process, more information about which
can be found
<a href="#Unified_import">here.</a>
However, in some cases, a two-step process may be required:</p></div>
<div class="ulist"><ul>
<li>
<p>
Export the forieign dive log data to format that is accessible from
<em>Subsurface</em>.
</p>
</li>
<li>
<p>
Import the accessible dive log data into <em>Subsurface</em>.
</p>
</li>
</ul></div>
<div class="paragraph"><p>This appendix provides some information about approaches to export dive log
data from foreign
dive log software. The procedures below mostly apply to Linux and/or Windows.</p></div>
<div class="sect2">
<h3 id="S_ImportingDivesSuunto">12.1. Exporting dives from <strong>Suunto Divemanager (DM3 and DM4)</strong></h3>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/suuntologo.jpg" alt="Note" />
</td>
<td class="content">Divemanager 3 (DM3) is an older version of the Suunto software. More recent
Suunto dive computers use Divemanager 4 (DM4). The
two versions of Divemanager use different methods and different file naming
conventions to export dive log data.</td>
</tr></table>
</div>
<div class="paragraph"><p><strong>Divemanager 3 (DM3):</strong></p></div>
<div class="ulist"><ul>
<li>
<p>
Start <em>Suunto Divemanager 3</em> and log in with the name containing the logs
</p>
</li>
<li>
<p>
Do not start the import wizard to import dives from the dive computer.
</p>
</li>
<li>
<p>
In the navigation tree on the left side of the program-window, select the appropriate
dives.
</p>
</li>
<li>
<p>
Within the list of dives, select the dives you would like to import later:
</p>
<div class="ulist"><ul>
<li>
<p>
To select certain dives: hold <em>ctrl</em> and click the dive
</p>
</li>
<li>
<p>
To select all dives: Select the first dive, hold down shift and
select the
last dive
</p>
</li>
</ul></div>
</li>
<li>
<p>
With the dives marked, use the program menu <em>File → Export</em>
</p>
</li>
<li>
<p>
The export pop-up will show
</p>
</li>
<li>
<p>
Within this pop-up, there is one field called Export Path.
</p>
<div class="ulist"><ul>
<li>
<p>
Click the browse button next to the field Export Path
</p>
<div class="ulist"><ul>
<li>
<p>
A file-manager like window pops up
</p>
</li>
<li>
<p>
Navigate to the directory or storing the
Divelog.SDE file
</p>
</li>
<li>
<p>
Optionally change the name of the file for saving
</p>
</li>
<li>
<p>
Click <em>Save</em>
</p>
</li>
</ul></div>
</li>
<li>
<p>
Back in the Export pop-up, press the button <em>Export</em>
</p>
</li>
</ul></div>
</li>
<li>
<p>
The dives are now exported to the file Divelogs.SDE.
</p>
</li>
</ul></div>
<div class="paragraph"><p><strong>Divemanager 4 (DM4):</strong></p></div>
<div class="paragraph"><p>To import divelog from <em>Suunto DM4</em>, one needs to locate the DM4 database
where the dives are stored. the user can either look for the original
database or take a backup of the dives. Both methods are described here.</p></div>
<div class="paragraph"><p>Locating the Suunto DM4 database:</p></div>
<div class="ulist"><ul>
<li>
<p>
Start Suunto DM4
</p>
</li>
<li>
<p>
Select <em>Help → About</em>
</p>
</li>
<li>
<p>
Click <em>Copy</em> after text <em>Copy log folder path to clipboard</em>
</p>
</li>
<li>
<p>
Now open Windows Explorer
</p>
</li>
<li>
<p>
Paste the address to the path box at the top of the File Explorer
</p>
</li>
<li>
<p>
The database is called DM4.db
</p>
</li>
</ul></div>
<div class="paragraph"><p>Backing up Suunto DM4:</p></div>
<div class="ulist"><ul>
<li>
<p>
Start Suunto DM4
</p>
</li>
<li>
<p>
Select <em>File - Create backup</em>
</p>
</li>
<li>
<p>
From the file menu select the location and name for the backup, we’ll
use DM4 in here with the default extension .bak
</p>
</li>
<li>
<p>
Click <em>Save</em>
</p>
</li>
<li>
<p>
The dives are now exported to the file DM4.bak
</p>
</li>
</ul></div>
</div>
<div class="sect2">
<h3 id="_exporting_from_mares_dive_organiser_v2_1">12.2. Exporting from Mares Dive Organiser V2.1</h3>
<div class="admonitionblock" id="Mares_Export">
<table><tr>
<td class="icon">
<img src="images/icons/mareslogo.jpg" alt="Note" />
</td>
<td class="content">Mares Dive Organiser is a Microsoft application. The dive log is kept as a
Microsoft SQL Compact Edition data base with a .SDF filename extension. The
data base includes all Dive Organiser-registered divers on the particular
computer and all Mares dive computers used. The safest way to obtain a copy
of the dive data base is to export the information to another compatible format
which can be imported into <em>Subsurface</em>.</td>
</tr></table>
</div>
<div class="ulist"><ul>
<li>
<p>
Within Dive Organiser, select
<em>Database → Backup</em> from the main menu and back up the data base to the desk
top.
This creates a zipped file DiveOrganiserxxxxx.dbf.
</p>
</li>
<li>
<p>
Rename the file to
DiveOrganiserxxxxx.zip. Inside the zipped directory is a file
<em>DiveOrganiser.sdf</em>.
</p>
</li>
<li>
<p>
Extract the <em>.sdf</em> file from the zipped folder to your Desktop.
</p>
</li>
</ul></div>
</div>
<div class="sect2">
<h3 id="S_ImportingDivinglog">12.3. Exporting dives from <strong>DivingLog 5.0</strong></h3>
<div class="admonitionblock">
<table><tr>
<td class="icon">
<img src="images/icons/divingloglogo.jpg" alt="Note" />
</td>
<td class="content">Unfortunately DivingLog XML files give us no
indication on the preferences set on one’s system. So in order for
<em>Subsurface</em> to be able to successfully import XML files from DivingLog
one first needs to ensure that DivingLog is configured
to use the Metric system (one can easily change this in <em>File →
Preferences → Units and Language</em> by clicking the <em>Metric</em>
button). Then do the following:</td>
</tr></table>
</div>
<div class="ulist"><ul>
<li>
<p>
In Divinglog open the <em>File → Export → XML</em> menu
</p>
</li>
<li>
<p>
Select the dives to export
</p>
</li>
<li>
<p>
Click on the export button and select the filename
</p>
</li>
</ul></div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_appendix_d_faqs">13. APPENDIX D: FAQs.</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="_subsurface_appears_to_miscalculate_gas_consumption_and_sac">13.1. Subsurface appears to miscalculate gas consumption and SAC</h3>
<div class="paragraph" id="SAC_CALCULATION"><p>Not really. What happens is that subsurface actually calculates gas
consumption differently - and better - than you expect.
In particular, it takes the incompressibility of the gas into account.
Traditionally, Gas consumption and SAC should be:
<code>consumption = tank size x (start pressure - end pressure)</code></p></div>
<div class="paragraph"><p>and that’s true for an ideal gas, and it’s what you get taught in dive theory.
But an "ideal gas" doesn’t actually exist, and real gases actually don’t compress
linearly with pressure. Also, you are missing the fact that one atmosphere of
pressure isn’t actually one bar.
So the <strong>real</strong> calculation is:</p></div>
<div class="paragraph"><p><code>consumption = (amount_of_air_at_beginning - amount_of_air_at_end)</code></p></div>
<div class="paragraph"><p>where the amount of air is <strong>not</strong> just "tank size times pressure in bar".
It’s a combination of: "take compressibility into account" (which is a fairly
small issue under 220 bar - you’ll see more differences when you do high-pressure
tanks with 300bar) and "convert bar to atm" (which is the majority of your discrepancy).
Remember: one ATM is ~1.013 bar, so without the compressibility, your gas use is:</p></div>
<div class="paragraph"><p><code>12.2*((220-100)/1.013)</code></p></div>
<div class="paragraph"><p>which is about 1445, not 1464. So there was 19 l too much in your simple
calculation that ignored the difference between 1 bar and one ATM.
The compressibility does show up above 200 bar, and takes that 1445 down
about eight liters more, so you really did use only about 1437 l of air at surface pressure.
The math details can be seen in dive.c:</p></div>
<div class="paragraph"><p><code>surface_volume_multiplier().</code></p></div>
<div class="paragraph"><p>The "if (bar > 200) bar = .." part is the compressibility - it’s an approximation,
but it’s a reasonably good one, and closer to reality than not doing it.
You can get the numbers you expect if you remove that, and turn the function into just:</p></div>
<div class="paragraph"><p><code>return pressure.mbar / 1000.0;</code></p></div>
<div class="paragraph"><p>but that would actually be wrong.
So be happy: your SAC really is better than your calculations indicated.
Or be sad: your cylinder contains less air than you thought it did.
And as mentioned, the "contains less air than you thought it did" really
starts becoming much more noticeable at high pressure. A 400 bar really does not
contain twice as much air as a 200 bar one. At lower pressures, air acts pretty much like an ideal gas.</p></div>
</div>
<div class="sect2">
<h3 id="_some_dive_profiles_have_time_discrepances_with_the_recorded_samples_from_my_dive_computer_8230">13.2. Some dive profiles have time discrepances with the recorded samples from my dive computer…</h3>
<div class="paragraph"><p><em>Subsurface</em> ends up ignoring surface time for many things (average depth, divetime, SAC, etc).
For example, if you end up doing a weight check (deep enough to trigger the "dive started")
but then come back up and wait five minutes for your buddies, your dive computer may say
that your dive is 50 minutes long - because you have fifty minutes worth of samples - but
subsurface will say it’s 45 minutes - because you were actually diving for 45 minutes.
It’s even more noticeable if you do things like divemastering the initial OW dives, when
you may stay in the water for a long time, but spend most of it at the surface. And then
you don’t want that to count as some kind of long dive”.</p></div>
</div>
</div>
</div>
</div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
Last updated 2014-02-22 08:52:15 PST
</div>
</div>
</body>
</html>
|