Open Source Decompression Software

Please register or login

Welcome to ScubaBoard, the world's largest scuba diving community. Registration is not required to read the forums, but we encourage you to join. Joining has its benefits and enables you to participate in the discussions.

Benefits of registering include

  • Ability to post and comment on topics and discussions.
  • A Free photo gallery to share your dive photos with the world.
  • You can make this box go away

Joining is quick and easy. Log in or Register now!

ozymandium

Registered
Messages
5
Reaction score
2
Location
Alabama, US
# of dives
100 - 199
Hi friends,

I'm looking for recommendations for open source software libraries with decompression models. Any and all recommendations are welcome. Three that have been really great resources thus far are decotengu, dipplanner and subsurface.

Baker's original Fortran code for VPM is hosted on decompression.org, but I'm not able to access it for whatever reason. Anyone know an alternate repository that hosts it?

Cheers!
 
@tursiops Thanks! Do you happen to know if anyone has created bindings for interoperability with modern languages?
 
Yeah, Github doesn't seem to have anything. Presumably the dive computer companies would have rewritten it from scratch in C, but friends in Aerospace say that there's tons of legacy systems still running on Fortran 77.
 
C# translated :wink:
 

Attachments

  • DecoCalc.zip
    6 KB · Views: 150
Whole content from ftp://decompression.org/Baker :D
 

Attachments

  • Erik Baker's Fortran Source Code.zip
    4.1 MB · Views: 198
There are Python bindings for Fortran. That would be my approach.
 
I only tried to run Erik Baker's code once, gcc-gfortran ran it just fine after I changed the one MS-special operator to the standard one. I expect the rest will work equally well.

Personally I'd rewrite it in python (or go or rust) instead of using bindings, but I suspect VPM might be a bit hairy.
 
https://www.shearwater.com/products/teric/

Back
Top Bottom