This PR adds a new cli, drp get-calibs --help to use sdss-access to download the master calibration frames from the Utah SAS. Example usage to download all calib frames from 60255: drp get-calibs -m 60255. This uses sdss-access to download the files, which puts them in the $LVM_SANBOX/calib relative to your SAS_BASE_DIR, e.g. $SAS_BASE_DIR/sdsswork/lvm/sandbox/calib/. This mirrors the Utah SAS.
Usage: drp get-calibs [OPTIONS]
Download the master calibration frames
Downloads the master calibration frames from the Utah SAS in
LVM_SANDBOX/calib. This command only downloads files when they do not yet
exist on your local system. To re-download existing files, first delete
your local files.
The syntax for the calibration files are
$LVM_SANDBOX/calib/[mjd]/lvm-m[kind]-[camera].fits. "mjd" is the MJD
directory to download. "kind" is the kind of calib file to download, e.g.
pixmask, bias, fiberflat, without the leading "m". "camera" is the camera
can be a specific, e.g "b1" or all channels with "b*".
Options:
-k, --kind TEXT the kind of files to download, e.g "pixmask". [default:
*]
-m, --mjd TEXT the MJD folder to download [default: *]
-c, --camera TEXT the camera to download, e.g. "b*" or "b1". [default: *]
--help Show this message and exit.
This PR adds a new cli,
drp get-calibs --help
to usesdss-access
to download the master calibration frames from the Utah SAS. Example usage to download all calib frames from 60255:drp get-calibs -m 60255
. This usessdss-access
to download the files, which puts them in the$LVM_SANBOX/calib
relative to yourSAS_BASE_DIR
, e.g.$SAS_BASE_DIR/sdsswork/lvm/sandbox/calib/
. This mirrors the Utah SAS.