Marc's Public Blog - Diving


vvv Click on the categories below to see other topic specific pages vvv

This is a collection of my blog entries and experiences with diving.
You can find all the pictures I've taken here, and read below for recountings of my more recent trips:

Table of Content for diving:

More pages: October 2026 September 2026 May 2026 April 2026 January 2026 December 2025 September 2025 June 2025 May 2025 January 2025 December 2024 September 2024 April 2024 October 2023 May 2023 December 2022 November 2021 October 2021 November 2019 December 2018 November 2018 June 2018 May 2018 December 2017 October 2017 April 2016 January 2016 July 2015 May 2015 January 2015 October 2014 June 2014 May 2014 January 2014 November 2013 February 2013 September 2012 June 2012 January 2011 September 2010 August 2010 May 2010 August 2009 January 2009 August 2008 February 2008 January 2007 November 2006 October 2006 January 2006 September 2005 August 2005 June 2004 January 2004 July 2003 January 2003



π 2026-10-18 01:01 in Diving, Linux
Subsurface is the best dive log software as it works on everything and was co-authored Linus Torvalds and Dirk Hohndel, both I've had the pleasure to dive with: https://subsurface-divelog.org/ .


On top of being open source and working on linux, both important to me, a huge plus is it works with a huge amount of dive computers and you keep your logs in the same software across all your computers and phones, synced in the cloud, and for free. If the dives have GPS locations, they are shown on a world map with a little red flag, and getting a world map full of little red flags, makes me happy :)

After my last dive trip in French Polynesia, I was 6 dives short of 1000, but I had hundreds of dives in subsurface that didn't have GPS locations. My Dive computers (all 3 of them) do not log GPS data, and ever since the old subsurface android client that would log GPS locations and sync them against dives in the cloud after the fact, went end of life, none of my dives had GPS locations anymore.

And yet, I had 40+ GPS GPX files from my garmin that is always running on my dive trips, so I knew just like I used to geotag my pictures with GPX files and date/time matching from the pictures EXIF data, the same was clearly possible with Subsurface, but when I asked, no one had done it (and to be fair, it's tedious code to write by hand).
Also, Subsurface does not keep track of timezones, but stores times in local time as this is what dive computers do (without storing timezone along with it, and even cameras took maybe more than 10 years before finally storing timezone data in the EXIF tag...).

So my goal was to just have most of my dives have a location on the map, I just wanted those little flags all over the world:


Now, I need to state right now, I didn't really care if the location was exact, hell if it's off by 12h and maybe 100km from the actual site for a few dives because the time was wrong on my dive computer, or the GPS info wasn't present around that hour, I'm still happy to have the little flag in the general location where the dive happened. I do of course prefer exact data and most of it is very precise, but I'm not going to be super sad if a few added red flags added 10 years later, are not exactly in the right place.
If this is not good for you, you can play with the --max-hours flag, and hope you never forgot to change the time in your dive computer each time you went to a different timezone (I know a few times, I did a few dives with the wrong time from the last part of the world I used to be in, but as I just said, I'm fine with close enough, as in just the correct side of the world :)

Ok, so now let's talk about the code. We now live in the word of AI, gemini came to the rescue (used in pro high mode). I did use my brain for a single good idea that we didn't know timezones for the times in subsurface, but we could use the GPS locations and with a timezone database (timezonefinder python module in pip), and convert UTC times in the GPS file to local times for each location, which will happily match with the local time in subsurface. For the rest, I spent about 1h with gemini to have it figure out the somewhat non obvious dive location and global site location meanings of the subversion ssrf files, and within 1h, got the end result below.

So no, I didn't write the code, all I had to do is make symlinks to all my GPX files that contained dive locations over the last 15 years, and run the code (did that a few times with testing revisions of the code until I was happy wit the end result)

You can get the code here: https://github.com/marcmerlin/ai-misc/tree/main/subsurface_divelog_dive_gps_sync_auto

sauron:~/gps/data/diving$ l *.gpx | head -3 lrwxrwxrwx 1 merlin merlin 27 Oct 18 22:06 20080202_Fiji_Diving.gpx -> ../20080202_Fiji_Diving.gpx lrwxrwxrwx 1 merlin merlin 33 Oct 18 22:09 20090811_Hawaii_Maui_Kauai.gpx -> ../20090811_Hawaii_Maui_Kauai.gpx lrwxrwxrwx 1 merlin merlin 32 Oct 18 22:13 20100529_Belize_Aggressor.gpx -> ../20100529_Belize_Aggressor.gpx*

sauron:~/gps/data/diving$ subsurface_divelog_dive_gps_sync_auto.py ~/marc.ssrf --gpx "*.gpx" --max-hours 12 Loading GPX files from pattern: *.gpx Initializing offline timezone engine... Calculated local timezones for 1398219 GPS points.

Dive #275 (Belise Aggressor III - Day 3) matched to Local GPX time 2010-05-31 07:09:36 [diff: 0:02:36]. Assigning GPS: 17.2137829 -87.6143720 Dive #276 (Belise Aggressor III) matched to Local GPX time 2010-05-31 10:34:57 [diff: 0:02:03]. Assigning GPS: 17.2134649 -87.6143339 Dive #279 (Belise Aggressor III - Day 4) matched to Local GPX time 2010-06-01 04:35:19 [diff: 0:04:41]. Assigning GPS: 17.2036230 -87.5416109 Dive #283 (Belise Aggressor III - Day 5) matched to Local GPX time 2010-06-02 04:33:53 [diff: 0:01:53]. Assigning GPS: 17.2156519 -87.6123730 (...) Dive #967 (Rangiroa Tiputa Pass) matched to Local GPX time 2026-09-30 14:44:48 [diff: 0:00:02]. Assigning GPS: -14.969145153 -147.623316413 Dive #981 (Fakarava South Pass) matched to Local GPX time 2026-10-06 09:10:00 [diff: 0:00:04]. Assigning GPS: -16.518651769 -145.460582804 Dive #983 (Fakarava North Pass) matched to Local GPX time 2026-10-07 08:16:54 [diff: 0:00:08]. Assigning GPS: -16.077915374 -145.713441521

Successfully auto-matched and added GPS data to 339 dive(s).

--- Dives Still Missing GPS Tags --- Dive #296: Heron Island Dive #297: Heron Island Dive #298: Heron Island Dive #328: San Diego Marissa Charters Dive #329: San Diego Marissa Charters Dive #330: San Diego Marissa Charters Dive #331: San Diego Marissa Charters Dive #332: San Diego Marissa Charters Dive #333: San Diego Marissa Charters Dive #458: Alore 11-1: Amet Knoll Dive #459: Alore 11-2: Pombo Island Dive #716: Dubai Aquarium

--- Unique Locations Missing GPS --- - Alore 11-1: Amet Knoll - Alore 11-2: Pombo Island - Dubai Aquarium - Heron Island - San Diego Marissa Charters

Total unique missing locations: 5

================================================= VERSION: v7 OUTPUT_FILE: updated_divelog.ssrf ================================================= sauron:~/gps/data/diving$

As a reminder, you can get the code here: https://github.com/marcmerlin/ai-misc/tree/main/subsurface_divelog_dive_gps_sync_auto

π 2026-10-06 01:01 in Diving, Frenchpolynesia

Just like Rangi, it had been 18 years since I was in Fakarava, but unfortuantely like last time, the weather was not good and out of 5 days of diving, 4 of them were at the same exact north pass (12 dives) and 9 of those dives were on the same exact sheltered reef, which was disappointing and got old. This was not something I could blame the dive centers for (Kaena Plongée and O2 Fakarava), there was just so much wind most of those days. the pass itself was very challenging to dive, or impossible.
Basically the season got bad one month earlier than it was supposed to, and land diving from Fakarava is just kind of risky due to the lack of diving options if the main sites are not easily reachable. In hindsight I should have skipped land based diving and gone straight to Aquatiki for a liveaboard instead, even if it's a small one that isn't very comfortable.

The first day, I was lucky enough to go to the South Pass, the only day weather made it possible (it was not feasiable even days after I left due to high wind and swells, making the traverse too difficult for a day trip), and got to see plenty of sharks:

long trip to south pass
long trip to south pass

finaly getting there
finaly getting there



we estimated around 100 sharks or so
we estimated around 100 sharks or so


the pontoon was great too
the pontoon was great too





The next 4 days (which were supposed to be 3, but the last day was meant to be a day trip to the south pass and pink sand beach which got cancelled), I got to dive the same exact north pass 12 times in a row, it's a good site, but it got a bit old...



a stonefish jammed up in there
a stonefish jammed up in there




The 3rd day, I moved to O2 Fakarava:









one fish does not belong, in there :)
one fish does not belong, in there :)

the napoleons were plentiful and not scared
the napoleons were plentiful and not scared

one turtle
one turtle

this one with the handing hair was special and rare
this one with the handing hair was special and rare


I found these hiding in a hole, and was told they hide to avoid being eaten
I found these hiding in a hole, and was told they hide to avoid being eaten


somehow these fish were fighting

These fish were interesting as they could change their color from black to white, at will:



Was able to get some of the skitish juvenile fishes:



this little guy was very skittish, but eventually got him, very pretty
this little guy was very skittish, but eventually got him, very pretty



And this lovely small boxfish:



We got lucky to have a couple of mantas come by, and one even got cleaned in front of us, giving us a better view:






Also, got to see Barracudas up close:







that courageous cleaning fish wsa going inside its mouth
that courageous cleaning fish wsa going inside its mouth

And that was it for fakarava, not bad dives, but frustrating to get stuck in the same place for 12 dives in a row due to weather...

The north pass was not filled with as many sharks as the south path, but the 3 dives we were allowed to do in the pass itself, plenty to be seen:


That was it for Fakarava. As far as dive shops, I can definitely recommend both Kaina Plongée run by Vincent and O2 Fakarava who both did their best to get the best dives possible despite the very marginal weather at times, including doing dives in the pass and retrieving us in very big swell at the edge of what was allowable, so for that I am thankful (3 different dives from the remaining 9 dives all at the same sole sheltered reef that ever dive shop was dropping their divers at).
In hindsight, I absolutely showld have gone with aquatiki again to have many more dive sites available, but I'm guessing that even for them, it must have been challenging in this kind of weather. Too bad global warming made summer bad weather come about a month earlier this year.


More pages: October 2026 September 2026 May 2026 April 2026 January 2026 December 2025 September 2025 June 2025 May 2025 January 2025 December 2024 September 2024 April 2024 October 2023 May 2023 December 2022 November 2021 October 2021 November 2019 December 2018 November 2018 June 2018 May 2018 December 2017 October 2017 April 2016 January 2016 July 2015 May 2015 January 2015 October 2014 June 2014 May 2014 January 2014 November 2013 February 2013 September 2012 June 2012 January 2011 September 2010 August 2010 May 2010 August 2009 January 2009 August 2008 February 2008 January 2007 November 2006 October 2006 January 2006 September 2005 August 2005 June 2004 January 2004 July 2003 January 2003

Contact Email