17 #ifndef MB_REMAPPER_HPP
18 #define MB_REMAPPER_HPP
28 #ifdef MOAB_HAVE_TEMPESTREMAP
29 #include "netcdfcpp.h"
30 #include "TempestRemapAPI.h"
32 #error "This tool depends on TempestRemap library. Reconfigure using --with-tempestremap"
83 std::vector< int >& metadata,
84 const char* readopts = 0 )
87 std::string opts =
"";
91 opts = opts +
";" + std::string( readopts );
93 opts = std::string( readopts );
96 if( !m_pcomm->rank() ) std::cout <<
"Reading file (" << filename <<
") with options = [" << opts <<
"]\n";
98 const std::string opts = std::string( ( readopts ? readopts :
"" ) );
99 std::cout <<
"Reading file (" << filename <<
") with options = [" << opts <<
"]\n";
107 rectilinearTag !=
nullptr )
114 metadata.push_back( dimSizes[0] );
115 metadata.push_back( dimSizes[1] );
116 metadata.push_back( dimSizes[2] );