Skip to content

Commit

Permalink
Per #2880, add a Point2Grid unit test to demonstrate using the obs_qu…
Browse files Browse the repository at this point in the history
…ality_inc and obs_quality_exc options.
  • Loading branch information
JohnHalleyGotway committed Oct 1, 2024
1 parent 73ae273 commit 481bd99
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/test_unit/config/Point2GridConfig_WINDS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
obs_quality_inc = [ "2" ];
obs_quality_exc = [ "1" ];
17 changes: 17 additions & 0 deletions internal/test_unit/xml/unit_point2grid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,23 @@
</output>
</test>

<test name="point2grid_pb2nc_WINDS">
<exec>&MET_BIN;/point2grid</exec>
<param> \
&OUTPUT_DIR;/pb2nc/ndas.20120409.t12z.prepbufr.tm00.nc \
G212 \
&OUTPUT_DIR;/point2grid/pb2nc_WINDS.nc \
-field 'name="UGRD"; level="*";' \
-field 'name="VGRD"; level="*";' \
-name UWIND,VWIND \
-config &CONFIG_DIR;/Point2GridConfig_WINDS \
-v 3
</param>
<output>
<grid_nc>&OUTPUT_DIR;/point2grid/pb2nc_WINDS.nc</grid_nc>
</output>
</test>

<test name="point2grid_pb2nc_TMP">
<exec>&MET_BIN;/point2grid</exec>
<param> \
Expand Down

0 comments on commit 481bd99

Please sign in to comment.