-
Notifications
You must be signed in to change notification settings - Fork 40
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
Bug in derived.py for uv_geostrophic function of XROMS #63
Comments
@hetland Can you take a look at this? |
Yup, these are indeed backwards. We put that in since we figured it would be useful, but we never used it for our work. @ak11283 Do you want to fix it and send in a pull request? |
Hi Rob and Kristen, Thanks for your reply. Yes, shall fix it as soon as possible and shall send in a pull request. |
Hi @ak11283, there is now a new release of xroms on pypi (v0.6.0) that has this change. Please check it out! It will soon be available on conda-forge, too. |
Dear All,
I started to analyze my CROCO output by using XROMS. Really I loved it, it is amazing for calculation of several physical variables in a very efficient and smart way specially for curvilinear grid system.
Recently, I tried to calculate the geostrophic current and I found that in the derived.py the surface zonal geostrophic current are calculated as
ug = (-g * dzetadxi / to_u(f, xgrid, hboundary=hboundary, hfill_value=hfill_value).
However in ROMS the xi represent the X direction and eta represent the Y direction so basically the derivative of zeta with respect to xi shall represent vg instead of ug.
It is my understanding, if some thing I am missing please correct me.
Thank you.
Anurag
The text was updated successfully, but these errors were encountered: