validate_header

sofia_redux.instruments.forcast.hdcheck.validate_header(header, keywords, dripconf=False)[source]

Validate all keywords in a header against the keywords table

Parameters:
headerastropy.io.fits.header.Header
keywordspandas.DataFrame
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