RadioAstronomySoftwareGroup / RadioAstronomySoftwareGroup/pyuvdata

Missing antennas error message

Open
#1,291 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue UVData
Dominant language
Python
Stars
102
Forks
36
Avg merge
1d 20h
Merged PRs (30d)
14

Description

I've been running into this error in a script lately, and without having a REPL to attach to it's basically impossible to diagnose for me. I was thinking maybe we should list the antennas which are not in the antenna_numbers array

https://github.com/RadioAstronomySoftwareGroup/pyuvdata/blob/16031096b8559cf1d91768ccdff78ba5811ffa4b/pyuvdata/uvdata/uvdata.py#L3361-L3364

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.

Research direction

Start in pyuvdata/uvdata/uvdata.py at lines 3361-3364, where the missing-antennas error is raised. Reproduce the error from a script without a REPL, then update the message so it identifies the antennas absent from antenna_numbers and verify the resulting diagnostic.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.