Explore merging `FixedLengthTensor` and `OptionalFixedLengthTensor` into a single class

Open
#173 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
35/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python
Domain
data

Research direction

Review the implementations of FixedLengthTensor and OptionalFixedLengthTensor after #172, focusing on their array behavior. Determine whether one class can consistently support conversion to both plain and masked arrays without creating ambiguous behavior; done means the merge decision and its expected behavior are documented clearly.

Written by the indexing model from the issue text.

Description

After #172 is merged, I would like to explore merging FixedLengthTensor and OptionalFixedLengthTensor into a single class.

But that could be a bit messy because the __array__ would sometimes convert to a plain array and other times convert to a masked array.

Dominant language
Python
Stars
52
Forks
3
Avg merge
36m
Merged PRs (30d)
5

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 developmentseed/zarrista

All issues in developmentseed/zarrista

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.