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/1736#issuecomment-447903844,https://api.github.com/repos/pydata/xarray/issues/1736,447903844,MDEyOklzc3VlQ29tbWVudDQ0NzkwMzg0NA==,8699967,2018-12-17T16:19:45Z,2018-12-17T16:19:45Z,CONTRIBUTOR,"It would definitely be a fantastic feature to have. Some discussion happened in #2308 to discuss standardizing methods for storing data that would definitely assist with this, however it did not seem like a priority at the time. Definitely feel free to share your opinion and use cases.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,276131376
https://github.com/pydata/xarray/issues/1736#issuecomment-447882917,https://api.github.com/repos/pydata/xarray/issues/1736,447882917,MDEyOklzc3VlQ29tbWVudDQ0Nzg4MjkxNw==,4806877,2018-12-17T15:22:27Z,2018-12-17T15:22:27Z,CONTRIBUTOR,Is there still interest in implementing the `mask` option as outlined in this issue? ,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,276131376
https://github.com/pydata/xarray/issues/1736#issuecomment-346513920,https://api.github.com/repos/pydata/xarray/issues/1736,346513920,MDEyOklzc3VlQ29tbWVudDM0NjUxMzkyMA==,8699967,2017-11-23T01:23:54Z,2017-11-23T01:24:11Z,CONTRIBUTOR,"One thought I had was that there could be a similar parameter to [`mask_and_scale`](https://github.com/pydata/xarray/blob/master/xarray/backends/api.py#L154) added that could be just called `mask` so `open_rasterio` behaves similarly to the `open_dataset` api. The `mask` parameter can allow the user to decide if they want to convert to float to get a mask or leave it alone if they want to preserve the integer data.
I would vote for adding the _FillValue attribute as it conforms with the CF conventions and it will make the dataset work better with other software looking for this value if you write it out with `to_netcdf()`.
Also, on a similar vein, it would be nice to break out the bands into separate variables if it is a multi-band raster. This way, each band can store it's own nodata value and metadata separately in the dataset.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,276131376
https://github.com/pydata/xarray/issues/1736#issuecomment-346427925,https://api.github.com/repos/pydata/xarray/issues/1736,346427925,MDEyOklzc3VlQ29tbWVudDM0NjQyNzkyNQ==,10050469,2017-11-22T17:56:18Z,2017-11-22T17:56:18Z,MEMBER,"What I'm not sure, though, is if we should rename the attribute to _FillValue or keep its name as it is. I am also not sure if we should do the automatic conversion as it is done with the netCDF backends. Quite often geotiff files store iteger types, and filling with NaNs require floats.
Right now I would tend to just parse the `nodatavals` attribute and leave everything else to the user.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,276131376
https://github.com/pydata/xarray/issues/1736#issuecomment-346427043,https://api.github.com/repos/pydata/xarray/issues/1736,346427043,MDEyOklzc3VlQ29tbWVudDM0NjQyNzA0Mw==,10050469,2017-11-22T17:52:48Z,2017-11-22T17:52:48Z,MEMBER,"I agree that it would be nice to have. It seems that the corresponding rasterio attribute is `nodatavals` (https://github.com/mapbox/rasterio/blob/master/docs/topics/masks.rst). It shouldn't be too difficult to add to the existing attributes: https://github.com/pydata/xarray/blob/master/xarray/backends/rasterio_.py#L142
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,276131376