{"action":"created","issue":{"url":"https://api.github.com/repos/satellogic/telluric/issues/16","repository_url":"https://api.github.com/repos/satellogic/telluric","labels_url":"https://api.github.com/repos/satellogic/telluric/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/satellogic/telluric/issues/16/comments","events_url":"https://api.github.com/repos/satellogic/telluric/issues/16/events","html_url":"https://github.com/satellogic/telluric/issues/16","id":319193569,"number":16,"title":"python interpreter crashes on raster.save","user":{"login":"arielze","id":1247079,"avatar_url":"https://avatars2.githubusercontent.com/u/1247079?v=4","gravatar_id":"","url":"https://api.github.com/users/arielze","html_url":"https://github.com/arielze","followers_url":"https://api.github.com/users/arielze/followers","following_url":"https://api.github.com/users/arielze/following{/other_user}","gists_url":"https://api.github.com/users/arielze/gists{/gist_id}","starred_url":"https://api.github.com/users/arielze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arielze/subscriptions","organizations_url":"https://api.github.com/users/arielze/orgs","repos_url":"https://api.github.com/users/arielze/repos","events_url":"https://api.github.com/users/arielze/events{/privacy}","received_events_url":"https://api.github.com/users/arielze/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-01T13:10:44Z","updated_at":"2018-05-02T16:55:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"creating a simple raster crashes the python interpreter on save.\r\nproblem can be reproduced wit::\r\n\r\n```\r\nfrom affine import Affine\r\nimport numpy as np\r\nimport telluric as tl\r\nshape = (1, 20, 20)\r\narr = np.ones(shape)\r\naff = Affine.scale(1,-1)\r\nrr = tl.GeoRaster2(image=arr, affine=aff, crs=tl.constants.WEB_MERCATOR_CRS)\r\nrr.save('demo.tif')\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/satellogic/telluric/issues/comments/386046761","html_url":"https://github.com/satellogic/telluric/issues/16#issuecomment-386046761","issue_url":"https://api.github.com/repos/satellogic/telluric/issues/16","id":386046761,"user":{"login":"drnextgis","id":866124,"avatar_url":"https://avatars1.githubusercontent.com/u/866124?v=4","gravatar_id":"","url":"https://api.github.com/users/drnextgis","html_url":"https://github.com/drnextgis","followers_url":"https://api.github.com/users/drnextgis/followers","following_url":"https://api.github.com/users/drnextgis/following{/other_user}","gists_url":"https://api.github.com/users/drnextgis/gists{/gist_id}","starred_url":"https://api.github.com/users/drnextgis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drnextgis/subscriptions","organizations_url":"https://api.github.com/users/drnextgis/orgs","repos_url":"https://api.github.com/users/drnextgis/repos","events_url":"https://api.github.com/users/drnextgis/events{/privacy}","received_events_url":"https://api.github.com/users/drnextgis/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T16:55:43Z","updated_at":"2018-05-02T16:55:43Z","author_association":"NONE","body":"Original issue was fixed in GDAL couple of hours ago: https://github.com/OSGeo/gdal/commit/f7c27a807b27cf74cf4666ffe3df4d64cc3f47b3. It is possible to use the similar approach for calculating max factor value: if we already have a 1x1 overview then don't create a new one."}}
{"actor":{"display_login":"drnextgis"}}