Skip to content

Commit

Permalink
Per #2168, work in progress trying to get the tc_diag unit test to work.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Jun 2, 2023
1 parent f3fa585 commit 8a9068b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
17 changes: 7 additions & 10 deletions internal/test_unit/config/TCDiagConfig_ian
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,20 @@ lead = [ "0", "6", "12", "18", "24" ];
////////////////////////////////////////////////////////////////////////////////

//
// Domain-specific cylindrical coordinate transformation and diagnostics scripts
// Python diagnostic scripts to be run
// May be set separately in each "domain_info" entry
//
diag_script = [ "MET_BASE/python/tc_diag/compute_tc_diagnostics.py" ];

//
// Domain-specific cylindrical coordinate transformation
//
domain_info = [
{
domain = "parent";
n_range = 150;
n_azimuth = 8;
delta_range_km = 10.0;
diag_script = [ "MET_BASE/python/tc_diag/compute_all_diagnostics.py",
"MET_BASE/python/tc_diag/compute_custom_diagnostics.py" ];
},
{
domain = "nest";
n_range = 100;
n_azimuth = 8;
delta_range_km = 10.0;
diag_script = [ "MET_BASE/python/tc_diag/compute_sst_diagnostics.py" ];
}
];

Expand Down
6 changes: 3 additions & 3 deletions internal/test_unit/xml/unit_tc_diag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
&MET_BIN;/tc_diag</exec>
<param> \
-deck &DATA_DIR;/adeck/aal092022_OFCL_SHIP_AVNO.dat \
-data parent &OUTPUT_DIR;/tc_diag/gfs_2022092400_file_list \
-data parent GFSO &OUTPUT_DIR;/tc_diag/gfs_2022092400_file_list \
-config &CONFIG_DIR;/TCDiagConfig_ian \
-outdir &OUTPUT_DIR;/tc_diag/IAN_OFCL_2022092400 \
-outdir &OUTPUT_DIR;/tc_diag/IAN_GFSO_2022092400 \
-v 2
</param>
<output>
<grid_nc>&OUTPUT_DIR;/tc_diag/IAN_OFCL_2022092400</grid_nc>
<exists>&OUTPUT_DIR;/tc_diag/IAN_GFSO_2022092400/tc_diag_.nc</exists>
</output>
</test>

Expand Down

0 comments on commit 8a9068b

Please sign in to comment.