You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting rad=0.01 and the final footprint ends up being basically 0.1 degrees in each direction. Any help much appreciated. Thanks.
The text was updated successfully, but these errors were encountered:
JordanDSilva
changed the title
mas.Observations.query_criteria radius is a factor of ~10 bigger than supplied value
mast.Observations.query_criteria radius is a factor of ~10 bigger than supplied value
Feb 9, 2024
Hi - If I understand your question correctly, this is not a bug! HST images from WFPC2, for example, can have fields of view up to ~2.7 arcminutes (0.045 degrees), which is considerably larger than your search radius. The "s_ra" and "s_dec" column that are returned by Observations.query_criteria() are the center position of each image, but do not capture the full extent of the image. From the center coordinate alone, the returned results may seem like they fall outside of your search radius, but your coordinates do fall within the full field of view of the HST image.
Here is the same search performed in the MAST web portal, for example. The AstroView window shows the footprints of each individual HST image. Many of them overlap with your coordinates, despite the center position being outside of your initial search radius. This makes the spatial footprint covered by the results much larger than your initial search radius.
The search radius assumes units of degrees unless it's supplied as an astropy Quantity object. You could use rad = 1*u.arcsec, for example, if you want to specify different units.
I hope that helps!
I use
`
from astroquery.mast import Observations
from astropy.coordinates import SkyCoord
coord = SkyCoord(53.17644, -27.70218, frame = "icrs", unit = "deg")
rad = 0.01
Observations.query_criteria(coordinates=coord,
radius = rad,
project="HST",
dataproduct_type=["IMAGE", "image"]
)
`
Setting rad=0.01 and the final footprint ends up being basically 0.1 degrees in each direction. Any help much appreciated. Thanks.
The text was updated successfully, but these errors were encountered: