diff --git a/src/mains/CMakeLists.txt b/src/mains/CMakeLists.txt index 874a75c4..bee4de4c 100644 --- a/src/mains/CMakeLists.txt +++ b/src/mains/CMakeLists.txt @@ -80,6 +80,11 @@ ecbuild_add_executable( TARGET soca_convertstate.x LIBS soca ) +ecbuild_add_executable( TARGET soca_converttostructuredgrid.x + SOURCES ConvertToStructuredGrid.cc + LIBS soca + ) + ecbuild_add_executable( TARGET soca_addincrement.x SOURCES AddIncrement.cc LIBS soca diff --git a/src/mains/ConvertToStructuredGrid.cc b/src/mains/ConvertToStructuredGrid.cc new file mode 100644 index 00000000..75d0958d --- /dev/null +++ b/src/mains/ConvertToStructuredGrid.cc @@ -0,0 +1,18 @@ +/* + * (C) Copyright 2017-2024 UCAR + * + * This software is licensed under the terms of the Apache Licence Version 2.0 + * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. + */ + + +#include "oops/runs/ConvertToStructuredGrid.h" +#include "oops/runs/Run.h" +#include "soca/Traits.h" + +int main(int argc, char ** argv) { + oops::Run run(argc, argv); + oops::ConvertToStructuredGrid converttostructuredgrid; + return run.execute(converttostructuredgrid); +} +