-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problems computing dynamic heigth anomaly #14
Comments
Please try the following. SA = [34.7118, 34.8915, 35.0256, 34.8472, 34.7366, 34.7324]
CT = [28.8099, 28.4392, 22.7862, 10.2262, 6.8272, 4.3236]
p = [10.0, 50, 125, 250, 600, 1000]
p_ref = 1000.0
dyn = zeros(length(SA)) # calculated dynamic hight anomaly
gsw_geo_strf_dyn_height(SA, CT, p, p_ref, length(SA), dyn) |
I tried the suggestion of @kouketsu, but the result is unexpected to me.
I was expecting an Array with the same size of SA or CT. |
Please check |
@kouketsu I did not understand the comment inside the code you suggested previouly! I am sorry As you say the Thanks a lot! |
Hi! Thank you for make GSW available for Julia.
I am trying to compute the dynamic height anomaly using the wrapper function
gsw_geo_strf_dyn_height
.The data I am using to test is from the official toolbox reference. The steps I am using are as follow:
This results in the following error:
I think I should provide two arguments more, but I was expecting that they were obtained by the wrapper based on the lines 10-11 in wrappers.jl. So, I am wondering what I missed in the use of the
gsw_geo_strf_dyn_height
wrapper function.Thank you in advance
The text was updated successfully, but these errors were encountered: