source: trunk/SRC/ToBeReviewed/CALCULS/fsfzpt.pro @ 114

Last change on this file since 114 was 114, checked in by smasson, 18 years ago

new compilation options (compile_opt idl2, strictarrsubs) in each routine

  • Property svn:executable set to *
File size: 689 bytes
Line 
1
2;+
3; Ice freezing point
4; ==================
5;  fsfzpt: freezing point of seawater in degrees celsius
6;       units : salinity        pfs       (ipss-78)
7;               pressure        pfp      decibars
8;               temperature     fszfpt   degrees celsius
9;               freezing pt
10;       reference : unesco tech. papers in the marine science no 28 1978
11;               eigth report jpots
12;               annex 6 freezing point of seawater F.J.Millero pp.29-35
13;       checkvalue: fsfzpt=-2.588567 deg.c,for s=40.0,p=500 decibars
14;-
15FUNCTION fsfzpt, pfs, pfp
16;
17  compile_opt idl2, strictarrsubs
18;
19  RETURN, ( -0.0575 + 1.710523e-3 * sqrt(pfs) - 2.154996e-4 * pfs  ) * pfs - 7.53e-4 * pfp
20END
Note: See TracBrowser for help on using the repository browser.