Skip to content

Commit

Permalink
Per #1055, add a test to unit_regrid.xml to demonstrate the processin…
Browse files Browse the repository at this point in the history
…g of the rotated lat/lon grid from a CF-compliant NetCDF file.
  • Loading branch information
JohnHalleyGotway committed Feb 5, 2022
1 parent c1814ca commit 8d09093
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/xml/unit_regrid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -373,4 +373,20 @@
</output>
</test>

<!-- Regrid rotated lat/lon NetCDF data -->

<test name="regrid_data_plane_NC_ROT_LAT_LON">
<exec>&MET_BIN;/regrid_data_plane</exec>
<param> \
&DATA_DIR_MODEL;/nccf/india_rotated_unrotated_grid.nc \
"latlon 250 220 -10 54 0.25 0.25" \
&OUTPUT_DIR;/regrid/regrid_data_plane_NC_ROT_LAT_LON.nc \
-field 'name="number_of_lightning_flashes"; level="(*,*)";' \
-method MAX -width 5
</param>
<output>
<grid_nc>&OUTPUT_DIR;/regrid/regrid_data_plane_NC_ROT_LAT_LON.nc</grid_nc>
</output>
</test>

</met_test>

0 comments on commit 8d09093

Please sign in to comment.