Skip to content

Commit

Permalink
#2857 Added two unit tests: point2grid_sea_ice_tripolar and point2gri…
Browse files Browse the repository at this point in the history
…d_sea_ice_tripolar_config
  • Loading branch information
Howard Soh committed Jun 28, 2024
1 parent afe3815 commit 53abc4b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions internal/test_unit/xml/unit_point2grid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,41 @@
</output>
</test>

<test name="point2grid_sea_ice_tripolar">
<exec>&MET_BIN;/point2grid</exec>
<env>
<pair><name>MET_TMP_DIR</name> <value>&OUTPUT_DIR;/point2grid</value></pair>
</env>
<param> \
&DATA_DIR_OBS;/point_obs/iceh.2018-01-03.c00.small.nc \
G171 \
&OUTPUT_DIR;/point2grid/point2grid_sea_ice.nc \
-field 'name="uvel_d"; level="(0,*,*)";' -field 'name="hi_d"; level="(0,*,*)";' \
-v 1
</param>
<output>
<grid_nc>&OUTPUT_DIR;/point2grid/point2grid_sea_ice.nc</grid_nc>
</output>
</test>

<test name="point2grid_sea_ice_tripolar_config">
<exec>&MET_BIN;/point2grid</exec>
<env>
<pair><name>MET_TMP_DIR</name> <value>&OUTPUT_DIR;/point2grid</value></pair>
</env>
<param> \
&DATA_DIR_OBS;/point_obs/iceh.2018-01-03.c00.small.nc \
G171 \
&OUTPUT_DIR;/point2grid/point2grid_sea_ice_snow.nc \
-config &CONFIG_DIR;/Point2GridConfig_lat_lon \
-field 'name="hs_d_without_att"; level="(0,*,*)";' \
-v 1
</param>
<output>
<grid_nc>&OUTPUT_DIR;/point2grid/point2grid_sea_ice_snow.nc</grid_nc>
</output>
</test>

<test name="point2grid_GOES_16_AOD_TO_G212_unsigned">
<exec>&MET_BIN;/point2grid</exec>
<env>
Expand Down

0 comments on commit 53abc4b

Please sign in to comment.