Improvements for the Salting Codes
current suggestions
This package needs much help. It's riddled with hardwired crap. Give it the once over.
Find a robust method for matching T/S relations.
Most likely seem to be to match the potential density as a function of depth. The salinity is then
S
xbts
= S
ctd
+
a
ctd
b
ctd
( T
xbt
- T
ctd
)
while the associated error is
e
s
xbts
=
é
ê
ë
|
r
ctd
-
r
xbts
|
r
xbts
b
xbts
ù
ú
û
rms
+
é
ê
ë
r
ctd
a
ctd
r
xbts
b
xbts
ù
ú
û
rms
e
t
ctd
+
é
ê
ë
r
ctd
b
ctd
r
xbts
b
xbts
ù
ú
û
rms
e
s
ctd
+
é
ê
ë
a
xbts
b
xbts
ù
ú
û
rms
e
t
xbts
Consult with WGL. Decide how many of the following parameter statements can be defined off of
param_hydro.h
. Any equivalence possibilities?
ck_stability.F:68: parameter ( np = 10000 )
getts.F:32: parameter (ndp = 4500 ,nprof = 1000)
salting.F:25: parameter (maxpts=5000,maxcasts=558,iunit=15)
on the IRIS, this routine choked with the previous
maxcasts=1000
. Look into
not
keeping all data in memory.
spline.F:28: parameter ( nmax = 10000 )
Consider incorporating the CJL/PFJL stability restrictions.