Convert from/to `xarray`

Open
#441 1 comment 0 reactions 0 assignees View on GitHub

@davidhassell is already working on this.

Since Nov 17, 2026.

  • #442 by @davidhassell — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
data

Research direction

Read issue #394 for the existing conversion from cfdm to xarray, then inspect the related conversion entry points and tests. Implement conversion from xarray datasets to in-memory cfdm.Field and cfdm.Domain constructs; done means both conversions are covered by tests. Pull request #442 is already open for this issue, so the work is underway.

Written by the indexing model from the issue text.

Description

dataset read dataset write enhancement xarray

It would be nice to be able to convert from xarray datasets to cfdm.Field and cfdm.Domain constructs in memory.

See #394 (convert to xarray)

Dominant language
Python
Stars
32
Forks
14
Avg merge
3d 20h
Merged PRs (30d)
1

Getting set up

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.

More from NCAS-CMS/cfdm

All issues in NCAS-CMS/cfdm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.