-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
HI! I am finding a problem when calculating the thermocline depth of a temperature profile in R. Here it goes:
wtr = c(13.9, 13.8, 13.7, 13.7, 13.5, 13.3, 13.1, 13.0, 12.9, 12.8)
water.density(wtr)
[1] 999.2871 999.3007 999.3143 999.3143 999.3411 999.3674 999.3931 999.4059 999.4184 999.4309
depths = c(0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5)
thermo.depth(wtr, depths, Smin = 0.5, seasonal = TRUE, mixed.cutoff = 1)
[1] 1.991029
I don't understand why it finds a thermocline at 1.99 m with the Smin=0.5 condition. I also tried with really high and low Smin numbers and the result is the same, do someone know how to fix that?
I would really appreciate the help, thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels