{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/rasterio/issues/246","labels_url":"https://api.github.com/repos/mapbox/rasterio/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/rasterio/issues/246/comments","events_url":"https://api.github.com/repos/mapbox/rasterio/issues/246/events","html_url":"https://github.com/mapbox/rasterio/issues/246","id":53900057,"number":246,"title":"Support for writing to GRIB","user":{"login":"dnomadb","id":5084513,"avatar_url":"https://avatars.githubusercontent.com/u/5084513?v=3","gravatar_id":"","url":"https://api.github.com/users/dnomadb","html_url":"https://github.com/dnomadb","followers_url":"https://api.github.com/users/dnomadb/followers","following_url":"https://api.github.com/users/dnomadb/following{/other_user}","gists_url":"https://api.github.com/users/dnomadb/gists{/gist_id}","starred_url":"https://api.github.com/users/dnomadb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnomadb/subscriptions","organizations_url":"https://api.github.com/users/dnomadb/orgs","repos_url":"https://api.github.com/users/dnomadb/repos","events_url":"https://api.github.com/users/dnomadb/events{/privacy}","received_events_url":"https://api.github.com/users/dnomadb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-09T18:39:34Z","updated_at":"2015-01-09T21:03:42Z","closed_at":null,"body":"Gridded Binary (`GRIB`) is a common format for weather data. One advantage, it seems, is support of extensive band metadata / tags. I am running into this issue when attempting to update tags on a GeoTIFF:\r\n`Warning 1: Lost metadata writing to GeoTIFF ... too large to fit in tag.`\r\nIn addition, it would allow overwriting / updating of existing `GRIB`s, which would be useful for the work we are doing here: https://github.com/mapbox/grib-normalizer\r\nHow difficult would it be to support writing to this format?"},"comment":{"url":"https://api.github.com/repos/mapbox/rasterio/issues/comments/69398591","html_url":"https://github.com/mapbox/rasterio/issues/246#issuecomment-69398591","issue_url":"https://api.github.com/repos/mapbox/rasterio/issues/246","id":69398591,"user":{"login":"sgillies","id":33697,"avatar_url":"https://avatars.githubusercontent.com/u/33697?v=3","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T21:03:42Z","updated_at":"2015-01-09T21:03:42Z","body":"@dnomadb looks like GDAL'S GRIB format driver is read-only: http://www.gdal.org/frmt_grib.html. I googled and found https://github.com/jswhit/pygrib (by the author of pyproj). Maybe we could make it possible to plug this in to Rasterio or at least make a low-friction route to it."}}