home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 361473052

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/1865#issuecomment-361473052 https://api.github.com/repos/pydata/xarray/issues/1865 361473052 MDEyOklzc3VlQ29tbWVudDM2MTQ3MzA1Mg== 6153603 2018-01-30T04:22:19Z 2018-01-30T04:22:19Z CONTRIBUTOR

My apologies for having to re-open the issue, I should have tried the fix before closing.

I get the following error after changing my last line to: ds.to_netcdf('/tmp/test.nc', encoding={'lat': {'_FillValue': None}, 'lon': {'_FillValue': None}}) as suggested.

File "/path/to/python3.6/site-packages/xarray/backends/netCDF4_.py", line 354, in prepare_variable unlimited_dims=unlimited_dims) File "/path/to/python3.6/site-packages/xarray/backends/netCDF4_.py", line 176, in _extract_nc4_variable_encoding ' %r' % (backend, invalid)) ValueError: unexpected encoding parameters for 'netCDF4' backend: ['_FillValue'] Do we just need to append '_FillValue' to the list of ` valid_encodings = set(['zlib', 'complevel', 'fletcher32', 'contiguous', 'chunksizes', 'shuffle'])

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  292585285
Powered by Datasette · Queries took 0.572ms · About: xarray-datasette