home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1882430384

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
1882430384 PR_kwDOAMm_X85ZmUAI 8147 Add support for netCDF4.EnumType 16700639 closed 0     25 2023-09-05T17:20:50Z 2024-01-17T19:10:51Z 2024-01-17T07:19:32Z CONTRIBUTOR   0 pydata/xarray/pulls/8147

This pull request add support for enums on netcdf4 backend.

Enum were added in netCDF4-python in 1.2.0 (September 2015). In the netcdf format, they are defined as types and can be use across the dataset to type variable when on creation. They are meant to be an alternative to flag_values, flag_meanings.

This pull request makes it possible for xarray to read existing enums in a file, convert them into flag_values/flag_meanings and save them as enums when an special encoding flag is filled in.

TODO: - [x] Add implementation for other backends ? Will be added in follow-up PR


  • [x] Closes #8144
  • [x] Tests added
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/8147/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

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