Skip to content

Commit

Permalink
Update remaining chgres regression test scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGayno-NOAA committed Jan 13, 2022
1 parent 63b18ef commit ea4e891
Show file tree
Hide file tree
Showing 14 changed files with 39 additions and 1 deletion.
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/13km.conus.nam.grib2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< 13-KM CONUS NAM GRIB2 TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "13km_conus_nam_grib2" $commit_num
fi
else
echo "<<< 13-KM CONUS NAM GRIB2 TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/13km.conus.rap.grib2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< 13-km CONUS RAP W/ GSD PHYSICS AND SFC FROM FILE GRIB2 TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "13km_conus_rap_grib2" $commit_num
fi
else
echo "<<< 13-km CONUS RAP W/ GSD PHYSICS AND SFC FROM FILE GRIB2 TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/13km.na.gfs.ncei.grib2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< 13-KM NA GFS NCEI GRIB2 TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "13km_na_gfs_ncei_grib2" $commit_num
fi
else
echo "<<< 13-KM NA GFS NCEI GRIB2 TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/3km.conus.hrrr.gfssdf.grib2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< 3-km CONUS HRRR W/ GFS PHYSICS GRIB2 TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "3km_conus_hrrr_gfssdf_grib2" $commit_num
fi
else
echo "<<< 3-km CONUS HRRR W/ GFS PHYSICS GRIB2 TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/3km.conus.hrrr.newsfc.grib2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< 3-km CONUS HRRR W/ GSD PHYSICS AND SFC FROM FILE GRIB2 TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "3km_conus_hrrr_newsfc_grib2" $commit_num
fi
else
echo "<<< 3-km CONUS HRRR W/ GSD PHYSICS AND SFC FROM FILE GRIB2 TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/c192.fv3.history.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< C192 FV3 HISTORY TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "c192_fv3_history" $commit_num
fi
else
echo "<<< C192 FV3 HISTORY TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/c192.gfs.grib2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< C192 GFS GRIB2 TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "c192_gfs_grib2" $commit_num
fi
else
echo "<<< C192 GFS GRIB2 TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/c96.fv3.nemsio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< C96 FV3 GAUSSIAN NEMSIO TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "c96_fv3_nemsio" $commit_num
fi
else
echo "<<< C96 FV3 GAUSSIAN NEMSIO TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/c96.fv3.netcdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< C96 FV3 GAUSSIAN NETCDF TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "c96_fv3_netcdf" $commit_num
fi
else
echo "<<< C96 FV3 GAUSSIAN NETCDF TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/c96.fv3.netcdf2wam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< C96 FV3 GAUSSIAN NETCDF2WAM TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "c96_fv3_netcdf2wam" $commit_num
fi
else
echo "<<< C96 FV3 GAUSSIAN NETCDF2WAM TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/c96.gfs.nemsio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< C96 GFS GAUSSIAN NEMSIO TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "c96_gfs_nemsio" $commit_num
fi
else
echo "<<< C96 GFS GAUSSIAN NEMSIO TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/c96.gfs.sigio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< C96 GFS SIGIO TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "c96_gfs_sigio" $commit_num
fi
else
echo "<<< C96 GFS SIGIO TEST PASSED. >>>"
fi
Expand Down
3 changes: 3 additions & 0 deletions reg_tests/chgres_cube/c96.regional.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ done
set +x
if [ $test_failed -ne 0 ]; then
echo "<<< C96 REGIONAL TEST FAILED. >>>"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEufs/reg_tests/update_baseline.sh $HOMEreg "c96_regional" $commit_num
fi
else
echo "<<< C96 REGIONAL TEST PASSED. >>>"
fi
Expand Down
1 change: 0 additions & 1 deletion reg_tests/chgres_cube/driver.orion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ fi
export HOMEufs=$PWD/../..

export HOMEreg=/work/noaa/nems/role-nems/ufs_utils/reg_tests/chgres_cube
#export HOMEreg=/work/noaa/da/ggayno/save/ufs_utils.git/reg_tests.test/chgres_cube

LOG_FILE=consistency.log
SUM_FILE=summary.log
Expand Down

0 comments on commit ea4e891

Please sign in to comment.