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

Transport and LCR funs can be generic and should be moved accordingly #17

Open
beth182 opened this issue May 10, 2024 · 1 comment
Open

Comments

@beth182
Copy link
Owner

beth182 commented May 10, 2024

ie plotting funs etc

@beth182
Copy link
Owner Author

beth182 commented May 11, 2024

double occurrence of:

high_vals = xr.where(ds > threshold, 1, 0)  # set all temps over threshold = 1; others to 0
summed_vals = high_vals.sum(dim='time')
# replace any 0 values with nan
summed_vals = summed_vals.where(summed_vals > 0)

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

No branches or pull requests

1 participant