home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 1626630088

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
1626630088 I_kwDOAMm_X85g9GfI 7634 netcdf encoding "significant_digits" rather than least_significant_digit 47397809 closed 0     3 2023-03-16T03:25:27Z 2023-12-21T15:24:19Z 2023-12-21T15:24:18Z NONE      

Is your feature request related to a problem?

The most current version of xarray only seems to support the "least_significant_digit" compression. As of version 1.6.0. of netcdf4-python, thee option to specify "significant_digits" is available. This allows specifying the total number of digits rather than the digits after the the decimal point and is therefore independent of magnitude. https://unidata.github.io/netcdf4-python/#Variable.quantization

Describe the solution you'd like

Allow python ncoding={myvar:{'dtype':'float32', 'zlib': True, 'complevel':5, 'significant_digit':7}, 'time':{'units': 'days since 1800-01-01'}}

Describe alternatives you've considered

No response

Additional context

No response

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7634/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

  • 2 rows from issues_id in issues_labels
  • 3 rows from issue in issue_comments
Powered by Datasette · Queries took 3.691ms · About: xarray-datasette