Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/mains/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,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
Expand Down
18 changes: 18 additions & 0 deletions src/mains/ConvertToStructuredGrid.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* (C) Copyright 2017-2021 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<soca::Traits> converttostructuredgrid;
return run.execute(converttostructuredgrid);
}