Skip to content

Commit

Permalink
Per #1020, update point_stat and ensemble_stat to write the obs_info …
Browse files Browse the repository at this point in the history
…units to the OBS_UNITS output column instead of writing a constant NA string.
  • Loading branch information
JohnHalleyGotway committed Jun 5, 2020
1 parent d8c943a commit 0dd266d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion met/src/tools/core/ensemble_stat/ensemble_stat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ void process_point_scores() {
shc.set_obs_var(conf_info.vx_opt[i].vx_pd.obs_info->name());

// Store the observation variable units
shc.set_obs_units(na_string);
shc.set_obs_units(conf_info.vx_opt[i].vx_pd.obs_info->units());

// Set the observation level name
shc.set_obs_lev(conf_info.vx_opt[i].vx_pd.obs_info->level_name().text());
Expand Down
2 changes: 1 addition & 1 deletion met/src/tools/core/point_stat/point_stat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ void process_scores() {
shc.set_obs_var(conf_info.vx_opt[i].vx_pd.obs_info->name());

// Store the observation variable units
shc.set_obs_units(na_string);
shc.set_obs_units(conf_info.vx_opt[i].vx_pd.obs_info->units());

// Set the observation level name
shc.set_obs_lev(conf_info.vx_opt[i].vx_pd.obs_info->level_name().c_str());
Expand Down

0 comments on commit 0dd266d

Please sign in to comment.