Support variable-length strings

Open
#7,092 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the Iris netCDF load and save paths around cf_var.dtype handling and default fill-value selection, after #6911 and ncdata#223 are resolved. Trace how variable-length string arrays are represented on load and write, then verify that both operations support them without the dtype or fill-value failures described here.

Written by the indexing model from the issue text.

Description

Feature: NetCDF + CF-conventions

As noted in ncdata#223, we can't easily load or save variable-length string arrays, but this has become quite desirable

Ideally we would just have special code to support this 'exception' type in load + save.
It should definitely wait until after #6911 though.
I would hope to return to this after fixing https://github.com/SciTools/ncdata/pull/223

Dominant language
Python
Stars
724
Forks
317
Avg merge
3d 20h
Merged PRs (30d)
9

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.

More from SciTools/iris

All issues in SciTools/iris

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.