Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saline lake stratification #105

Open
RichardLaBrie opened this issue Aug 28, 2020 · 2 comments
Open

Saline lake stratification #105

RichardLaBrie opened this issue Aug 28, 2020 · 2 comments

Comments

@RichardLaBrie
Copy link

Hi
I need to calculate the depth of each strata in my lakes. It works well for the majority of them, but I have few saline lakes in my dataset and the density gradient is driven by salinity instead of temperature (in attachment). For example in this lake, meta.depths gives me a metalimnion between 9.35 and 12.28 meters. This lake becomes hypoxic at 8 meters.

Is there a way to calculate it with density instead of temperature?

image

@lawinslow
Copy link
Member

Currently isn't supported. But salinity is an option in the water.density function,

water.density <- function(wtr, sal = wtr*0){

so you could update the layer functions to pass salinity through to the density calculation if you wanted to.

@boshek
Copy link
Contributor

boshek commented Aug 31, 2020

I've had some success with the split and merge algorithm for salinity gradients. You can at least try using it and see how well it does. It is susceptible to lower depth resolutions but worth a shot. I outlined its usage here:

https://cran.r-project.org/web/packages/rLakeAnalyzer/vignettes/sm_algorithm.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants