0
|
1 |
#======================================================================
|
|
2 |
# L I B G A M M A . P L
|
|
3 |
# doc: Mon Mar 8 11:46:36 1999
|
|
4 |
# dlm: Tue Jan 2 11:27:11 2001
|
|
5 |
# (c) 1999 A.M. Thurnherr
|
|
6 |
# uE-Info: 17 40 NIL 0 0 72 0 2 4 ofnI
|
|
7 |
#======================================================================
|
|
8 |
|
|
9 |
# HISTORY:
|
|
10 |
# Sep 25, 2000: - finished implementation
|
|
11 |
# Jan 02, 2001: - updated documentation (here)
|
|
12 |
|
|
13 |
# NOTES:
|
|
14 |
# - gamma library stub to allow -L option
|
|
15 |
# - requires the perl interface of the (fortran library) gamma.a
|
|
16 |
# [/usr/local/src/gamma/perl-interface]
|
|
17 |
# - main use of this library: [gamma_n]
|
|
18 |
|
|
19 |
# SYNOPSIS:
|
|
20 |
# $gamma::temp_scale = &antsRequireParam(temp_scale);
|
|
21 |
# MUST DO THIS 1ST
|
|
22 |
# &gamma::gamma_n(S,T,P,lon,lat[,dg_lo,dg_hi])
|
|
23 |
# [$|@]S salinity
|
|
24 |
# [$|@]T temperature (scale in $gamma::temp_scale)
|
|
25 |
# [$|@]P pressure
|
|
26 |
# $lat latitude
|
|
27 |
# $lon longitude
|
|
28 |
# [$|\$|\@]dg_lo low end of error range
|
|
29 |
# [$|\$|\@]dg_lo high end of error range
|
|
30 |
# &gamma::gamma_n_lol(buf,S_f,T_f,P_f,gam_f,lon,lat[,dg_lo_f,dg_hi_f])
|
|
31 |
# @buf LoL containing columns for S,T,P,gamma[,dg_lo,dg_hi]
|
|
32 |
# $S_f salinity field
|
|
33 |
# $T_f temperature field
|
|
34 |
# $P_f pressure field
|
|
35 |
# $lat latitude
|
|
36 |
# $lon longitude
|
|
37 |
# $dg_lo_f low end of error range (field number)
|
|
38 |
# $dg_lo_f high end of error range (field number)
|
|
39 |
|
|
40 |
use gamma;
|
|
41 |
|
|
42 |
1;
|