{"action":"created","issue":{"url":"https://api.github.com/repos/statkraft/shyft/issues/25","labels_url":"https://api.github.com/repos/statkraft/shyft/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/statkraft/shyft/issues/25/comments","events_url":"https://api.github.com/repos/statkraft/shyft/issues/25/events","html_url":"https://github.com/statkraft/shyft/issues/25","id":112992558,"number":25,"title":"NetCDF4/NumPy errors in test suite","user":{"login":"FrancescAlted","id":314521,"avatar_url":"https://avatars.githubusercontent.com/u/314521?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancescAlted","html_url":"https://github.com/FrancescAlted","followers_url":"https://api.github.com/users/FrancescAlted/followers","following_url":"https://api.github.com/users/FrancescAlted/following{/other_user}","gists_url":"https://api.github.com/users/FrancescAlted/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancescAlted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancescAlted/subscriptions","organizations_url":"https://api.github.com/users/FrancescAlted/orgs","repos_url":"https://api.github.com/users/FrancescAlted/repos","events_url":"https://api.github.com/users/FrancescAlted/events{/privacy}","received_events_url":"https://api.github.com/users/FrancescAlted/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-23T10:17:49Z","updated_at":"2015-11-03T15:28:03Z","closed_at":"2015-11-03T15:28:03Z","body":"During my work on TravisCI config files, and after making all dependencies right, the test suite is still failing in a couple of tests of the Python test suite:\r\n\r\n```\r\n======================================================================\r\n\r\nERROR: Simple regression test of arome data respository.\r\n\r\n----------------------------------------------------------------------\r\n\r\nTraceback (most recent call last):\r\n\r\n  File \"/home/travis/build/FrancescAlted/shyft/test/python/TestOrchestration.py\", line 393, in test_read_all_times\r\n\r\n    ar1 = AromeDataRepository(pth1, EPSG, bounding_box, period)\r\n\r\n  File \"/home/travis/build/FrancescAlted/shyft/shyft/repository/arome_data_repository.py\", line 207, in __init__\r\n\r\n    raw_data[data_field] = data[data_slice]\r\n\r\n  File \"netCDF4/_netCDF4.pyx\", line 3318, in netCDF4._netCDF4.Variable.__getitem__ (netCDF4/_netCDF4.c:30994)\r\n\r\n  File \"/home/travis/miniconda/envs/shyft_env/lib/python2.7/site-packages/netCDF4/utils.py\", line 230, in _StartCountStride\r\n\r\n    if ea.max()+1 > elen:\r\n\r\n  File \"/home/travis/miniconda/envs/shyft_env/lib/python2.7/site-packages/numpy/core/_methods.py\", line 26, in _amax\r\n\r\n    return umr_maximum(a, axis, None, out, keepdims)\r\n\r\nValueError: zero-size array to reduction operation maximum which has no identity\r\n```\r\n\r\nYou can see more details (like versions and others) in the [TravisCI log file](https://travis-ci.org/FrancescAlted/shyft/builds/86997072)."},"comment":{"url":"https://api.github.com/repos/statkraft/shyft/issues/comments/153388416","html_url":"https://github.com/statkraft/shyft/issues/25#issuecomment-153388416","issue_url":"https://api.github.com/repos/statkraft/shyft/issues/25","id":153388416,"user":{"login":"FrancescAlted","id":314521,"avatar_url":"https://avatars.githubusercontent.com/u/314521?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancescAlted","html_url":"https://github.com/FrancescAlted","followers_url":"https://api.github.com/users/FrancescAlted/followers","following_url":"https://api.github.com/users/FrancescAlted/following{/other_user}","gists_url":"https://api.github.com/users/FrancescAlted/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancescAlted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancescAlted/subscriptions","organizations_url":"https://api.github.com/users/FrancescAlted/orgs","repos_url":"https://api.github.com/users/FrancescAlted/repos","events_url":"https://api.github.com/users/FrancescAlted/events{/privacy}","received_events_url":"https://api.github.com/users/FrancescAlted/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T15:28:03Z","updated_at":"2015-11-03T15:28:03Z","body":"Ok.  So I will close this now and will reopen if necessary."}}