The aiapy.calibrate.correct_degradation function can optionally be passed a keyword argument correction_table which can be either a path to a file with the properly formatted correction parameters (e.g. from SSW) or an astropy table that has already been created from such a file. This is much more efficient than querying JSOC every time and may be necessary in cases where you don't have an internet connection. It may be best to actually document this in the aiapy.calibrate.degradation function instead.
In GitLab by @wtbarnes on Jun 30, 2020, 19:34
The
aiapy.calibrate.correct_degradation
function can optionally be passed a keyword argumentcorrection_table
which can be either a path to a file with the properly formatted correction parameters (e.g. from SSW) or an astropy table that has already been created from such a file. This is much more efficient than querying JSOC every time and may be necessary in cases where you don't have an internet connection. It may be best to actually document this in theaiapy.calibrate.degradation
function instead.