Seawater Ice Air (SIA) version history

Version 3.01.2 (21 August 2015)

bug fix

SIA Library Module Air_Sea_4

Problem:

The vapour pressure of seawater is lower than that of pure water. If equilibria between seawater and humid air are investigated where the total pressure equals the vapour pressure of pure water, the iteration to calculate that equilibrium failed (Sea_Air_4, Public Function set_sea_air_eq_at_s_t_p and function calls depending thereon).

Error description:

Sea_Air_4, Public Sub set_it_ctrl_sea_air(), a default initial value of zero is assigned for the iteration of the air fraction if the total pressure equals the pure-water saturation pressure.

Bugfix(es):

In Sea_Air_4, Public Sub set_it_ctrl_sea_air(), any zero initial value of the dry-air fraction is replaced by a value of 1E-6.

Version 3.01.1 (21 July 2015)

SIA (Version 3.01.1) - Visual Basic

bug fix

SIA Library Module Sea_3d

Problem:

If salinity is calculated from density of freshwater by calling the Public Function sea_sa_si(), the iteration starting from default values may run in temporarily negative salinity and then stop with an error message. This can be avoided by setting a lower initial salinity by calling set_it_ctrl_salinity(). However, currently this call does not change the starting value of the iteration because of a code bug.

The bug is only in the VB version of SIA, not in the Fortran version.

Error description:

Calling set_it_ctrl_salinity() does not change the starting value of the salinity for subsequent iteration processes.

Bugfix(es):

Sea_3d, Public Sub set_it_ctrl_salinity(ByVal key As String, ByVal value As Double)

Replace the VB code line:

Select Case CLng(value)

by,

Select Case value

Version 3.01 (29 July 2013)

SIA (Version 3.01) - FORTRAN
SIA (Version 3.01) - Visual Basic

bug fix

SIA Library Module Sea_Air_4

Problem:

The vapour pressure of seawater is lower than that of pure water.

If equilibria between seawater and humid air are investigated where the total pressure is lower than the vapour pressure of pure water, the iteration to calculate that equilibrium failed (Sea_Air_4, Public Function set_sea_air_eq_at_s_t_p and function calls depending thereon).

Error description:

Sea_Air_4, Private Function aux_airfraction_si() returned an ErrorReturn if the given pressure was below the pure-water vapour pressure at the given temperature

Sea_Air_4, Public Sub set_it_ctrl_sea_air() did not assign an initial value for the iteration of the air fraction if that initial value was chosen to be less than 0.5

Bugfix(es):

Sea_Air_4, Private Function aux_airfraction_si() returns 1E-6 if the given pressure is below the pure-water vapour pressure at the given temperature

Sea_Air_4, Public Sub set_it_ctrl_sea_air() accepts any non-zero initial values for the iteration of the air fraction, the temperature and the pressure

Version 3.0 (31 January 2012)

SIA (Version 3.0) - FORTRAN
SIA (Version 3.0) - Visual Basic

the Absolute Salinity Anomaly takes into account evaporation and dilution

Version 1.1 (3 November 2011)

SIA (Version 1.1) - FORTRAN
SIA (Version 1.1) - Visual Basic

Version 1.0

SIA (Version 1.0) - FORTRAN
SIA (Version 1.0) - Visual Basic