Lampiran 6. Prinsip kerja perhitungan perangkat lunak ODV Schlitzer, 2002
1. angle - SUBROUTINE ANGLEARC, IDEG, MIN, SEC
Converts an latitude or longitude angle from arc seconds to degrees, min
and sec. Negative angles are assumed to be west of Greenwich or south of
equator. input:
ARC [real] - angle to be converted arc seconds output:
IDEG [int] - degrees MIN [int] - minutes
SEC [real] - seconds 2. atg - REAL FUNCTION ATGS,T,P
calculates the adiabatic suhue change partial derivative of suhue wrt pressure with no exchange for a water parcel
at a given suhue, salinity and pressure. based on reference, Bryden,H.,1973, Deep-Sea Res., 20, 401-
408
input: S [real] - salinity PSU
T [real] - suhue deg C P [real] - pressure decibars
output: ATG [real] - partial deriv of T wrt P. deg. C per decibar
3. density - SUBROUTINE DENSITY PRESS,TEMP,DEWPT,DENS,N calculates air density from given values of suhue and
pressure. effect of humidity are neglected as being small. This works on
an array of values. Missing input data must be given the value 1.0e30.
input: N [integer] - number of elements in the
input arrays PRESS [real array of size N ] - air pressure millibars
TEMP [real array of size N ] - air suhue deg C DEWPT [real array of size N ] - dew point suhue deg C
[not used] output:
DENS [real array of size N ] - air density kg per cubic meter
4. depth - REAL FUNCTION DEPTHP,LAT calculates the depth for a given pressure and latitude using
the method of Saunders and Fofonoff, Deep-Sea Res., 1976, 23, 109-111.
uses the 1980 equation of state.
input: P [real] - pressure decibars
Lampiran 6. Lanjutan
LAT [real] - latitude degrees output:
DEPTH [real] - depth meters 5. distance - SUBROUTINE
DISTANCELAT1,LONG1,LAT2,LONG2,DIST calculates the distance between two points on the earths
mean surface specified by latitude and longitude.
C A SUBROUTINE TO CALCULATE DISTANCE BETWEEN C TWO POINTS GIVEN THE LATITUDE AND LOGITUDE OF EACH
input: LAT1 [real] - latitude of the first point decimal
degrees LONG1 [real] - longitude of the first point decimal
degrees LAT2 [real] - latitude of the second point decimal
degrees
LONG2 [real] - longitude of the second point decimal degrees
output: DIST [real] - distance along earths surface kilometers
5. dva - FUNCTION DVAP,T,S calculates specific volume anomaly. Calls routine svan, so