askap-vast / vast-tools

A collection of tools that are useful for the VAST project and for exploration of results from the VAST Pipeline.
https://vast-survey.org/vast-tools/
MIT License
8 stars 0 forks source link

Planets query is broken #450

Closed ddobie closed 1 year ago

ddobie commented 1 year ago

Running the following code

planets_query = Query(
    epochs="0,1,2,3,4,5,6,7,8,9,10,11,12", 
    planets=['jupiter', 'venus', 'moon'],
    crossmatch_radius=10.,
    use_tiles=True
)

planets_query.find_fields()

results in the following warnings

/home/jovyan/work/user-conda-envs/vast-tools-dev/lib/python3.9/site-packages/erfa/core.py:4613: RuntimeWarning: invalid value encountered in ld
  p1 = ufunc.ld(bm, p, q, e, em, dlim)
/home/jovyan/work/user-conda-envs/vast-tools-dev/lib/python3.9/site-packages/erfa/core.py:19005: RuntimeWarning: invalid value encountered in anp
  c_retval = ufunc.anp(a)
/home/jovyan/work/user-conda-envs/vast-tools-dev/lib/python3.9/site-packages/erfa/core.py:4613: RuntimeWarning: invalid value encountered in ld
  p1 = ufunc.ld(bm, p, q, e, em, dlim)
/home/jovyan/work/user-conda-envs/vast-tools-dev/lib/python3.9/site-packages/erfa/core.py:19005: RuntimeWarning: invalid value encountered in anp
  c_retval = ufunc.anp(a)
/home/jovyan/work/user-conda-envs/vast-tools-dev/lib/python3.9/site-packages/erfa/core.py:4613: RuntimeWarning: invalid value encountered in ld
  p1 = ufunc.ld(bm, p, q, e, em, dlim)
/home/jovyan/work/user-conda-envs/vast-tools-dev/lib/python3.9/site-packages/erfa/core.py:19005: RuntimeWarning: invalid value encountered in anp
  c_retval = ufunc.anp(a)

and an empty fields_df