{"action":"created","issue":{"url":"https://api.github.com/repos/rodrigo-caballero/CliMT/issues/3","labels_url":"https://api.github.com/repos/rodrigo-caballero/CliMT/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/rodrigo-caballero/CliMT/issues/3/comments","events_url":"https://api.github.com/repos/rodrigo-caballero/CliMT/issues/3/events","html_url":"https://github.com/rodrigo-caballero/CliMT/pull/3","id":117914384,"number":3,"title":"Changed all occurences of numpy.rank() to numpy.ndim()","user":{"login":"brian-rose","id":9097307,"avatar_url":"https://avatars.githubusercontent.com/u/9097307?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-rose","html_url":"https://github.com/brian-rose","followers_url":"https://api.github.com/users/brian-rose/followers","following_url":"https://api.github.com/users/brian-rose/following{/other_user}","gists_url":"https://api.github.com/users/brian-rose/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-rose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-rose/subscriptions","organizations_url":"https://api.github.com/users/brian-rose/orgs","repos_url":"https://api.github.com/users/brian-rose/repos","events_url":"https://api.github.com/users/brian-rose/events{/privacy}","received_events_url":"https://api.github.com/users/brian-rose/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-19T21:44:18Z","updated_at":"2015-12-21T03:16:20Z","closed_at":"2015-12-17T13:21:45Z","pull_request":{"url":"https://api.github.com/repos/rodrigo-caballero/CliMT/pulls/3","html_url":"https://github.com/rodrigo-caballero/CliMT/pull/3","diff_url":"https://github.com/rodrigo-caballero/CliMT/pull/3.diff","patch_url":"https://github.com/rodrigo-caballero/CliMT/pull/3.patch"},"body":"A very simple change:\r\nI replaced all occurrences of `numpy.rank()` with `numpy.ndim()` since `rank()` is deprecated in `numpy` version 1.9 and above (see <http://docs.scipy.org/doc/numpy/release.html>)\r\nThis suppresses an annoying warning message and presumably avoids future compatibility issues.\r\n\r\nBasically I'm just using this as an excuse to learn how to make a pull request on github."},"comment":{"url":"https://api.github.com/repos/rodrigo-caballero/CliMT/issues/comments/166186111","html_url":"https://github.com/rodrigo-caballero/CliMT/pull/3#issuecomment-166186111","issue_url":"https://api.github.com/repos/rodrigo-caballero/CliMT/issues/3","id":166186111,"user":{"login":"brian-rose","id":9097307,"avatar_url":"https://avatars.githubusercontent.com/u/9097307?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-rose","html_url":"https://github.com/brian-rose","followers_url":"https://api.github.com/users/brian-rose/followers","following_url":"https://api.github.com/users/brian-rose/following{/other_user}","gists_url":"https://api.github.com/users/brian-rose/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-rose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-rose/subscriptions","organizations_url":"https://api.github.com/users/brian-rose/orgs","repos_url":"https://api.github.com/users/brian-rose/repos","events_url":"https://api.github.com/users/brian-rose/events{/privacy}","received_events_url":"https://api.github.com/users/brian-rose/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T03:16:20Z","updated_at":"2015-12-21T03:16:20Z","body":"Hi Rodrigo,\r\nThat’s great news about the new postdoc! Getting a proper dynamical core will be a major step forward.\r\nYes, I’ve been developing climlab as an independent project. The focus so far has been on simpler physics (e.g. grey radiation, 1-D diffusion) and a pure python / numpy implementation. I just came back from the AGU meeting were I was able to introduce climlab in a session on modeling for education.\r\nMy short- to medium-term plans include\r\n- making some more sophisticated radiation schemes available, a la climt (actually already have a beta version that basically just wraps the climt radiation object)\r\n- working on removing the dependency on netcdf libraries at the compile stage (compiling against netcdf on a new machine is still my nightmare)\r\n- wrapping two simple python-based dynamical cores that have been recently been developed:\r\n- https://github.com/pyqg (quasi-geostrophic)\r\n- https://github.com/PyRsw/PyRsw (shallow water)\r\n- developing some notebook-based exercises for playing with clouds and their effect on TOA radiation.\r\n- developing a thermodynamic sea ice module\r\n- developing a single-column advection-diffusion ocean column\r\n\r\nI’ve also been working on reorganizing the internals around a simpler, more consistent API, and toying with some new ideas about self-describing data structures for gridded quantities. I will be teaching my undergraduate modeling course again this spring, so I will be hopefully pushing out a version 0.3 with some of these new changes in time to use it in class.\r\n\r\nMy guess is that climlab and climt will probably merge into a single tool at some point. But I think it’s been useful to explore some new ways of doing things with the climlab project.\r\n\r\nThe short answer is that yes, I am still obsessed about this stuff, and yes I am very interested in contributing to the next generation of tools. I would be thrilled to come to Stockholm for such a workshop if I can, so please keep me in the loop.\r\n\r\nAll the best\r\nBrian\r\n\r\nOn Dec 17, 2015, at 8:55 AM, Rodrigo Caballero <notifications@github.com<mailto:notifications@github.com>> wrote:\r\n\r\nHi Brian,\r\n\r\nso I finally got round to merging your changes, they’re now in the main branch.\r\n\r\nCliMT development should speed up from early next year; the plan is that a new postdoc will start up who will wrap the FMS core, generally update the infrastructure and write some better documentation. As this work proceeds, it would be great to have your input and learn from what you’ve been doing at your end. I’m also thinking about organizing a workshop on python and climate science here in Stockholm sometime in the spring. It would also involve Ray. Would you be interested in participating?\r\n\r\nHow are things going on your end? I’ve been playing around with your climlab project, looks great. What next steps are you thinking about?\r\n\r\nbest,\r\nRodrigo\r\n\r\n\r\n> On 19 Nov 2015, at 22:44, Brian Rose <notifications@github.com<mailto:notifications@github.com>> wrote:\r\n>\r\n> A very simple change:\r\n> I replaced all occurrences of numpy.rank() with numpy.ndim() since rank() is deprecated in numpy version 1.9 and above (see http://docs.scipy.org/doc/numpy/release.html)\r\n> This suppresses an annoying warning message and presumably avoids future compatibility issues.\r\n>\r\n> Basically I'm just using this as an excuse to learn how to make a pull request on github.\r\n>\r\n> You can view, comment on, or merge this pull request online at:\r\n>\r\n> https://github.com/rodrigo-caballero/CliMT/pull/3\r\n>\r\n> Commit Summary\r\n>\r\n> • Changed all occurences of numpy.rank() to numpy.ndim() since rank() is now deprecated.\r\n> File Changes\r\n>\r\n> • M lib/climt/component.py (41)\r\n> • M lib/climt/plot.py (32)\r\n> • M lib/climt/utils.py (9)\r\n> Patch Links:\r\n>\r\n> • https://github.com/rodrigo-caballero/CliMT/pull/3.patch\r\n> • https://github.com/rodrigo-caballero/CliMT/pull/3.diff\r\n> —\r\n> Reply to this email directly or view it on GitHub.\r\n>\r\n\r\n\r\n—\r\nReply to this email directly or view it on GitHub<https://github.com/rodrigo-caballero/CliMT/pull/3#issuecomment-165458460>.\r\n\r\n"}}