{"action":"created","issue":{"url":"https://api.github.com/repos/OGGM/oggm/issues/601","repository_url":"https://api.github.com/repos/OGGM/oggm","labels_url":"https://api.github.com/repos/OGGM/oggm/issues/601/labels{/name}","comments_url":"https://api.github.com/repos/OGGM/oggm/issues/601/comments","events_url":"https://api.github.com/repos/OGGM/oggm/issues/601/events","html_url":"https://github.com/OGGM/oggm/issues/601","id":380444241,"node_id":"MDU6SXNzdWUzODA0NDQyNDE=","number":601,"title":"how to transfer the centerlines.pkl into csv or shp files","user":{"login":"egalistmir","id":35034283,"node_id":"MDQ6VXNlcjM1MDM0Mjgz","avatar_url":"https://avatars1.githubusercontent.com/u/35034283?v=4","gravatar_id":"","url":"https://api.github.com/users/egalistmir","html_url":"https://github.com/egalistmir","followers_url":"https://api.github.com/users/egalistmir/followers","following_url":"https://api.github.com/users/egalistmir/following{/other_user}","gists_url":"https://api.github.com/users/egalistmir/gists{/gist_id}","starred_url":"https://api.github.com/users/egalistmir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egalistmir/subscriptions","organizations_url":"https://api.github.com/users/egalistmir/orgs","repos_url":"https://api.github.com/users/egalistmir/repos","events_url":"https://api.github.com/users/egalistmir/events{/privacy}","received_events_url":"https://api.github.com/users/egalistmir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-13T22:03:21Z","updated_at":"2018-11-13T22:33:45Z","closed_at":null,"author_association":"NONE","body":"When applying OGGM to work on the centerlines of several glaciers, I failed to read the centerlines.pkl\r\nI use Python3.6 picker package to load the pkl file, but only see something below.\r\n\r\nIn [7]: f = gzip.open('centerlines.pkl')\r\n\r\nIn [8]: info = pickle.load(f)\r\n\r\nIn [9]: info\r\nOut[9]: \r\n[<oggm.core.centerlines.Centerline at 0x7f89dbdc8ba8>,\r\n <oggm.core.centerlines.Centerline at 0x7f89acfc6208>,\r\n <oggm.core.centerlines.Centerline at 0x7f89acfa0f98>]\r\n``"},"comment":{"url":"https://api.github.com/repos/OGGM/oggm/issues/comments/438464248","html_url":"https://github.com/OGGM/oggm/issues/601#issuecomment-438464248","issue_url":"https://api.github.com/repos/OGGM/oggm/issues/601","id":438464248,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODQ2NDI0OA==","user":{"login":"fmaussion","id":10050469,"node_id":"MDQ6VXNlcjEwMDUwNDY5","avatar_url":"https://avatars3.githubusercontent.com/u/10050469?v=4","gravatar_id":"","url":"https://api.github.com/users/fmaussion","html_url":"https://github.com/fmaussion","followers_url":"https://api.github.com/users/fmaussion/followers","following_url":"https://api.github.com/users/fmaussion/following{/other_user}","gists_url":"https://api.github.com/users/fmaussion/gists{/gist_id}","starred_url":"https://api.github.com/users/fmaussion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmaussion/subscriptions","organizations_url":"https://api.github.com/users/fmaussion/orgs","repos_url":"https://api.github.com/users/fmaussion/repos","events_url":"https://api.github.com/users/fmaussion/events{/privacy}","received_events_url":"https://api.github.com/users/fmaussion/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T22:33:45Z","updated_at":"2018-11-13T22:33:45Z","author_association":"MEMBER","body":"Hi @egalistmir , did you have a look at this example: https://docs.oggm.org/en/latest/run_examples/run_rgi_region.html ?\r\n\r\nAt the end we call `utils.write_centerlines_to_shape(gdirs)`, which seems to do what you want."}}
{"actor":{"display_login":"fmaussion"}}