validate_header

sofia_redux.instruments.flitecam.hdcheck.validate_header(header, keywords)[source]

Validate all keywords in a header against the keywords requirement.

Parameters:
headerastropy.io.fits.Header
keywordsconfigobj.ConfigObj
dripconfbool

If True, will check the configuration file for the required parameter before checking headers (using getpar)

Returns:
bool

True if all keywords in the header were validated, False otherwise