{"action":"created","issue":{"url":"https://api.github.com/repos/vtsuperdarn/davitpy/issues/141","labels_url":"https://api.github.com/repos/vtsuperdarn/davitpy/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/vtsuperdarn/davitpy/issues/141/comments","events_url":"https://api.github.com/repos/vtsuperdarn/davitpy/issues/141/events","html_url":"https://github.com/vtsuperdarn/davitpy/pull/141","id":96444041,"number":141,"title":"enhancement_rc_params","user":{"login":"asreimer","id":4604819,"avatar_url":"https://avatars.githubusercontent.com/u/4604819?v=3","gravatar_id":"","url":"https://api.github.com/users/asreimer","html_url":"https://github.com/asreimer","followers_url":"https://api.github.com/users/asreimer/followers","following_url":"https://api.github.com/users/asreimer/following{/other_user}","gists_url":"https://api.github.com/users/asreimer/gists{/gist_id}","starred_url":"https://api.github.com/users/asreimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asreimer/subscriptions","organizations_url":"https://api.github.com/users/asreimer/orgs","repos_url":"https://api.github.com/users/asreimer/repos","events_url":"https://api.github.com/users/asreimer/events{/privacy}","received_events_url":"https://api.github.com/users/asreimer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2015-07-22T00:10:42Z","updated_at":"2015-08-05T06:25:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vtsuperdarn/davitpy/pulls/141","html_url":"https://github.com/vtsuperdarn/davitpy/pull/141","diff_url":"https://github.com/vtsuperdarn/davitpy/pull/141.diff","patch_url":"https://github.com/vtsuperdarn/davitpy/pull/141.patch"},"body":"This is it, finally. The big pull request that changes the directory structure of davitpy and how it is imported (ie. more like matplotlib now, where one must use `from davitpy import pydarn` instead of `import pydarn`. Also, a davitpyrc file is now needed instead of using environment variables to set things like the `DAVIT_SD_REMOTE_DIRFORMAT`, `DB`, etc.\r\n\r\nTo test this pull request, I suggest testing *EVERYTHING*. I wouldn't be surprised if there are a few issues that I've missed since this pull request affects almost all of the code.\r\n\r\nI'll post my test results once I've completed them."},"comment":{"url":"https://api.github.com/repos/vtsuperdarn/davitpy/issues/comments/127888318","html_url":"https://github.com/vtsuperdarn/davitpy/pull/141#issuecomment-127888318","issue_url":"https://api.github.com/repos/vtsuperdarn/davitpy/issues/141","id":127888318,"user":{"login":"w2naf","id":1831182,"avatar_url":"https://avatars.githubusercontent.com/u/1831182?v=3","gravatar_id":"","url":"https://api.github.com/users/w2naf","html_url":"https://github.com/w2naf","followers_url":"https://api.github.com/users/w2naf/followers","following_url":"https://api.github.com/users/w2naf/following{/other_user}","gists_url":"https://api.github.com/users/w2naf/gists{/gist_id}","starred_url":"https://api.github.com/users/w2naf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w2naf/subscriptions","organizations_url":"https://api.github.com/users/w2naf/orgs","repos_url":"https://api.github.com/users/w2naf/repos","events_url":"https://api.github.com/users/w2naf/events{/privacy}","received_events_url":"https://api.github.com/users/w2naf/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T06:25:15Z","updated_at":"2015-08-05T06:25:15Z","body":"Hi, @asreimer .  I started running through the notebooks, and found and fixed a few small bugs.  Here are some things that I found but have not yet fixed:\r\n\r\nCell 6 of geoPack.ipynb traceback:\r\n```\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-6-f214ec056775> in <module>()\r\n      1 # Test gspToGcar (graphic)\r\n      2 fig = plt.figure(figsize(10,10))\r\n----> 3 ax = fig.add_subplot(111, projection='3d')\r\n      4 ax.plot3D([0,Rav],[0,0],[0,0],'b')\r\n      5 ax.plot3D([0,0],[0,Rav],[0,0],'g')\r\n\r\n/usr/local/lib/python2.7/dist-packages/matplotlib/figure.pyc in add_subplot(self, *args, **kwargs)\r\n    962                     self._axstack.remove(ax)\r\n    963 \r\n--> 964             a = subplot_class_factory(projection_class)(self, *args, **kwargs)\r\n    965 \r\n    966         self._axstack.add(key, a)\r\n\r\n/usr/local/lib/python2.7/dist-packages/matplotlib/axes/_subplots.pyc in __init__(self, fig, *args, **kwargs)\r\n     76 \r\n     77         # _axes_class is set in the subplot_class_factory\r\n---> 78         self._axes_class.__init__(self, fig, self.figbox, **kwargs)\r\n     79 \r\n     80     def __reduce__(self):\r\n\r\n/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.pyc in __init__(self, fig, rect, *args, **kwargs)\r\n     89         Axes.__init__(self, fig, rect,\r\n     90                       frameon=True,\r\n---> 91                       *args, **kwargs)\r\n     92         # Disable drawing of axes by base class\r\n     93         Axes.set_axis_off(self)\r\n\r\n/usr/local/lib/python2.7/dist-packages/matplotlib/axes/_base.pyc in __init__(self, fig, rect, axisbg, frameon, sharex, sharey, label, xscale, yscale, **kwargs)\r\n    435         self._hold = rcParams['axes.hold']\r\n    436         self._connected = {}  # a dict from events to (id, func)\r\n--> 437         self.cla()\r\n    438         # funcs used to format x and y - fall back on major formatters\r\n    439         self.fmt_xdata = None\r\n\r\n/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.pyc in cla(self)\r\n   1043         self._zmargin = 0\r\n   1044 \r\n-> 1045         Axes.cla(self)\r\n   1046 \r\n   1047         self.grid(rcParams['axes3d.grid'])\r\n\r\n/usr/local/lib/python2.7/dist-packages/matplotlib/axes/_base.pyc in cla(self)\r\n    906         self.containers = []\r\n    907 \r\n--> 908         self.grid(self._gridOn, which=rcParams['axes.grid.which'])\r\n    909         props = font_manager.FontProperties(size=rcParams['axes.titlesize'],\r\n    910                                         weight=rcParams['axes.titleweight'])\r\n\r\n/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.pyc in grid(self, b, **kwargs)\r\n   1254         if len(kwargs) :\r\n   1255             b = True\r\n-> 1256         self._draw_grid = maxes._string_to_bool(b)\r\n   1257 \r\n   1258     def ticklabel_format(self, **kwargs) :\r\n\r\nAttributeError: 'module' object has no attribute '_string_to_bool'\r\n\r\n<matplotlib.figure.Figure at 0x7fcbf9c1e190>\r\n```\r\n\r\nAlso, running the IRI in models.ipynb causes the kernel to die.\r\n\r\nI need to head to bed for now!\r\n\r\n~Nathaniel\r\n"}}