issue_comments: 333175863
This data as json
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/1598#issuecomment-333175863 | https://api.github.com/repos/pydata/xarray/issues/1598 | 333175863 | MDEyOklzc3VlQ29tbWVudDMzMzE3NTg2Mw== | 13837821 | 2017-09-29T16:37:07Z | 2017-09-29T16:37:20Z | CONTRIBUTOR | @jhamman In brief, it's weird. Engine | encoding['_FillValue'] = False | Do nothing ----- | ----- | ----- netCDF4 | Filling off | Filling on scipy | Filling off | Filling off h5netcdf | Filling on | Filling off So, this is some peculiar behavior. Setting Code below: ``` import xarray as xr import numpy as np import pandas as pd ds = xr.Dataset({'foo': (('x', 'y'), np.random.rand(4, 5))}, coords={'x': [10, 20, 30, 40], 'y': pd.date_range('2000-01-01', periods=5), 'z': ('x', list('abcd'))}) ds.to_netcdf('notset_scipy.nc', engine='scipy') ds.to_netcdf('notset_netcdf4.nc', engine='netcdf4') ds.to_netcdf('notset_h5netcdf.nc', engine='h5netcdf') ds.y.encoding['_FillValue'] = False ds.to_netcdf('False_scipy.nc', engine='scipy') ds.to_netcdf('False_netcdf4.nc', engine='netcdf4') ds.to_netcdf('False_h5netcdf.nc', engine='h5netcdf') ``` netCDF4
scipy
h5netcdf
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
261403591 |