home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 158078410

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
158078410 MDU6SXNzdWUxNTgwNzg0MTA= 865 How to reduce the output size with to_netcdf? 19703996 closed 0     6 2016-06-02T07:45:28Z 2022-08-24T14:42:48Z 2022-08-19T01:32:04Z NONE      

Hello,

The options of the ds.to_netcdf method allow several netcdf modes and a control of several options (missing values, format...).

Our current options are as follows:

ds.to_netcdf(filenam, 'w', 'NETCDF4', 'netcdf4', encoding={ vkey2:{'dtype': float32,'_FillValue':0}})

Whereas the input size is 6 GiB / variable, the output size reaches 23 GiB / variable.

What is the best strategy in the options to reduce the netcdf output size, other than changing the format (in my exercice we have float32)? In particular, is there some interest in modifying the deprecated "missing_values" attribute?

Thank you in advance,

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/865/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 6 rows from issue in issue_comments
Powered by Datasette · Queries took 2.584ms · About: xarray-datasette