html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/2042#issuecomment-510693104,https://api.github.com/repos/pydata/xarray/issues/2042,510693104,MDEyOklzc3VlQ29tbWVudDUxMDY5MzEwNA==,8699967,2019-07-11T23:46:38Z,2019-07-11T23:46:38Z,CONTRIBUTOR,"A new project called [rioxarray](http://github.com/corteva/rioxarray) has a `to_raster` method with the default driver of `GTiff`. You can use it like so: ``` import rioxarray import xarray xds = xarray.open_rasterio(""myfile.tif"") wgs84_xds = xds.rio.reproject(""EPSG:4326"") wgs84_xds.rio.to_raster(""myfile_wgs84.tif"") ``` It currently only supports 2d/3d `DataArray`s. So, you would have to iterate over your variables to export each one to a raster if you have a `Dataset`.","{""total_count"": 8, ""+1"": 7, ""-1"": 0, ""laugh"": 1, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,312203596