depth2pressure.html 3.82 KB
 Pierre Cazenave committed Feb 01, 2018 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 `````` Description of depth2pressure
Home > utilities > depth2pressure.m

depth2pressure

PURPOSE

Pressure Computes pressure given the depth at some latitude

SYNOPSIS

function P80=depth2pressure(DPTH,XLAT)

DESCRIPTION

Pressure Computes pressure given the depth at some latitude           P=Pressure(D,LAT) gives the pressure P (dbars) at a depth D (m)           at some latitude LAT (degrees).            This probably works best in mid-latitude oceans, if anywhere!            Ref: Saunders, "Practical Conversion of Pressure to Depth",               J. Phys. Oceanog., April 1981.

CROSS-REFERENCE INFORMATION

This function calls:
This function is called by:

SOURCE CODE

0001 function P80=depth2pressure(DPTH,XLAT) 0002 % Pressure Computes pressure given the depth at some latitude 0003 %          P=Pressure(D,LAT) gives the pressure P (dbars) at a depth D (m) 0004 %          at some latitude LAT (degrees). 0005 % 0006 %          This probably works best in mid-latitude oceans, if anywhere! 0007 % 0008 %          Ref: Saunders, "Practical Conversion of Pressure to Depth", 0009 %              J. Phys. Oceanog., April 1981. 0010 % 0011  0012 %Notes: RP (WHOI) 2/Dec/91 0013 %         I copied this directly from the UNESCO algorithms. 0014  0015  0016 % CHECK VALUE: P80=7500.004 DBARS;FOR LAT=30 DEG., DEPTH=7321.45 METERS 0017  0018       PLAT=abs(XLAT*pi/180.); 0019       D=sin(PLAT); 0020       C1=5.92E-3+(D.*D)*5.25E-3; 0021       P80=((1-C1)-sqrt(((1-C1).^2)-(8.84E-6*DPTH)))/4.42E-6;
`````` Pierre Cazenave committed Feb 20, 2019 73 ``````
Generated on Wed 20-Feb-2019 16:06:01 by m2html © 2005
`````` Pierre Cazenave committed Feb 01, 2018 74 75 `````` ``````