This is an example of how to use the getAuxiliaryPath function.
#include <map>
#include <string>
#include <boost/program_options.hpp>
#include <CCfits/CCfits>
using boost::program_options::variable_value;
namespace Examples {
class CCfitsExample: public Program {
public:
string test_upper_string {"THATSTRING"};
log.info() <<
"This is the test upper string: " << test_upper_string;
string test_lower_string = CCfits::FITSUtil::lowerCase(test_upper_string);
log.info() <<
"This is the test lower string: " << test_lower_string;
log.info() <<
"done with test program! ";
log.info() <<
"Opening the file " << fits_file_path.string();
CCfits::FITS fits_file(fits_file_path.string());
CCfits::ExtHDU& extension = fits_file.extension(1);
log.info() <<
"Extension comments: " << extension.getComments();
}
};
}
}