get_visit_radec_from_database

grizli.prep.get_visit_radec_from_database(visit, nmax=200)[source]

Get reference astrometry from grizli database

Parameters
visitdict

Visit dictionary, with product, files, footprint keys

nmax200

Maximum number of alignment sources to return

Returns
radec_filestr

Creates radec file from the database and returns the filename, or None if not overlapping reference sources found