31 #include <boost/filesystem/operations.hpp>
42 (
"help",
"Produce help message")
43 (
"h5", value<string>()->default_value(
""),
"Input HDF5 dataset containing hyperspectral data.")
44 (
"gtif", value<string>()->default_value(
"gtif.tif"),
"Output GeoTIFF raster dataset containing hyperspectral data.")
45 (
"min", value<size_t>()->default_value(0),
"Minimum hyperspectral band to be included in conversion.")
46 (
"max", value<size_t>()->default_value(UINT_MAX),
"Maximum hyperspectral band to be included in conversion.")
47 (
"pos", value<string>()->default_value(
"00000"),
"5 character identification code of scan position to be converted.");
58 || !boost::filesystem::exists(boost::filesystem::path(
m_variables[
"h5"].as<
string>()))
61 ::std::cout <<
m_descr << ::std::endl;