fetch_wfpc2_calib

grizli.utils.fetch_wfpc2_calib(file='g6q1912hu_r4f.fits', path=None, use_mast=False, verbose=True, overwrite=True, skip_existing=True)[source]

Fetch static WFPC2 calibration file and run stsci.tools.convertwaiveredfits on it.

path : str
Output path of the reference file (generally should be in $uref).
use_mast : bool
If True, try to fetch from “mast.stsci.edu//api/v0/download/file?uri”, otherwise, fetch from a static directory “ssb.stsci.edu/cdbs_open/cdbs/uref_linux/”.