astropy / astropy/ccdproc

__repr__ and __str__ of CCDData do not indicate in any way whether the data is masked

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
package-intermediate
Dominant language
Python
Stars
93
Forks
92
Avg merge
14h 44m
Merged PRs (30d)
30

Description

Printing two CCDData objects that are identical except that one has masked data results in the same output -- there is no indication that any elements are masked.

The `__repr__` behaves in the same way: no difference in output.

Really should be fixed in `NDData`...

Contributor guide

Open the contributing guide

Research direction

Start by examining CCDData and the related NDData behavior for __repr__ and __str__. Reproduce the output difference between masked and unmasked data, then define the expected indication of masking and verify that both representations distinguish the two cases.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.