Closed tikk3r closed 1 year ago
Thanks for reporting, that's an issue with the new contains_lonlat
that only takes lists of coordinates.
For now, you can fix by doing :
moc.contains_lonlat([164.43*u.deg], [45.54*u.deg])
Thanks for reporting, that's an issue with the new
contains_lonlat
that only takes lists of coordinates. For now, you can fix by doing :moc.contains_lonlat([164.43*u.deg], [45.54*u.deg])
Ah excellent, that works for now. Thanks!
It is now solved in the dev version (install with :
git clone https://github.com/cds-astro/mocpy.git
cd mocpy
pip install .
) and it will be in the next official release
Don't hesitate to come back if you have any question/concern with the library or the docs :slightly_smiling_face:
With version 0.12.0 or higher I run into the following issue trying to check a coordinate inside a MOC:
The MOC in question is available here and works with lower versions such as 0.11.