home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 523893854

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
523893854 MDExOlB1bGxSZXF1ZXN0MzQxNzkwMzY2 3544 Open dataset cf options conflict solving 5948670 open 0     0 2019-11-16T20:43:39Z 2022-06-09T14:50:17Z   CONTRIBUTOR   0 pydata/xarray/pulls/3544

It took some time*, but here is a suggestion to solve option conflicts in xarray.open_dataset().

If any of the options mask_and_scale, decode_times, concat_characters, or decode_coords is manually set and contradicts the manually set choice of decode_cf a ValueError will be raised. This commit requires to change some option default values of open_dataset() parameters from True to None. I hope this is acceptable.

  • [x] Closes #3020
  • [x] Tests added
  • [x] Passes black . && flake8 (mypypasses in principle, but backends/api.py:21 has an unrelated error)
  • [x] Fully documented,
  • [ ] including whats-new.rst for all changes and api.rst for new API

What do you think? Do I have to add something to whats-new.rst and api.rst?

PS: (*) This is my first PR of this kind and I wanted to build it in a proper testing environment, but I had to set this up first.

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

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