Skip to content

Commit

Permalink
Some placeholders before debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryMartin-NOAA committed Aug 7, 2023
1 parent 0741a92 commit ca3d01f
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
1 change: 1 addition & 0 deletions utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ find_package(soca REQUIRED)

add_subdirectory(soca)
add_subdirectory(ioda_example)
add_subdirectory(test)
8 changes: 4 additions & 4 deletions utils/ioda_example/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ecbuild_add_executable( TARGET gdas_dumpioda.x
SOURCES gdas_dumpioda.cc )
ecbuild_add_executable( TARGET gdas_meanioda.x
SOURCES gdas_meanioda.cc )

target_compile_features( gdas_dumpioda.x PUBLIC cxx_std_17)
target_link_libraries( gdas_dumpioda.x PUBLIC oops ioda)
target_compile_features( gdas_meanioda.x PUBLIC cxx_std_17)
target_link_libraries( gdas_meanioda.x PUBLIC oops ioda)

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "gdas_dumpioda.h"
#include "gdas_meanioda.h"
#include "oops/runs/Run.h"

// this is an example application that
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions utils/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Test example IODA utility that computes the mean of a variable
ecbuild_add_test( TARGET test_gdasapp_util_ioda_example
COMMAND ${CMAKE_BINARY_DIR}/bin/gdas_meanioda.x
ARGS "testinput/gdas_meanioda.yaml"
LIBS gdas-utils)
11 changes: 11 additions & 0 deletions utils/test/testinput/gdas_meanioda.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
window begin: 2020-11-01T09:00:00Z
window end: 2020-11-01T15:00:00Z
obs space:
name: amsua_n19
obsdatain:
engine:
type: H5File
obsfile: Data/ufo/testinput_tier_1/instruments/radiance/amsua_n19_obs_2020110112_m.nc4
simulated variables: [brightnessTemperature]
observed variables: [brightnessTemperature]
channel: 6

0 comments on commit ca3d01f

Please sign in to comment.