Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find_chandra_obsid behaviour when there's no coverage #883

Open
DougBurke opened this issue Jun 27, 2024 · 0 comments
Open

find_chandra_obsid behaviour when there's no coverage #883

DougBurke opened this issue Jun 27, 2024 · 0 comments

Comments

@DougBurke
Copy link
Member

Why am I seeing this error message:

% find_chandra_obsid "a2472" v=4
Running: find_chandra_obsid
  version: 06 January 2023
Querying name resolvers for name=a2472
Found ra=340.47375 dec=17.54166667
    = 22h 41m 53.69999999999294s 17d 32' 30.000012000005256"
Querying Chandra archive for ra=340.47375 dec=17.54166667 radius=0.016666666666666666 inst=all grat=all
Retrieving URL: https://cxcfps.cfa.harvard.edu/cgi-bin/cda/footprint/get_vo_table.pl?strict=1&POS=340.47375,17.54166667&SIZE=0.016666666666666666 timeout=None
Search returned 0 rows
Chandra search found 0 results
After removing duplicates, have 0 matches
# find_chandra_obsid (06 January 2023): ERROR max() arg is an empty sequence

It should error out better than this. What has changed?

@DougBurke DougBurke changed the title find_chandra_obsid behaviour when there find_chandra_obsid behaviour when there's no coverage Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant