{"action":"created","comment":{"url":"https://api.github.com/repos/Unidata/MetPy/pulls/comments/199220223","pull_request_review_id":133301610,"id":199220223,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTIyMDIyMw==","diff_hunk":"@@ -2155,3 +2155,89 @@ def dewpoint_from_specific_humidity(specific_humidity, temperature, pressure):\n     return dewpoint_rh(temperature, relative_humidity_from_specific_humidity(specific_humidity,\n                                                                              temperature,\n                                                                              pressure))\n+\n+\n+@exporter.export\n+@preprocess_xarray\n+@check_units('[length]/[time]', '[pressure]', '[temperature]')\n+def vertical_velocity_pressure(w, pressure, temperature, mixing=0):\n+    r\"\"\"Calculate omega from w assuming hydrostatic conditions.\n+\n+    This function converts vertical velocity with respect to height :math:`\\left(w = \\frac{Dz}{Dt}\\right)` to that\n+    with respect to pressure :math:`\\left(\\omega = \\frac{Dp}{Dt}\\right)` assuming hydrostatic conditions","path":"metpy/calc/thermo.py","position":13,"original_position":13,"commit_id":"a9d971709105044eaa717166774afc25a31f2c7e","original_commit_id":"a9d971709105044eaa717166774afc25a31f2c7e","user":{"login":"stickler-ci","id":16011037,"node_id":"MDQ6VXNlcjE2MDExMDM3","avatar_url":"https://avatars3.githubusercontent.com/u/16011037?v=4","gravatar_id":"","url":"https://api.github.com/users/stickler-ci","html_url":"https://github.com/stickler-ci","followers_url":"https://api.github.com/users/stickler-ci/followers","following_url":"https://api.github.com/users/stickler-ci/following{/other_user}","gists_url":"https://api.github.com/users/stickler-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/stickler-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stickler-ci/subscriptions","organizations_url":"https://api.github.com/users/stickler-ci/orgs","repos_url":"https://api.github.com/users/stickler-ci/repos","events_url":"https://api.github.com/users/stickler-ci/events{/privacy}","received_events_url":"https://api.github.com/users/stickler-ci/received_events","type":"User","site_admin":false},"body":"E501 line too long (104 > 95 characters)","created_at":"2018-06-29T16:52:45Z","updated_at":"2018-06-29T16:52:45Z","html_url":"https://github.com/Unidata/MetPy/pull/876#discussion_r199220223","pull_request_url":"https://api.github.com/repos/Unidata/MetPy/pulls/876","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Unidata/MetPy/pulls/comments/199220223"},"html":{"href":"https://github.com/Unidata/MetPy/pull/876#discussion_r199220223"},"pull_request":{"href":"https://api.github.com/repos/Unidata/MetPy/pulls/876"}}},"pull_request":{"url":"https://api.github.com/repos/Unidata/MetPy/pulls/876","id":195904222,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1OTA0MjIy","html_url":"https://github.com/Unidata/MetPy/pull/876","diff_url":"https://github.com/Unidata/MetPy/pull/876.diff","patch_url":"https://github.com/Unidata/MetPy/pull/876.patch","issue_url":"https://api.github.com/repos/Unidata/MetPy/issues/876","number":876,"state":"open","locked":false,"title":"Add conversions between omega and w","user":{"login":"jthielen","id":3460034,"node_id":"MDQ6VXNlcjM0NjAwMzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3460034?v=4","gravatar_id":"","url":"https://api.github.com/users/jthielen","html_url":"https://github.com/jthielen","followers_url":"https://api.github.com/users/jthielen/followers","following_url":"https://api.github.com/users/jthielen/following{/other_user}","gists_url":"https://api.github.com/users/jthielen/gists{/gist_id}","starred_url":"https://api.github.com/users/jthielen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jthielen/subscriptions","organizations_url":"https://api.github.com/users/jthielen/orgs","repos_url":"https://api.github.com/users/jthielen/repos","events_url":"https://api.github.com/users/jthielen/events{/privacy}","received_events_url":"https://api.github.com/users/jthielen/received_events","type":"User","site_admin":false},"body":"This PR adds two basic equations that assume hydrostatic balance in order to convert between omega (Dp/Dt) and w (Dz/Dt). I've found that I need this in an example or two for cross section analysis, but it is likely useful more generally as well.\r\n\r\nOne main question I have with this: what to name the functions? The terms \"vertical velocity\" and \"vertical motion\" are used, but inconsistently, to refer to the height- and pressure-based terms. \"omega\" and \"w\" are the only consistent terms I've seen used, but if I recall correctly we try to avoid abbreviations like these.","created_at":"2018-06-19T17:34:56Z","updated_at":"2018-06-29T16:52:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30cbb7cef29a0687e621019fe7f0b138a4681186","assignee":null,"assignees":[],"requested_reviewers":[{"login":"dopplershift","id":221526,"node_id":"MDQ6VXNlcjIyMTUyNg==","avatar_url":"https://avatars2.githubusercontent.com/u/221526?v=4","gravatar_id":"","url":"https://api.github.com/users/dopplershift","html_url":"https://github.com/dopplershift","followers_url":"https://api.github.com/users/dopplershift/followers","following_url":"https://api.github.com/users/dopplershift/following{/other_user}","gists_url":"https://api.github.com/users/dopplershift/gists{/gist_id}","starred_url":"https://api.github.com/users/dopplershift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dopplershift/subscriptions","organizations_url":"https://api.github.com/users/dopplershift/orgs","repos_url":"https://api.github.com/users/dopplershift/repos","events_url":"https://api.github.com/users/dopplershift/events{/privacy}","received_events_url":"https://api.github.com/users/dopplershift/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":317073835,"node_id":"MDU6TGFiZWwzMTcwNzM4MzU=","url":"https://api.github.com/repos/Unidata/MetPy/labels/Area:%20Calc","name":"Area: Calc","color":"c7def8","default":false},{"id":202032114,"node_id":"MDU6TGFiZWwyMDIwMzIxMTQ=","url":"https://api.github.com/repos/Unidata/MetPy/labels/Type:%20Feature","name":"Type: Feature","color":"fad8c7","default":false}],"milestone":{"url":"https://api.github.com/repos/Unidata/MetPy/milestones/17","html_url":"https://github.com/Unidata/MetPy/milestone/17","labels_url":"https://api.github.com/repos/Unidata/MetPy/milestones/17/labels","id":2980564,"node_id":"MDk6TWlsZXN0b25lMjk4MDU2NA==","number":17,"title":"0.9","description":"MetPy 0.9 - Summer 2018 Release Estimated","creator":{"login":"jrleeman","id":325269,"node_id":"MDQ6VXNlcjMyNTI2OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/325269?v=4","gravatar_id":"","url":"https://api.github.com/users/jrleeman","html_url":"https://github.com/jrleeman","followers_url":"https://api.github.com/users/jrleeman/followers","following_url":"https://api.github.com/users/jrleeman/following{/other_user}","gists_url":"https://api.github.com/users/jrleeman/gists{/gist_id}","starred_url":"https://api.github.com/users/jrleeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrleeman/subscriptions","organizations_url":"https://api.github.com/users/jrleeman/orgs","repos_url":"https://api.github.com/users/jrleeman/repos","events_url":"https://api.github.com/users/jrleeman/events{/privacy}","received_events_url":"https://api.github.com/users/jrleeman/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":8,"state":"open","created_at":"2017-12-14T19:34:07Z","updated_at":"2018-06-19T17:34:57Z","due_on":"2018-08-15T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/Unidata/MetPy/pulls/876/commits","review_comments_url":"https://api.github.com/repos/Unidata/MetPy/pulls/876/comments","review_comment_url":"https://api.github.com/repos/Unidata/MetPy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Unidata/MetPy/issues/876/comments","statuses_url":"https://api.github.com/repos/Unidata/MetPy/statuses/a9d971709105044eaa717166774afc25a31f2c7e","head":{"label":"jthielen:omega-w-conversion","ref":"omega-w-conversion","sha":"a9d971709105044eaa717166774afc25a31f2c7e","user":{"login":"jthielen","id":3460034,"node_id":"MDQ6VXNlcjM0NjAwMzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3460034?v=4","gravatar_id":"","url":"https://api.github.com/users/jthielen","html_url":"https://github.com/jthielen","followers_url":"https://api.github.com/users/jthielen/followers","following_url":"https://api.github.com/users/jthielen/following{/other_user}","gists_url":"https://api.github.com/users/jthielen/gists{/gist_id}","starred_url":"https://api.github.com/users/jthielen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jthielen/subscriptions","organizations_url":"https://api.github.com/users/jthielen/orgs","repos_url":"https://api.github.com/users/jthielen/repos","events_url":"https://api.github.com/users/jthielen/events{/privacy}","received_events_url":"https://api.github.com/users/jthielen/received_events","type":"User","site_admin":false},"repo":{"id":108058581,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgwNTg1ODE=","name":"MetPy","full_name":"jthielen/MetPy","owner":{"login":"jthielen","id":3460034,"node_id":"MDQ6VXNlcjM0NjAwMzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3460034?v=4","gravatar_id":"","url":"https://api.github.com/users/jthielen","html_url":"https://github.com/jthielen","followers_url":"https://api.github.com/users/jthielen/followers","following_url":"https://api.github.com/users/jthielen/following{/other_user}","gists_url":"https://api.github.com/users/jthielen/gists{/gist_id}","starred_url":"https://api.github.com/users/jthielen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jthielen/subscriptions","organizations_url":"https://api.github.com/users/jthielen/orgs","repos_url":"https://api.github.com/users/jthielen/repos","events_url":"https://api.github.com/users/jthielen/events{/privacy}","received_events_url":"https://api.github.com/users/jthielen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jthielen/MetPy","description":"MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data.","fork":true,"url":"https://api.github.com/repos/jthielen/MetPy","forks_url":"https://api.github.com/repos/jthielen/MetPy/forks","keys_url":"https://api.github.com/repos/jthielen/MetPy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jthielen/MetPy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jthielen/MetPy/teams","hooks_url":"https://api.github.com/repos/jthielen/MetPy/hooks","issue_events_url":"https://api.github.com/repos/jthielen/MetPy/issues/events{/number}","events_url":"https://api.github.com/repos/jthielen/MetPy/events","assignees_url":"https://api.github.com/repos/jthielen/MetPy/assignees{/user}","branches_url":"https://api.github.com/repos/jthielen/MetPy/branches{/branch}","tags_url":"https://api.github.com/repos/jthielen/MetPy/tags","blobs_url":"https://api.github.com/repos/jthielen/MetPy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jthielen/MetPy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jthielen/MetPy/git/refs{/sha}","trees_url":"https://api.github.com/repos/jthielen/MetPy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jthielen/MetPy/statuses/{sha}","languages_url":"https://api.github.com/repos/jthielen/MetPy/languages","stargazers_url":"https://api.github.com/repos/jthielen/MetPy/stargazers","contributors_url":"https://api.github.com/repos/jthielen/MetPy/contributors","subscribers_url":"https://api.github.com/repos/jthielen/MetPy/subscribers","subscription_url":"https://api.github.com/repos/jthielen/MetPy/subscription","commits_url":"https://api.github.com/repos/jthielen/MetPy/commits{/sha}","git_commits_url":"https://api.github.com/repos/jthielen/MetPy/git/commits{/sha}","comments_url":"https://api.github.com/repos/jthielen/MetPy/comments{/number}","issue_comment_url":"https://api.github.com/repos/jthielen/MetPy/issues/comments{/number}","contents_url":"https://api.github.com/repos/jthielen/MetPy/contents/{+path}","compare_url":"https://api.github.com/repos/jthielen/MetPy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jthielen/MetPy/merges","archive_url":"https://api.github.com/repos/jthielen/MetPy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jthielen/MetPy/downloads","issues_url":"https://api.github.com/repos/jthielen/MetPy/issues{/number}","pulls_url":"https://api.github.com/repos/jthielen/MetPy/pulls{/number}","milestones_url":"https://api.github.com/repos/jthielen/MetPy/milestones{/number}","notifications_url":"https://api.github.com/repos/jthielen/MetPy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jthielen/MetPy/labels{/name}","releases_url":"https://api.github.com/repos/jthielen/MetPy/releases{/id}","deployments_url":"https://api.github.com/repos/jthielen/MetPy/deployments","created_at":"2017-10-24T00:56:00Z","updated_at":"2018-06-21T18:59:03Z","pushed_at":"2018-06-29T16:52:20Z","git_url":"git://github.com/jthielen/MetPy.git","ssh_url":"git@github.com:jthielen/MetPy.git","clone_url":"https://github.com/jthielen/MetPy.git","svn_url":"https://github.com/jthielen/MetPy","homepage":"https://unidata.github.io/MetPy","size":207083,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Unidata:master","ref":"master","sha":"934e06c9177f8235bb05f8bcfcf4edbb8e9e9cf7","user":{"login":"Unidata","id":613345,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxMzM0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/613345?v=4","gravatar_id":"","url":"https://api.github.com/users/Unidata","html_url":"https://github.com/Unidata","followers_url":"https://api.github.com/users/Unidata/followers","following_url":"https://api.github.com/users/Unidata/following{/other_user}","gists_url":"https://api.github.com/users/Unidata/gists{/gist_id}","starred_url":"https://api.github.com/users/Unidata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unidata/subscriptions","organizations_url":"https://api.github.com/users/Unidata/orgs","repos_url":"https://api.github.com/users/Unidata/repos","events_url":"https://api.github.com/users/Unidata/events{/privacy}","received_events_url":"https://api.github.com/users/Unidata/received_events","type":"Organization","site_admin":false},"repo":{"id":1409621,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA5NjIx","name":"MetPy","full_name":"Unidata/MetPy","owner":{"login":"Unidata","id":613345,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxMzM0NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/613345?v=4","gravatar_id":"","url":"https://api.github.com/users/Unidata","html_url":"https://github.com/Unidata","followers_url":"https://api.github.com/users/Unidata/followers","following_url":"https://api.github.com/users/Unidata/following{/other_user}","gists_url":"https://api.github.com/users/Unidata/gists{/gist_id}","starred_url":"https://api.github.com/users/Unidata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unidata/subscriptions","organizations_url":"https://api.github.com/users/Unidata/orgs","repos_url":"https://api.github.com/users/Unidata/repos","events_url":"https://api.github.com/users/Unidata/events{/privacy}","received_events_url":"https://api.github.com/users/Unidata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Unidata/MetPy","description":"MetPy is a collection of tools in Python for reading, visualizing and performing calculations with weather data.","fork":false,"url":"https://api.github.com/repos/Unidata/MetPy","forks_url":"https://api.github.com/repos/Unidata/MetPy/forks","keys_url":"https://api.github.com/repos/Unidata/MetPy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Unidata/MetPy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Unidata/MetPy/teams","hooks_url":"https://api.github.com/repos/Unidata/MetPy/hooks","issue_events_url":"https://api.github.com/repos/Unidata/MetPy/issues/events{/number}","events_url":"https://api.github.com/repos/Unidata/MetPy/events","assignees_url":"https://api.github.com/repos/Unidata/MetPy/assignees{/user}","branches_url":"https://api.github.com/repos/Unidata/MetPy/branches{/branch}","tags_url":"https://api.github.com/repos/Unidata/MetPy/tags","blobs_url":"https://api.github.com/repos/Unidata/MetPy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Unidata/MetPy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Unidata/MetPy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Unidata/MetPy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Unidata/MetPy/statuses/{sha}","languages_url":"https://api.github.com/repos/Unidata/MetPy/languages","stargazers_url":"https://api.github.com/repos/Unidata/MetPy/stargazers","contributors_url":"https://api.github.com/repos/Unidata/MetPy/contributors","subscribers_url":"https://api.github.com/repos/Unidata/MetPy/subscribers","subscription_url":"https://api.github.com/repos/Unidata/MetPy/subscription","commits_url":"https://api.github.com/repos/Unidata/MetPy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Unidata/MetPy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Unidata/MetPy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Unidata/MetPy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Unidata/MetPy/contents/{+path}","compare_url":"https://api.github.com/repos/Unidata/MetPy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Unidata/MetPy/merges","archive_url":"https://api.github.com/repos/Unidata/MetPy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Unidata/MetPy/downloads","issues_url":"https://api.github.com/repos/Unidata/MetPy/issues{/number}","pulls_url":"https://api.github.com/repos/Unidata/MetPy/pulls{/number}","milestones_url":"https://api.github.com/repos/Unidata/MetPy/milestones{/number}","notifications_url":"https://api.github.com/repos/Unidata/MetPy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Unidata/MetPy/labels{/name}","releases_url":"https://api.github.com/repos/Unidata/MetPy/releases{/id}","deployments_url":"https://api.github.com/repos/Unidata/MetPy/deployments","created_at":"2011-02-25T04:20:25Z","updated_at":"2018-06-24T15:51:09Z","pushed_at":"2018-06-29T16:52:21Z","git_url":"git://github.com/Unidata/MetPy.git","ssh_url":"git@github.com:Unidata/MetPy.git","clone_url":"https://github.com/Unidata/MetPy.git","svn_url":"https://github.com/Unidata/MetPy","homepage":"https://unidata.github.io/MetPy","size":200424,"stargazers_count":289,"watchers_count":289,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":136,"mirror_url":null,"archived":false,"open_issues_count":162,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":136,"open_issues":162,"watchers":289,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Unidata/MetPy/pulls/876"},"html":{"href":"https://github.com/Unidata/MetPy/pull/876"},"issue":{"href":"https://api.github.com/repos/Unidata/MetPy/issues/876"},"comments":{"href":"https://api.github.com/repos/Unidata/MetPy/issues/876/comments"},"review_comments":{"href":"https://api.github.com/repos/Unidata/MetPy/pulls/876/comments"},"review_comment":{"href":"https://api.github.com/repos/Unidata/MetPy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Unidata/MetPy/pulls/876/commits"},"statuses":{"href":"https://api.github.com/repos/Unidata/MetPy/statuses/a9d971709105044eaa717166774afc25a31f2c7e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"stickler-ci"}}