Skip to content

Commit

Permalink
Add function to load structured shell config, put description under m…
Browse files Browse the repository at this point in the history
…etadata
  • Loading branch information
danielabdi-noaa committed Jun 6, 2022
1 parent a264a84 commit 7039974
Show file tree
Hide file tree
Showing 85 changed files with 543 additions and 443 deletions.
5 changes: 3 additions & 2 deletions tests/WE2E/get_WE2Etest_names_subdirs_descs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -977,8 +977,9 @@ configuration files of the primary WE2E tests...
#
config_fn="config.${test_name}.yaml"
config_fp="${test_configs_basedir}/$subdir/$config_fn"
test_desc="$(config_to_shell_str $config_fp -k "description")"
test_desc="${test_desc:12}"
test_desc="$(config_to_shell_str $config_fp -k "metadata")"
test_desc="${test_desc:26}"
test_desc="${test_desc::${#test_desc}-1}"
#
# Finally, save the description of the current test as the next element
# of the array prim_test_descs.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the CONUS_25km_GFDLgrid grid (which is a
GFDLgrid type of grid) using the GFS_v16 suite with ICs and LBCs
derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the CONUS_25km_GFDLgrid grid (which is a
GFDLgrid type of grid) using the GFS_v16 suite with ICs and LBCs
derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the CONUS_3km_GFDLgrid grid (which is a
GFDLgrid type of grid) using the GFS_v16 suite with ICs and LBCs
derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the CONUS_3km_GFDLgrid grid (which is a
GFDLgrid type of grid) using the GFS_v16 suite with ICs and LBCs
derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_AK_13km grid using the GFS_v16
physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_AK_13km grid using the GFS_v16
physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_AK_3km grid using the GFS_v16
physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_AK_3km grid using the GFS_v16
physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_13km grid using the GFS_v15p2
physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_13km grid using the GFS_v15p2
physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_13km grid using the GFS_v16
physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_13km grid using the GFS_v16
physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_2017_gfdlmp
physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_2017_gfdlmp
physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_2017_gfdlmp_regional
physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_2017_gfdlmp_regional
physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_v15p2
physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_v15p2
physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_v16
physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_v16
physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the HRRR
physics suite with ICs derived from the FV3GFS and LBCs derived from
the RAP.
Note that this test specifies the file format of the FV3GFS external
model data (from which to generate ICs) to be "grib2" as opposed to
the default value of "nemsio".
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the HRRR
physics suite with ICs derived from the FV3GFS and LBCs derived from
the RAP.
Note that this test specifies the file format of the FV3GFS external
model data (from which to generate ICs) to be "grib2" as opposed to
the default value of "nemsio".
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_2017_gfdlmp
physics suite with ICs and LBCs derived from the GSMGFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_2017_gfdlmp
physics suite with ICs and LBCs derived from the GSMGFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_v15p2
physics suite with ICs and LBCs derived from the GSMGFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_v15p2
physics suite with ICs and LBCs derived from the GSMGFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_v16
physics suite with ICs and LBCs derived from the GSMGFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the GFS_v16
physics suite with ICs and LBCs derived from the GSMGFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the HRRR
physics suite with ICs and LBCs derived from the NAM.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the HRRR
physics suite with ICs and LBCs derived from the NAM.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the RRFS_v1beta
physics suite with ICs and LBCs derived from the NAM.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_25km grid using the RRFS_v1beta
physics suite with ICs and LBCs derived from the NAM.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_3km grid using the GFS_v15_
thompson_mynn_lam3km physics suite with ICs and LBCs derived from FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_3km grid using the GFS_v15_
thompson_mynn_lam3km physics suite with ICs and LBCs derived from FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_3km grid using the GFS_v15p2
physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_3km grid using the GFS_v15p2
physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_3km grid using the GFS_v16
physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUS_3km grid using the GFS_v16
physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_13km grid using the
GFS_v16 physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_13km grid using the
GFS_v16 physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_13km grid using the HRRR
physics suite with ICs derived from the HRRR and LBCs derived from the
RAP.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_13km grid using the HRRR
physics suite with ICs derived from the HRRR and LBCs derived from the
RAP.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_13km grid using the RRFS_v1alpha
physics suite with ICs derived from the HRRR and LBCs derived from the RAP.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_13km grid using the RRFS_v1alpha
physics suite with ICs derived from the HRRR and LBCs derived from the RAP.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_13km grid using the RRFS_v1beta
physics suite with ICs derived from the HRRR and LBCs derived from the RAP.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_13km grid using the RRFS_v1beta
physics suite with ICs derived from the HRRR and LBCs derived from the RAP.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_25km grid using the
GFS_v16 physics suite with ICs and LBCs derived from the FV3GFS.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_25km grid using the
GFS_v16 physics suite with ICs and LBCs derived from the FV3GFS.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_25km grid using the HRRR
physics suite with ICs and LBCs derived from the HRRR.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_25km grid using the HRRR
physics suite with ICs and LBCs derived from the HRRR.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_25km grid using the RRFS_v1beta
physics suite with ICs and LBCs derived from the HRRR.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_25km grid using the RRFS_v1beta
physics suite with ICs and LBCs derived from the HRRR.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_25km grid using the HRRR
physics suite with ICs derived from the HRRR and LBCs derived from the RAP.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_25km grid using the HRRR
physics suite with ICs derived from the HRRR and LBCs derived from the RAP.
user:
RUN_ENVIR: community
workflow:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_25km grid using the RRFS_v1alpha
physics suite with ICs derived from the HRRR and LBCs derived from the RAP.
metadata:
description: >-
This test is to ensure that the workflow running in community mode
completes successfully on the RRFS_CONUScompact_25km grid using the RRFS_v1alpha
physics suite with ICs derived from the HRRR and LBCs derived from the RAP.
user:
RUN_ENVIR: community
workflow:
Expand Down
Loading

0 comments on commit 7039974

Please sign in to comment.