hdrequirements

sofia_redux.instruments.forcast.hdrequirements.hdrequirements(kwfile=None)[source]

Returns a dataframe containing the header requirements

If fkeydef is not defined then CALDATA will be checked in the configuration files (data/config_files/) providing a path to the input-key-definition.txt file that will be used.

This following describes IDL data type codes mapped to Python data types:

IDL PYTHON 0 None (maps to string in headers) 1 bool 2 int 3 int 4 float 5 float 6 complex 7 string

Parameters:
kwfilestr

File path to the keyword definition file. The default is input-key-definition.txt

Returns:
pandas.DataFrame