{"action":"created","issue":{"url":"https://api.github.com/repos/creare-com/podpac/issues/112","repository_url":"https://api.github.com/repos/creare-com/podpac","labels_url":"https://api.github.com/repos/creare-com/podpac/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/creare-com/podpac/issues/112/comments","events_url":"https://api.github.com/repos/creare-com/podpac/issues/112/events","html_url":"https://github.com/creare-com/podpac/issues/112","id":366974477,"node_id":"MDU6SXNzdWUzNjY5NzQ0Nzc=","number":112,"title":"UnitsDataArray ufuncs suddenly not working in TravisCI","user":{"login":"jmilloy","id":1051972,"node_id":"MDQ6VXNlcjEwNTE5NzI=","avatar_url":"https://avatars1.githubusercontent.com/u/1051972?v=4","gravatar_id":"","url":"https://api.github.com/users/jmilloy","html_url":"https://github.com/jmilloy","followers_url":"https://api.github.com/users/jmilloy/followers","following_url":"https://api.github.com/users/jmilloy/following{/other_user}","gists_url":"https://api.github.com/users/jmilloy/gists{/gist_id}","starred_url":"https://api.github.com/users/jmilloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmilloy/subscriptions","organizations_url":"https://api.github.com/users/jmilloy/orgs","repos_url":"https://api.github.com/users/jmilloy/repos","events_url":"https://api.github.com/users/jmilloy/events{/privacy}","received_events_url":"https://api.github.com/users/jmilloy/received_events","type":"User","site_admin":false},"labels":[{"id":865784010,"node_id":"MDU6TGFiZWw4NjU3ODQwMTA=","url":"https://api.github.com/repos/creare-com/podpac/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":865794721,"node_id":"MDU6TGFiZWw4NjU3OTQ3MjE=","url":"https://api.github.com/repos/creare-com/podpac/labels/testing","name":"testing","color":"e09057","default":false}],"state":"closed","locked":false,"assignee":{"login":"mlshapiro","id":8190979,"node_id":"MDQ6VXNlcjgxOTA5Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/8190979?v=4","gravatar_id":"","url":"https://api.github.com/users/mlshapiro","html_url":"https://github.com/mlshapiro","followers_url":"https://api.github.com/users/mlshapiro/followers","following_url":"https://api.github.com/users/mlshapiro/following{/other_user}","gists_url":"https://api.github.com/users/mlshapiro/gists{/gist_id}","starred_url":"https://api.github.com/users/mlshapiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlshapiro/subscriptions","organizations_url":"https://api.github.com/users/mlshapiro/orgs","repos_url":"https://api.github.com/users/mlshapiro/repos","events_url":"https://api.github.com/users/mlshapiro/events{/privacy}","received_events_url":"https://api.github.com/users/mlshapiro/received_events","type":"User","site_admin":false},"assignees":[{"login":"mlshapiro","id":8190979,"node_id":"MDQ6VXNlcjgxOTA5Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/8190979?v=4","gravatar_id":"","url":"https://api.github.com/users/mlshapiro","html_url":"https://github.com/mlshapiro","followers_url":"https://api.github.com/users/mlshapiro/followers","following_url":"https://api.github.com/users/mlshapiro/following{/other_user}","gists_url":"https://api.github.com/users/mlshapiro/gists{/gist_id}","starred_url":"https://api.github.com/users/mlshapiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlshapiro/subscriptions","organizations_url":"https://api.github.com/users/mlshapiro/orgs","repos_url":"https://api.github.com/users/mlshapiro/repos","events_url":"https://api.github.com/users/mlshapiro/events{/privacy}","received_events_url":"https://api.github.com/users/mlshapiro/received_events","type":"User","site_admin":false},{"login":"mpu-creare","id":12446685,"node_id":"MDQ6VXNlcjEyNDQ2Njg1","avatar_url":"https://avatars0.githubusercontent.com/u/12446685?v=4","gravatar_id":"","url":"https://api.github.com/users/mpu-creare","html_url":"https://github.com/mpu-creare","followers_url":"https://api.github.com/users/mpu-creare/followers","following_url":"https://api.github.com/users/mpu-creare/following{/other_user}","gists_url":"https://api.github.com/users/mpu-creare/gists{/gist_id}","starred_url":"https://api.github.com/users/mpu-creare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpu-creare/subscriptions","organizations_url":"https://api.github.com/users/mpu-creare/orgs","repos_url":"https://api.github.com/users/mpu-creare/repos","events_url":"https://api.github.com/users/mpu-creare/events{/privacy}","received_events_url":"https://api.github.com/users/mpu-creare/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-10-04T21:18:03Z","updated_at":"2018-10-10T01:51:12Z","closed_at":"2018-10-10T01:51:12Z","author_association":"COLLABORATOR","body":"**Description**\r\nThe CI tests are no longer passing because of the UnitsDataArray ufuncs test. This includes the master branch. This suggests that something in our CI build process has changed.\r\n\r\n**Steps to Reproduce**\r\n\r\nSee a [recent TravisCI build on any branch](https://travis-ci.org/creare-com/podpac/branches), including this [rebuild of master](https://travis-ci.org/creare-com/podpac/builds/413190484).\r\n\r\n**Expected Behavior**\r\n\r\n`np.std(a1)` should work, so that the tests should pass.\r\n\r\n**Observed Behavior**\r\n\r\nThe test_units::TestUnitDataArray::test_ufuncs test is failing:\r\n\r\n```\r\nTypeError: nanstd() got an unexpected keyword argument 'ddof'\r\n```\r\n\r\n**Additional Notes**\r\n\r\nThis seems to be the case on any branch for any version of Python.\r\n\r\nFull excerpt from a build log:\r\n\r\n```\r\n________________________ TestUnitDataArray.[secure]_ufuncs _________________________\r\nself = <[secure]_units.TestUnitDataArray object at 0x7efdd4717b38>\r\n    def [secure]_ufuncs(self):\r\n        a1 = UnitsDataArray(np.ones((4,3)), dims=['lat', 'lon'],\r\n                               attrs={'units': ureg.meter})\r\n        a2 = UnitsDataArray(np.ones((4,3)), dims=['lat', 'lon'],\r\n                               attrs={'units': ureg.kelvin})\r\n    \r\n        np.sqrt(a1)\r\n        np.mean(a1)\r\n        np.min(a1)\r\n        np.max(a1)\r\n        a1 ** 2\r\n    \r\n        # These don't have units!\r\n        np.dot(a2.T, a1)\r\n>       np.std(a1)\r\npodpac/core/[secure]/[secure]_units.py:334: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n../../../virtualenv/python3.5.6/lib/python3.5/site-packages/numpy/core/fromnumeric.py:3035: in std\r\n    return std(axis=axis, dtype=dtype, out=out, ddof=ddof, **kwargs)\r\n../../../virtualenv/python3.5.6/lib/python3.5/site-packages/xarray/core/common.py:23: in wrapped_func\r\n    skipna=skipna, allow_lazy=True, **kwargs)\r\n../../../virtualenv/python3.5.6/lib/python3.5/site-packages/xarray/core/dataarray.py:1591: in reduce\r\n    var = self.variable.reduce(func, dim, axis, keep_attrs, **kwargs)\r\n../../../virtualenv/python3.5.6/lib/python3.5/site-packages/xarray/core/variable.py:1342: in reduce\r\n    axis=axis, **kwargs)\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\nvalues = array([[1., 1., 1.],\r\n       [1., 1., 1.],\r\n       [1., 1., 1.],\r\n       [1., 1., 1.]])\r\naxis = None, skipna = None, kwargs = {'ddof': 0, 'dtype': None}\r\nfunc = <function nanstd at 0x7efdf4f4ba60>, nanname = 'nanstd'\r\n    def f(values, axis=None, skipna=None, **kwargs):\r\n        if kwargs.pop('out', None) is not None:\r\n            raise TypeError('`out` is not valid for {}'.format(name))\r\n    \r\n        values = asarray(values)\r\n    \r\n        if coerce_strings and values.dtype.kind in 'SU':\r\n            values = values.astype(object)\r\n    \r\n        func = None\r\n        if skipna or (skipna is None and values.dtype.kind in 'cfO'):\r\n            nanname = 'nan' + name\r\n            func = getattr(nanops, nanname)\r\n        else:\r\n            func = _dask_or_eager_func(name)\r\n    \r\n        try:\r\n>           return func(values, axis=axis, **kwargs)\r\nE           TypeError: nanstd() got an unexpected keyword argument 'ddof'\r\n../../../virtualenv/python3.5.6/lib/python3.5/site-packages/xarray/core/duck_array_ops.py:236: TypeError\r\nIf applicable, a clear and concise description of what actually happens (e.g. a traceback or output from executing the sample code).\r\n```"},"comment":{"url":"https://api.github.com/repos/creare-com/podpac/issues/comments/428410573","html_url":"https://github.com/creare-com/podpac/issues/112#issuecomment-428410573","issue_url":"https://api.github.com/repos/creare-com/podpac/issues/112","id":428410573,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODQxMDU3Mw==","user":{"login":"mpu-creare","id":12446685,"node_id":"MDQ6VXNlcjEyNDQ2Njg1","avatar_url":"https://avatars0.githubusercontent.com/u/12446685?v=4","gravatar_id":"","url":"https://api.github.com/users/mpu-creare","html_url":"https://github.com/mpu-creare","followers_url":"https://api.github.com/users/mpu-creare/followers","following_url":"https://api.github.com/users/mpu-creare/following{/other_user}","gists_url":"https://api.github.com/users/mpu-creare/gists{/gist_id}","starred_url":"https://api.github.com/users/mpu-creare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpu-creare/subscriptions","organizations_url":"https://api.github.com/users/mpu-creare/orgs","repos_url":"https://api.github.com/users/mpu-creare/repos","events_url":"https://api.github.com/users/mpu-creare/events{/privacy}","received_events_url":"https://api.github.com/users/mpu-creare/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T01:51:12Z","updated_at":"2018-10-10T01:51:12Z","author_association":"CONTRIBUTOR","body":"Finally fixed in f24d08481de3cbd1f331e62d2a075ee8797bbf0e "}}
{"actor":{"display_login":"mpu-creare"}}