23 #include <boost/program_options.hpp> 25 #include <CCfits/CCfits> 33 using boost::program_options::variable_value;
46 string test_upper_string {
"THATSTRING"};
47 log.info() <<
"This is the test upper string: " << test_upper_string;
50 string test_lower_string = CCfits::FITSUtil::lowerCase(test_upper_string);
51 log.info() <<
"This is the test lower string: " << test_lower_string;
53 log.info() <<
"done with test program! ";
56 log.info() <<
"Opening the file " << fits_file_path.string();
57 CCfits::FITS fits_file(fits_file_path.string());
60 CCfits::ExtHDU& extension = fits_file.extension(1);
63 log.info() <<
"Extension comments: " << extension.getComments();
ExitCode
Strongly typed exit numbers.
Macro to silence unused variables warnings from the compiler.
ExitCode mainMethod(ELEMENTS_UNUSED map< string, variable_value > &args) override
provide functions to retrieve auxiliary files
ELEMENTS_API boost::filesystem::path getAuxiliaryPath(const T &file_name, bool raise_exception=true)
Abstract class for all Elements programs.
#define MAIN_FOR(ELEMENTS_PROGRAM_NAME)
static Logging getLogger(const std::string &name="")