Macro mwalib::get_required_fits_key_long_string

source ·
macro_rules! get_required_fits_key_long_string {
    ($fptr:expr, $hdu:expr, $keyword:expr) => { ... };
}
Expand description

Given a FITS file pointer, and a keyword to a long string keyword, pull out the long string of the keyword. This deals with FITSs CONTINUE mechanism by calling a low level fits function.

§Arguments

  • fits_fptr - A reference to the FITSFile object.

  • hdu - A reference to the HDU you want to find keyword in the header of.

  • keyword - String containing the keyword to read.

§Returns

  • A Result containing the value read or an error.