validate_file

sofia_redux.instruments.forcast.hdcheck.validate_file(filename, keywords, dripconf=False)[source]

Validate filename header against keywords table

Parameters:
filenamestr

Path to a FITS file

keywordspandas.DataFrame
dripconfbool

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

Returns:
bool

True if all header keywords were validated, False otherwise