.isopycnal_TS.theta0
author Andreas Thurnherr <ant@ldeo.columbia.edu>
Mon, 13 Apr 2020 11:06:22 -0400
changeset 40 c1803ae2540f
parent 39 56bdfe65a697
permissions -rw-r--r--
.

#======================================================================
#                    . I S O P Y C N A L _ T S . T H E T A 0 
#                    doc: Mon Dec 19 09:43:02 2005
#                    dlm: Mon Dec 19 13:38:50 2005
#                    (c) 2005 A.M. Thurnherr
#                    uE-Info: 21 42 NIL 0 0 72 2 2 4 NIL ofnI
#======================================================================

# calculate in-situ temperature at surface given theta2

# HISTORY:
#	Dec 19, 2005: - created

require "$ANTS/libEOS83.pl";				# load equation of state

$temperature_fname = 'theta0';

sub temperature($$)
{
	my($salin,$potemp) = @_;
	return &temp($salin,$potemp,$P{press},0);
}