sdss_astrombad¶
-
pydl.pydlutils.sdss.sdss_astrombad(run, camcol, field, photolog_version='dr10')[source]¶ For a list of RUN, CAMCOL, FIELD, return whether each field has bad astrometry.
Parameters: run, camcol, field :
intor array ofintRun, camcol and field. If arrays are passed, all must have the same length.
photolog_version :
str, optionalUse this version of photolog to obtain the obBadfields.par file, if
PHOTOLOG_DIRis not set.Returns: numpy.ndarrayofboolArray of bool.
Trueindicates the field is bad.Raises: :exc:`ValueError`
If the sizes of the arrays don’t match or if the array values are out of bounds.
Notes
Reads data from
$PHOTOLOG_DIR/opfiles/opBadFields.par.If there is a problem with one camcol, we assume a problem with all camcols.