press.m
author A.M. Thurnherr <athurnherr@yahoo.com>
Wed, 15 Apr 2015 09:55:34 +0000
changeset 16 54126cc9bb4a
parent 0 0a450563f904
permissions -rw-r--r--
IX_11beta set to Diana Cardoso for testing

function p = press(z)
%function p = press(z)
%C-------------------------------------------------------------------------------
%C
%C                            Function = PRESS
%C
%C     This computes pressure in decibars, given the depth in meters.           *
%C     Formula is from the GEOSECS operation group (See computer routine
%C     listings in the El Nino Watch Data Reports).
%C
%C-------------------------------------------------------------------------------

C1=  2.398599584e05;
C2=  5.753279964e10;
C3=  4.833657881e05;
ARG = C2 -  C3 * z;
p = C1 - sqrt( ARG );