{"action":"closed","issue":{"url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/1659","labels_url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/1659/labels{/name}","comments_url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/1659/comments","events_url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/1659/events","html_url":"https://github.com/UV-CDAT/uvcdat/issues/1659","id":115027049,"number":1659,"title":"Add a minmax function to MV2 ?","user":{"login":"jypeter","id":2785573,"avatar_url":"https://avatars.githubusercontent.com/u/2785573?v=3","gravatar_id":"","url":"https://api.github.com/users/jypeter","html_url":"https://github.com/jypeter","followers_url":"https://api.github.com/users/jypeter/followers","following_url":"https://api.github.com/users/jypeter/following{/other_user}","gists_url":"https://api.github.com/users/jypeter/gists{/gist_id}","starred_url":"https://api.github.com/users/jypeter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jypeter/subscriptions","organizations_url":"https://api.github.com/users/jypeter/orgs","repos_url":"https://api.github.com/users/jypeter/repos","events_url":"https://api.github.com/users/jypeter/events{/privacy}","received_events_url":"https://api.github.com/users/jypeter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UV-CDAT/uvcdat/labels/cdms2","name":"cdms2","color":"2255ff"},{"url":"https://api.github.com/repos/UV-CDAT/uvcdat/labels/Enhancement","name":"Enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/UV-CDAT/uvcdat/labels/wontfix","name":"wontfix","color":"bfdadc"}],"state":"closed","locked":false,"assignee":{"login":"doutriaux1","id":2781425,"avatar_url":"https://avatars.githubusercontent.com/u/2781425?v=3","gravatar_id":"","url":"https://api.github.com/users/doutriaux1","html_url":"https://github.com/doutriaux1","followers_url":"https://api.github.com/users/doutriaux1/followers","following_url":"https://api.github.com/users/doutriaux1/following{/other_user}","gists_url":"https://api.github.com/users/doutriaux1/gists{/gist_id}","starred_url":"https://api.github.com/users/doutriaux1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doutriaux1/subscriptions","organizations_url":"https://api.github.com/users/doutriaux1/orgs","repos_url":"https://api.github.com/users/doutriaux1/repos","events_url":"https://api.github.com/users/doutriaux1/events{/privacy}","received_events_url":"https://api.github.com/users/doutriaux1/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/UV-CDAT/uvcdat/milestones/13","html_url":"https://github.com/UV-CDAT/uvcdat/milestones/3.0","labels_url":"https://api.github.com/repos/UV-CDAT/uvcdat/milestones/13/labels","id":1149580,"number":13,"title":"3.0","description":"Basically anything that is not 2.3 at this point.","creator":{"login":"doutriaux1","id":2781425,"avatar_url":"https://avatars.githubusercontent.com/u/2781425?v=3","gravatar_id":"","url":"https://api.github.com/users/doutriaux1","html_url":"https://github.com/doutriaux1","followers_url":"https://api.github.com/users/doutriaux1/followers","following_url":"https://api.github.com/users/doutriaux1/following{/other_user}","gists_url":"https://api.github.com/users/doutriaux1/gists{/gist_id}","starred_url":"https://api.github.com/users/doutriaux1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doutriaux1/subscriptions","organizations_url":"https://api.github.com/users/doutriaux1/orgs","repos_url":"https://api.github.com/users/doutriaux1/repos","events_url":"https://api.github.com/users/doutriaux1/events{/privacy}","received_events_url":"https://api.github.com/users/doutriaux1/received_events","type":"User","site_admin":false},"open_issues":89,"closed_issues":5,"state":"open","created_at":"2015-06-04T14:33:09Z","updated_at":"2015-11-12T01:30:29Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-11-04T10:57:37Z","updated_at":"2015-11-12T01:30:29Z","closed_at":"2015-11-12T01:30:29Z","body":"It could be useful (and nice for the user?) to add the *minmax* function to MV2\r\n\r\n```\r\n>>> type(v)\r\n<class 'cdms2.tvariable.TransientVariable'>\r\n\r\n>>> genutil.minmax(v)\r\n(-78.82099151611328, -0.19727173447608948)\r\n>>> vcs.minmax(v)\r\n(-78.82099151611328, -0.19727173447608948)\r\n\r\n>>> MV2.minmax(v)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nAttributeError: 'module' object has no attribute 'minmax'`\r\n```\r\n"}}