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

updates docs for latitude units #1017

Merged
merged 1 commit into from Mar 21, 2019
Merged

Conversation

kgoebber
Copy link
Collaborator

This PR updates the documentation of kinematic calculations to be clear that latitudes are needed in either radians or as an appropriately united array. Fixes issue #1010. Comments on a different formation of the wording is welcome.

@@ -604,7 +604,7 @@ def absolute_vorticity(u, v, dx, dy, lats, dim_order='yx'):
The grid spacing(s) in the y-direction. If an array, there should be one item less than
the size of `u` along the applicable axis.
lats : (M, N) ndarray
latitudes of the wind data
latitudes of the wind data in radians or appropriately united
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"in radians or with appropriate unit information attached"? We've used the attached idea elsewhere. I'm not sure of the proper spelling of "unit-ed"..."united"? The latter is spelled like the airline. I'm not sure if we're talking homographs or not.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that is exactly what I was thinking about when I was writing the initial draft and didn't like it too much either. I've implemented your version, which I think is still relatively succinct.

@dopplershift dopplershift added this to the 0.11 milestone Mar 21, 2019
@dopplershift dopplershift added Type: Bug Something is not working like it should Area: Docs Affects documentation labels Mar 21, 2019
@dopplershift dopplershift merged commit bf1b701 into Unidata:master Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Docs Affects documentation Type: Bug Something is not working like it should
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants