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"
80 std::vector< int >& metadata,
81 const char* readopts = 0 )
84 std::string opts =
"";
88 opts = opts +
";" + std::string( readopts );
90 opts = std::string( readopts );
93 if( !m_pcomm->rank() ) std::cout <<
"Reading file (" << filename <<
") with options = [" << opts <<
"]\n";
95 const std::string opts = std::string( ( readopts ? readopts :
"" ) );
96 std::cout <<
"Reading file (" << filename <<
") with options = [" << opts <<
"]\n";
104 rectilinearTag !=
nullptr )
110 metadata.push_back( dimSizes[0] );
111 metadata.push_back( dimSizes[1] );
112 metadata.push_back( dimSizes[2] );