typo when converting oxygen units from mL to mmol

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
LauraB
Posts: 23
Joined: Mon Jul 30, 2007 9:13 pm
Location: Dalhousie University
Contact:

typo when converting oxygen units from mL to mmol

#1 Unread post by LauraB »

Hi all,

In fennel.h, the parameter l2mol is used to convert oxygen saturation concentration in mL/L to mmol/m3 and is defined

real(r8) :: l2mol = 1000.0_r8/22.9316_r8 ! liter to mol

But the molar volume of O2 is 22.3916 L/mol (see Garcia and Gordon, L&O, 1992, same source for the equations to calculate O2 saturation from temp and salinity). Therefore, I think the parameter should be instead l2mol = 1000.0_r8/22.3916_r8

Best,
Laura

Post Reply