{"action":"created","issue":{"url":"https://api.github.com/repos/StrikeNP/trac_test/issues/153","repository_url":"https://api.github.com/repos/StrikeNP/trac_test","labels_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/153/comments","events_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/153/events","html_url":"https://github.com/StrikeNP/trac_test/issues/153","id":330417212,"node_id":"MDU6SXNzdWUzMzA0MTcyMTI=","number":153,"title":"Write utility to ensure budgets balance (Trac #153)","user":{"login":"StrikeNP","id":2577059,"node_id":"MDQ6VXNlcjI1NzcwNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2577059?v=4","gravatar_id":"","url":"https://api.github.com/users/StrikeNP","html_url":"https://github.com/StrikeNP","followers_url":"https://api.github.com/users/StrikeNP/followers","following_url":"https://api.github.com/users/StrikeNP/following{/other_user}","gists_url":"https://api.github.com/users/StrikeNP/gists{/gist_id}","starred_url":"https://api.github.com/users/StrikeNP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrikeNP/subscriptions","organizations_url":"https://api.github.com/users/StrikeNP/orgs","repos_url":"https://api.github.com/users/StrikeNP/repos","events_url":"https://api.github.com/users/StrikeNP/events{/privacy}","received_events_url":"https://api.github.com/users/StrikeNP/received_events","type":"User","site_admin":false},"labels":[{"id":958019852,"node_id":"MDU6TGFiZWw5NTgwMTk4NTI=","url":"https://api.github.com/repos/StrikeNP/trac_test/labels/Migrated%20from%20Trac","name":"Migrated from Trac","color":"FFFFFF","default":false},{"id":958042692,"node_id":"MDU6TGFiZWw5NTgwNDI2OTI=","url":"https://api.github.com/repos/StrikeNP/trac_test/labels/task","name":"task","color":"FFFFFF","default":false},{"id":958042903,"node_id":"MDU6TGFiZWw5NTgwNDI5MDM=","url":"https://api.github.com/repos/StrikeNP/trac_test/labels/utilities","name":"utilities","color":"FFFFFF","default":false},{"id":958050827,"node_id":"MDU6TGFiZWw5NTgwNTA4Mjc=","url":"https://api.github.com/repos/StrikeNP/trac_test/labels/vondeyle@uwm.edu","name":"vondeyle@uwm.edu","color":"FFFFFF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-06-07T20:07:16Z","updated_at":"2018-06-08T08:13:18Z","closed_at":null,"author_association":"OWNER","body":"It would be nice to have a utility script that ensures that the budgets output by CLUBB balance.  There is a budget equation for each variable in the _zt and _zm files that contain \"_bt\".\n\nThe script should check that the left-hand side equals the right-hand side of all our budget equations.  I.e., check that \n```|rtm_bt - rtm_rhs| \n        <\n     rt_tol/(time_after-time_before)```.\n\nThe units for all terms in the equation need to be the same; for instance, for the um budget, use w_tol.\n\nSome sense of the magnitude of the errors to expect can be found in ticket #154.\n\nAdditionally, the script should check that, e.g., rtm_bt = (rtm_after - rtm_before)/(time_after-time_before).\n\nFor now, choose a timestep at which to do all these budget checks, but in the future, we might want to average over an extended time interval.  Or we might want to allow the user the flexibility to choose an arbitrary time interval.\n\nIdeally, this script would be like plotgen in that it could be run manually as well as nightly.\n\nIt should output the results of the test as text.  Otherwise, perhaps it could incorporated into Bitten, with a simple pass or fail criterion.\n\nUse find_grads_differences.m as a template.  It could be written in MATLAB or Python.\n\nAttachments:\n\nhttp://carson.math.uwm.edu/trac/clubb/attachment/ticket/153/checkBudgetAnalysis.txt\nhttp://carson.math.uwm.edu/trac/clubb/attachment/ticket/153/NcmFix2011-1-10.maff\n\nMigrated from http://carson.math.uwm.edu/trac/clubb/ticket/153\n```json\n{\n    \"status\": \"closed\", \n    \"changetime\": \"2011-03-16T20:59:17\", \n    \"description\": \"It would be nice to have a utility script that ensures that the budgets output by CLUBB balance.  There is a budget equation for each variable in the _zt and _zm files that contain \\\"_bt\\\".\\n\\nThe script should check that the left-hand side equals the right-hand side of all our budget equations.  I.e., check that \\n{{{|rtm_bt - rtm_rhs| \\n        <\\n     rt_tol/(time_after-time_before)}}}.\\n\\nThe units for all terms in the equation need to be the same; for instance, for the um budget, use w_tol.\\n\\nSome sense of the magnitude of the errors to expect can be found in ticket #154.\\n\\nAdditionally, the script should check that, e.g., rtm_bt = (rtm_after - rtm_before)/(time_after-time_before).\\n\\nFor now, choose a timestep at which to do all these budget checks, but in the future, we might want to average over an extended time interval.  Or we might want to allow the user the flexibility to choose an arbitrary time interval.\\n\\nIdeally, this script would be like plotgen in that it could be run manually as well as nightly.\\n\\nIt should output the results of the test as text.  Otherwise, perhaps it could incorporated into Bitten, with a simple pass or fail criterion.\\n\\nUse find_grads_differences.m as a template.  It could be written in MATLAB or Python.\", \n    \"reporter\": \"nielsenb@uwm.edu\", \n    \"cc\": \"vlarson@uwm.edu, roehl@uwm.edu\", \n    \"resolution\": \"fixed\", \n    \"_ts\": \"1300309157000000\", \n    \"component\": \"utilities\", \n    \"summary\": \"Write utility to ensure budgets balance\", \n    \"priority\": \"minor\", \n    \"keywords\": \"\", \n    \"time\": \"2009-07-29T22:56:33\", \n    \"milestone\": \"\", \n    \"owner\": \"vondeyle@uwm.edu\", \n    \"type\": \"task\"\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/StrikeNP/trac_test/issues/comments/395685200","html_url":"https://github.com/StrikeNP/trac_test/issues/153#issuecomment-395685200","issue_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/153","id":395685200,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTY4NTIwMA==","user":{"login":"StrikeNP","id":2577059,"node_id":"MDQ6VXNlcjI1NzcwNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2577059?v=4","gravatar_id":"","url":"https://api.github.com/users/StrikeNP","html_url":"https://github.com/StrikeNP","followers_url":"https://api.github.com/users/StrikeNP/followers","following_url":"https://api.github.com/users/StrikeNP/following{/other_user}","gists_url":"https://api.github.com/users/StrikeNP/gists{/gist_id}","starred_url":"https://api.github.com/users/StrikeNP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrikeNP/subscriptions","organizations_url":"https://api.github.com/users/StrikeNP/orgs","repos_url":"https://api.github.com/users/StrikeNP/repos","events_url":"https://api.github.com/users/StrikeNP/events{/privacy}","received_events_url":"https://api.github.com/users/StrikeNP/received_events","type":"User","site_admin":false},"created_at":"2018-06-08T08:13:18Z","updated_at":"2018-06-08T08:13:18Z","author_association":"OWNER","body":"Trac update at 2010/08/12 at 18:32\n\nnielsenb@uwm.edu commented:\n\nReplying to [comment:8 vlarson@…]:\n> Brandon (and Ryan), what is the best way to install and maintain the same version of !NumPy on all group computers at UWM?  Should we use RPM?  Or a virtual environment?  Cavyn is creating a utility script that we want everybody in the group (and possibly even users outside the group) to be able to use.  We may want to add other Python packages later.\n\n\nVirtual environments are the right answer. There is a fairly high time cost to pay upfront though, as to get the most out of virtual environments you want to make them easy to use. That means somebody will have to create a setup.py file to make setting them up quick. Ryan has experience with these so he can probably provide some good documentation links for setting up a setup.py file.\n\nIf the script is intended to be run nightly there may be some tricks that will have to be employed to activate the virtual environment, but I'm not sure.\n\n"}}
{"actor":{"display_login":"StrikeNP"}}