Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xarray does not support use of '_FillValue' for unicode strings #1102

Open
aburrell opened this issue Apr 4, 2023 · 0 comments
Open

xarray does not support use of '_FillValue' for unicode strings #1102

aburrell opened this issue Apr 4, 2023 · 0 comments
Milestone

Comments

@aburrell
Copy link
Member

aburrell commented Apr 4, 2023

Describe the bug
to_netcdf uses SPDF ISTP/IACG standards for netCDF files by default, which includes the '_FillValue' variable. xarray currently does not support unicode '_FillValue' inputs. This is documented here: pydata/xarray#1647

Expected behavior
Appropriate '_FillValue' attribute should be set for all variables, regardless of type.

Additional context
The current work around removes _FillValue for xarray unicode variables. Once this is supported, the removal of this attribute should be removed.

@aburrell aburrell added this to the Future milestone Apr 4, 2023
@jklenzing jklenzing modified the milestones: Future, 3.3.0 Release Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants