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

Last change on this file since 221 was 163, checked in by navarro, 18 years ago

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

  • Property svn:keywords set to Id
File size: 875 bytes
Line 
1;+
2; @file_comments
3;
4;
5; @categories
6;
7;
8; @param PFS
9;
10;
11; @param PFP
12;
13;
14; @returns
15;
16;
17; @uses
18;
19;
20; @restrictions
21;
22;
23; @examples
24;
25;
26; @history
27;
28;
29; @version
30; $Id$
31;
32; Ice freezing point
33; ==================
34;  fsfzpt: freezing point of seawater in degrees celsius
35;       units : salinity        pfs       (ipss-78)
36;               pressure        pfp      decibars
37;               temperature     fszfpt   degrees celsius
38;               freezing pt
39;       reference : unesco tech. papers in the marine science no 28 1978
40;               eigth report jpots
41;               annex 6 freezing point of seawater F.J.Millero pp.29-35
42;       checkvalue: fsfzpt=-2.588567 deg.c,for s=40.0,p=500 decibars
43;
44; @todo seb
45;
46;-
47FUNCTION fsfzpt, pfs, pfp
48;
49  compile_opt idl2, strictarrsubs
50;
51  RETURN, ( -0.0575 + 1.710523e-3 * sqrt(pfs) - 2.154996e-4 * pfs  ) * pfs - 7.53e-4 * pfp
52END
Note: See TracBrowser for help on using the repository browser.