Append mode: address domain ancillary limitation

Open
#141 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reading the items labelled (1) in the linked pull-request comment, then inspect the test_write_netcdf_mode unit test and its handling of the n=1 example field. Done means the test includes an iteration appending that field and passes without an extra field or incorrect domain ancillaries.

Written by the indexing model from the issue text.

Description

dataset write

Decide on, and implement, a solution to address the issue outlined in the items labelled (1) regarding domain ancillaries and the corresponding formula terms in https://github.com/NCAS-CMS/cfdm/pull/69#issuecomment-840211173.

A successful solution can be confirmed by including an iteration concerning appending the n=1 example field (the only example field with domain ancillaries) to the test_write_netcdf_mode unit test and it passing, rather than failing due to an extra field being present and/or the field in question as appended not possessing the right domain ancils. For that reason, the append mode of #69 excludes that example field from the unit test.

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.