Closed
Description
Problem description
When xarray opens a dataset, it stores the the _FillValue in the encoding and replaces values with NaN values. However, using open_rasterio, this behavior does not occur and the _FillValue value is missing. It only has the transform, crs, is_tiled, and res attributes. Also, the encoding is empty.
Expected Output
It would be nice to have the _FillValue as an attribute or in the encoding.
Output of xr.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.10.0-40-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
xarray: 0.10.0rc2
pandas: 0.21.0
numpy: 1.13.2
scipy: 1.0.0
netCDF4: 1.3.1
h5netcdf: 0.5.0
Nio: dev_20170921-05806a2
bottleneck: 1.2.1
cyordereddict: None
dask: 0.15.4
matplotlib: 2.1.0
cartopy: None
seaborn: None
setuptools: 36.6.0
pip: 9.0.1
conda: None
pytest: 3.2.5
IPython: 6.2.1
sphinx: None
Metadata
Metadata
Assignees
Labels
No labels