astropy / astropy/astroquery

BUG: CASDA query at 0 DEC exactly

Open
#3,376 2 comments 0 reactions 0 assignees View on GitHub
bug casda
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

Hi,

I've noticed that `astroquery.casda.Casda.query_region` fails if the sky coordinates are given at exactly 0 declination.

I'm not sure why, as the error message is not very descriptive, but it doesn't seem to be an integer vs float issue at least, and it also doesn't seem to be this particular region of sky, as a tiny deviation from 0 DEC does work:

Image

This is using
```
astroquery.__version__
'0.4.10.dev9924'
```

Contributor guide

Open the contributing guide

Research direction

Start at astroquery.casda.Casda.query_region and reproduce the failure with a coordinate at exactly 0 declination, then compare it with a tiny nonzero declination. Inspect the resulting error and the surrounding CASDA query behavior; done means the exact-zero case succeeds without breaking nearby coordinates.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.