Skip to content

Commit 7fc073b

Browse files
authored
GOATS-1007: Change value of search radius in GOA from 15 arcsec to 3 arcmin. (#487)
1 parent 385afde commit 7fc073b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

docs/changes/487.change.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Changed GOA query radius from 15 arcseconds to 3 arcminutes when querying for observation IDs near a target.

src/goats_tom/api_views/target.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def observations_in_radius(
2222
self, request: Request, pk: Optional[str] = None
2323
) -> Response:
2424
"""
25-
Return all unique observation IDs from GOA within 15 arcseconds of a given
25+
Return all unique observation IDs from GOA within 3 arcminutes of a given
2626
target.
2727
2828
Parameters
@@ -64,7 +64,7 @@ def observations_in_radius(
6464
)
6565

6666
# Grab the unique observations.
67-
radius = 15.0 * u.arcsec
67+
radius = 3.0 * u.arcmin
6868
coordinates = SkyCoord(ra=target.ra * u.deg, dec=target.dec * u.deg)
6969
try:
7070
table = GOA.query_raw("science", coordinates=coordinates, radius=radius)

0 commit comments

Comments
 (0)