pydata / pydata/xarray

to_netcdf() should not implicitly load dask arrays of strings into memory

Open
#2,069 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

topic-backends topic-dask
Dominant language
Python
Stars
4.2k
Forks
1.4k
Avg merge
2d 15h
Merged PRs (30d)
14

Description

As discussed in https://github.com/pydata/xarray/pull/2058#discussion_r181606513, we should have an explicit interface of some sort, either via encoding or some new keyword argument to to_netcdf().

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the to_netcdf() implementation and the discussion linked from pull request 2058. Determine whether encoding or a new keyword argument is the appropriate explicit interface, and consider how it should handle dask arrays of strings without implicitly loading them into memory. Done means the behavior is explicit and covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.