{"action":"opened","number":585,"pull_request":{"url":"https://api.github.com/repos/OGGM/oggm/pulls/585","id":226586650,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NTg2NjUw","html_url":"https://github.com/OGGM/oggm/pull/585","diff_url":"https://github.com/OGGM/oggm/pull/585.diff","patch_url":"https://github.com/OGGM/oggm/pull/585.patch","issue_url":"https://api.github.com/repos/OGGM/oggm/issues/585","number":585,"state":"open","locked":false,"title":"Try to fix some tests","user":{"login":"TimoRoth","id":16896306,"node_id":"MDQ6VXNlcjE2ODk2MzA2","avatar_url":"https://avatars1.githubusercontent.com/u/16896306?v=4","gravatar_id":"","url":"https://api.github.com/users/TimoRoth","html_url":"https://github.com/TimoRoth","followers_url":"https://api.github.com/users/TimoRoth/followers","following_url":"https://api.github.com/users/TimoRoth/following{/other_user}","gists_url":"https://api.github.com/users/TimoRoth/gists{/gist_id}","starred_url":"https://api.github.com/users/TimoRoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimoRoth/subscriptions","organizations_url":"https://api.github.com/users/TimoRoth/orgs","repos_url":"https://api.github.com/users/TimoRoth/repos","events_url":"https://api.github.com/users/TimoRoth/events{/privacy}","received_events_url":"https://api.github.com/users/TimoRoth/received_events","type":"User","site_admin":false},"body":"Re-Generated all the baseline images for now, will try to fix everything else that comes up.\r\nSomething weird is going on with salem/pandas, where it complains\r\n\r\n```\r\n______________________________________________________________________________________ TestFilterNegFlux.test_correct _______________________________________________________________________________________\r\n\r\nself = <oggm.tests.test_prepro.TestFilterNegFlux testMethod=test_correct>\r\n\r\n    def test_correct(self):\r\n\r\n        entity = gpd.read_file(get_demo_file('rgi_oetztal.shp'))\r\n        entity = entity.loc[entity.RGIId == 'RGI50-11.00666'].iloc[0]\r\n\r\n        cfg.PARAMS['correct_for_neg_flux'] = False\r\n\r\n        gdir = oggm.GlacierDirectory(entity, base_dir=self.testdir)\r\n        gis.define_glacier_region(gdir, entity=entity)\r\n        gis.glacier_masks(gdir)\r\n        centerlines.compute_centerlines(gdir)\r\n        centerlines.initialize_flowlines(gdir)\r\n        centerlines.catchment_area(gdir)\r\n        centerlines.catchment_width_geom(gdir)\r\n        centerlines.catchment_width_correction(gdir)\r\n>       climate.process_custom_climate_data(gdir)\r\n\r\noggm/tests/test_prepro.py:1498:\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\noggm/utils.py:2730: in _entity_task\r\n    out = task_func(gdir, **kwargs)\r\noggm/core/climate.py:49: in process_custom_climate_data\r\n    nc_ts = salem.GeoNetcdf(fpath)\r\n../../oggm_venv/lib/python3.7/site-packages/salem/datasets.py:396: in __init__\r\n    GeoDataset.__init__(self, grid, time=time)\r\n../../oggm_venv/lib/python3.7/site-packages/salem/datasets.py:95: in __init__\r\n    time = pd.Series(np.arange(len(time)), index=time)\r\n../../oggm_venv/lib/python3.7/site-packages/pandas/core/series.py:183: in __init__\r\n    index = _ensure_index(index)\r\n../../oggm_venv/lib/python3.7/site-packages/pandas/core/indexes/base.py:4974: in _ensure_index\r\n    return Index(index_like)\r\n../../oggm_venv/lib/python3.7/site-packages/pandas/core/indexes/base.py:417: in __new__\r\n    name=name, **kwargs)\r\n../../oggm_venv/lib/python3.7/site-packages/pandas/core/indexes/datetimes.py:399: in __new__\r\n    yearfirst=yearfirst)\r\n../../oggm_venv/lib/python3.7/site-packages/pandas/core/tools/datetimes.py:467: in to_datetime\r\n    result = _convert_listlike(arg, box, format)\r\n../../oggm_venv/lib/python3.7/site-packages/pandas/core/tools/datetimes.py:368: in _convert_listlike\r\n    require_iso8601=require_iso8601\r\npandas/_libs/tslib.pyx:492: in pandas._libs.tslib.array_to_datetime\r\n    ???\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\n>   ???\r\nE   AttributeError: 'real_datetime' object has no attribute 'nanosecond'\r\n```\r\n\r\nNot sure if that's an issue in oggm, salem or pandas.","created_at":"2018-10-29T14:42:45Z","updated_at":"2018-10-29T14:42:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OGGM/oggm/pulls/585/commits","review_comments_url":"https://api.github.com/repos/OGGM/oggm/pulls/585/comments","review_comment_url":"https://api.github.com/repos/OGGM/oggm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OGGM/oggm/issues/585/comments","statuses_url":"https://api.github.com/repos/OGGM/oggm/statuses/f994eef621b812e84cde3c99b4b2eea9ea305ca8","head":{"label":"TimoRoth:master","ref":"master","sha":"f994eef621b812e84cde3c99b4b2eea9ea305ca8","user":{"login":"TimoRoth","id":16896306,"node_id":"MDQ6VXNlcjE2ODk2MzA2","avatar_url":"https://avatars1.githubusercontent.com/u/16896306?v=4","gravatar_id":"","url":"https://api.github.com/users/TimoRoth","html_url":"https://github.com/TimoRoth","followers_url":"https://api.github.com/users/TimoRoth/followers","following_url":"https://api.github.com/users/TimoRoth/following{/other_user}","gists_url":"https://api.github.com/users/TimoRoth/gists{/gist_id}","starred_url":"https://api.github.com/users/TimoRoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimoRoth/subscriptions","organizations_url":"https://api.github.com/users/TimoRoth/orgs","repos_url":"https://api.github.com/users/TimoRoth/repos","events_url":"https://api.github.com/users/TimoRoth/events{/privacy}","received_events_url":"https://api.github.com/users/TimoRoth/received_events","type":"User","site_admin":false},"repo":{"id":51597403,"node_id":"MDEwOlJlcG9zaXRvcnk1MTU5NzQwMw==","name":"oggm","full_name":"TimoRoth/oggm","private":false,"owner":{"login":"TimoRoth","id":16896306,"node_id":"MDQ6VXNlcjE2ODk2MzA2","avatar_url":"https://avatars1.githubusercontent.com/u/16896306?v=4","gravatar_id":"","url":"https://api.github.com/users/TimoRoth","html_url":"https://github.com/TimoRoth","followers_url":"https://api.github.com/users/TimoRoth/followers","following_url":"https://api.github.com/users/TimoRoth/following{/other_user}","gists_url":"https://api.github.com/users/TimoRoth/gists{/gist_id}","starred_url":"https://api.github.com/users/TimoRoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimoRoth/subscriptions","organizations_url":"https://api.github.com/users/TimoRoth/orgs","repos_url":"https://api.github.com/users/TimoRoth/repos","events_url":"https://api.github.com/users/TimoRoth/events{/privacy}","received_events_url":"https://api.github.com/users/TimoRoth/received_events","type":"User","site_admin":false},"html_url":"https://github.com/TimoRoth/oggm","description":"Open Global Glacier Model ","fork":true,"url":"https://api.github.com/repos/TimoRoth/oggm","forks_url":"https://api.github.com/repos/TimoRoth/oggm/forks","keys_url":"https://api.github.com/repos/TimoRoth/oggm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TimoRoth/oggm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TimoRoth/oggm/teams","hooks_url":"https://api.github.com/repos/TimoRoth/oggm/hooks","issue_events_url":"https://api.github.com/repos/TimoRoth/oggm/issues/events{/number}","events_url":"https://api.github.com/repos/TimoRoth/oggm/events","assignees_url":"https://api.github.com/repos/TimoRoth/oggm/assignees{/user}","branches_url":"https://api.github.com/repos/TimoRoth/oggm/branches{/branch}","tags_url":"https://api.github.com/repos/TimoRoth/oggm/tags","blobs_url":"https://api.github.com/repos/TimoRoth/oggm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TimoRoth/oggm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TimoRoth/oggm/git/refs{/sha}","trees_url":"https://api.github.com/repos/TimoRoth/oggm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TimoRoth/oggm/statuses/{sha}","languages_url":"https://api.github.com/repos/TimoRoth/oggm/languages","stargazers_url":"https://api.github.com/repos/TimoRoth/oggm/stargazers","contributors_url":"https://api.github.com/repos/TimoRoth/oggm/contributors","subscribers_url":"https://api.github.com/repos/TimoRoth/oggm/subscribers","subscription_url":"https://api.github.com/repos/TimoRoth/oggm/subscription","commits_url":"https://api.github.com/repos/TimoRoth/oggm/commits{/sha}","git_commits_url":"https://api.github.com/repos/TimoRoth/oggm/git/commits{/sha}","comments_url":"https://api.github.com/repos/TimoRoth/oggm/comments{/number}","issue_comment_url":"https://api.github.com/repos/TimoRoth/oggm/issues/comments{/number}","contents_url":"https://api.github.com/repos/TimoRoth/oggm/contents/{+path}","compare_url":"https://api.github.com/repos/TimoRoth/oggm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TimoRoth/oggm/merges","archive_url":"https://api.github.com/repos/TimoRoth/oggm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TimoRoth/oggm/downloads","issues_url":"https://api.github.com/repos/TimoRoth/oggm/issues{/number}","pulls_url":"https://api.github.com/repos/TimoRoth/oggm/pulls{/number}","milestones_url":"https://api.github.com/repos/TimoRoth/oggm/milestones{/number}","notifications_url":"https://api.github.com/repos/TimoRoth/oggm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TimoRoth/oggm/labels{/name}","releases_url":"https://api.github.com/repos/TimoRoth/oggm/releases{/id}","deployments_url":"https://api.github.com/repos/TimoRoth/oggm/deployments","created_at":"2016-02-12T15:35:01Z","updated_at":"2018-10-29T14:40:19Z","pushed_at":"2018-10-29T14:40:17Z","git_url":"git://github.com/TimoRoth/oggm.git","ssh_url":"git@github.com:TimoRoth/oggm.git","clone_url":"https://github.com/TimoRoth/oggm.git","svn_url":"https://github.com/TimoRoth/oggm","homepage":"http://oggm.readthedocs.org","size":24204,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OGGM:master","ref":"master","sha":"10a949d057f853fb278b612dc198547b5f02915f","user":{"login":"OGGM","id":14758186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0NzU4MTg2","avatar_url":"https://avatars3.githubusercontent.com/u/14758186?v=4","gravatar_id":"","url":"https://api.github.com/users/OGGM","html_url":"https://github.com/OGGM","followers_url":"https://api.github.com/users/OGGM/followers","following_url":"https://api.github.com/users/OGGM/following{/other_user}","gists_url":"https://api.github.com/users/OGGM/gists{/gist_id}","starred_url":"https://api.github.com/users/OGGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OGGM/subscriptions","organizations_url":"https://api.github.com/users/OGGM/orgs","repos_url":"https://api.github.com/users/OGGM/repos","events_url":"https://api.github.com/users/OGGM/events{/privacy}","received_events_url":"https://api.github.com/users/OGGM/received_events","type":"Organization","site_admin":false},"repo":{"id":43965645,"node_id":"MDEwOlJlcG9zaXRvcnk0Mzk2NTY0NQ==","name":"oggm","full_name":"OGGM/oggm","private":false,"owner":{"login":"OGGM","id":14758186,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0NzU4MTg2","avatar_url":"https://avatars3.githubusercontent.com/u/14758186?v=4","gravatar_id":"","url":"https://api.github.com/users/OGGM","html_url":"https://github.com/OGGM","followers_url":"https://api.github.com/users/OGGM/followers","following_url":"https://api.github.com/users/OGGM/following{/other_user}","gists_url":"https://api.github.com/users/OGGM/gists{/gist_id}","starred_url":"https://api.github.com/users/OGGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OGGM/subscriptions","organizations_url":"https://api.github.com/users/OGGM/orgs","repos_url":"https://api.github.com/users/OGGM/repos","events_url":"https://api.github.com/users/OGGM/events{/privacy}","received_events_url":"https://api.github.com/users/OGGM/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/OGGM/oggm","description":"Open Global Glacier Model","fork":false,"url":"https://api.github.com/repos/OGGM/oggm","forks_url":"https://api.github.com/repos/OGGM/oggm/forks","keys_url":"https://api.github.com/repos/OGGM/oggm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OGGM/oggm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OGGM/oggm/teams","hooks_url":"https://api.github.com/repos/OGGM/oggm/hooks","issue_events_url":"https://api.github.com/repos/OGGM/oggm/issues/events{/number}","events_url":"https://api.github.com/repos/OGGM/oggm/events","assignees_url":"https://api.github.com/repos/OGGM/oggm/assignees{/user}","branches_url":"https://api.github.com/repos/OGGM/oggm/branches{/branch}","tags_url":"https://api.github.com/repos/OGGM/oggm/tags","blobs_url":"https://api.github.com/repos/OGGM/oggm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OGGM/oggm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OGGM/oggm/git/refs{/sha}","trees_url":"https://api.github.com/repos/OGGM/oggm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OGGM/oggm/statuses/{sha}","languages_url":"https://api.github.com/repos/OGGM/oggm/languages","stargazers_url":"https://api.github.com/repos/OGGM/oggm/stargazers","contributors_url":"https://api.github.com/repos/OGGM/oggm/contributors","subscribers_url":"https://api.github.com/repos/OGGM/oggm/subscribers","subscription_url":"https://api.github.com/repos/OGGM/oggm/subscription","commits_url":"https://api.github.com/repos/OGGM/oggm/commits{/sha}","git_commits_url":"https://api.github.com/repos/OGGM/oggm/git/commits{/sha}","comments_url":"https://api.github.com/repos/OGGM/oggm/comments{/number}","issue_comment_url":"https://api.github.com/repos/OGGM/oggm/issues/comments{/number}","contents_url":"https://api.github.com/repos/OGGM/oggm/contents/{+path}","compare_url":"https://api.github.com/repos/OGGM/oggm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OGGM/oggm/merges","archive_url":"https://api.github.com/repos/OGGM/oggm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OGGM/oggm/downloads","issues_url":"https://api.github.com/repos/OGGM/oggm/issues{/number}","pulls_url":"https://api.github.com/repos/OGGM/oggm/pulls{/number}","milestones_url":"https://api.github.com/repos/OGGM/oggm/milestones{/number}","notifications_url":"https://api.github.com/repos/OGGM/oggm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OGGM/oggm/labels{/name}","releases_url":"https://api.github.com/repos/OGGM/oggm/releases{/id}","deployments_url":"https://api.github.com/repos/OGGM/oggm/deployments","created_at":"2015-10-09T15:55:31Z","updated_at":"2018-10-29T13:17:21Z","pushed_at":"2018-10-29T13:17:19Z","git_url":"git://github.com/OGGM/oggm.git","ssh_url":"git@github.com:OGGM/oggm.git","clone_url":"https://github.com/OGGM/oggm.git","svn_url":"https://github.com/OGGM/oggm","homepage":"http://oggm.org","size":24246,"stargazers_count":45,"watchers_count":45,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"archived":false,"open_issues_count":68,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":31,"open_issues":68,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OGGM/oggm/pulls/585"},"html":{"href":"https://github.com/OGGM/oggm/pull/585"},"issue":{"href":"https://api.github.com/repos/OGGM/oggm/issues/585"},"comments":{"href":"https://api.github.com/repos/OGGM/oggm/issues/585/comments"},"review_comments":{"href":"https://api.github.com/repos/OGGM/oggm/pulls/585/comments"},"review_comment":{"href":"https://api.github.com/repos/OGGM/oggm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OGGM/oggm/pulls/585/commits"},"statuses":{"href":"https://api.github.com/repos/OGGM/oggm/statuses/f994eef621b812e84cde3c99b4b2eea9ea305ca8"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":2,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"TimoRoth"}}