Skip to content

Commit

Permalink
closer to source
Browse files Browse the repository at this point in the history
  • Loading branch information
juanep97 committed Oct 8, 2024
1 parent dc52720 commit 90e22d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iop4admin/modeladmins/astrosource.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def add_field_stars_from_panstarrs(self, request, queryset):
logger.info(f"Querying PanSTARRS around {main_src.name} ({main_src.coord.ra.deg} {main_src.coord.dec.deg})")

try:
catalog_data = Catalogs.query_criteria(coordinates=f"{main_src.coord.ra.deg} {main_src.coord.dec.deg}", catalog="PANSTARRS", version=1, radius="0.15 deg")
catalog_data = Catalogs.query_criteria(coordinates=f"{main_src.coord.ra.deg} {main_src.coord.dec.deg}", catalog="PANSTARRS", version=1, radius="0.12 deg")
except Exception as e:
logger.error(f"Error querying PanSTARRS around {main_src.name} ({main_src.coord.ra.deg} {main_src.coord.dec.deg}): {e}")
messages.error(request, f"Error querying PanSTARRS around {main_src.name}: {e}")
Expand Down

0 comments on commit 90e22d8

Please sign in to comment.