-
Notifications
You must be signed in to change notification settings - Fork 7
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
getting the positions of global n,m,l indices #66
Comments
Not sure if I understand, do you mean returning an array index based n,m,l,i,j,k? That would be the FIND_ROW2 macro. |
i mean, what is the position in lon/lat and depth for a given grid index.. |
I'm afraid a conversion like that is not in Ocean right now so you would have to infer it using member functions in TRIOS_Domain:
For a coordinate |
that's ok..there is also no way to retrieve the depth levels? (these are not evenly spaced) |
Sorry, no straightforward access to depth levels. But they follow from
Here only the |
ok, thanks( I already had that) - I think it would be nice to have direct (read) access; just to be sure of the values and also to have the bitwise exact values used in the code..its not super high priority at the moment though |
I think it would still be nice to have an interface for this implemented in i-emic though, instead of coding it inside of osume. I'm not sure if you have your own i-emic fork that you're working on. |
we don't use a seperate fork...& I agree!! |
what is the recommended way to get grid center positions from n,m,l from the c++ ocean class?
The text was updated successfully, but these errors were encountered: