Skip to content

Commit

Permalink
bug fix regarding accessing the config to create a verification grid
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalbo committed Jan 16, 2024
1 parent 0fdd088 commit 84d8990
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tools/core/mode/mode_exec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,10 @@ void ModeExecutive::setup_verification_grid(const ModeInputData &fcst,
Fcst_sd.data = fcst._dataPlane;
Obs_sd.data = obs._dataPlane;

// set this local conf to point to forecast 0, so that that regrid info
// can be accessed and it can be decided if we are to use fcst or obs
// input
engine.conf_info.set_data_type(ModeDataType_MvMode_Fcst);
engine.conf_info.set_field_index(0);
grid = parse_vx_grid(engine.conf_info.Fcst->var_info->regrid(),
&fcst._grid, &obs._grid);
Expand Down

0 comments on commit 84d8990

Please sign in to comment.