Skip to content

Commit

Permalink
#2044 Renamed obs_prefbufr_map to obs_prepbufr_map (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Feb 9, 2022
1 parent 221e148 commit 6ec6e71
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion met/data/config/PB2NCConfig_default
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ obs_bufr_map = [];
// abbreviations in the output. This default map is appended to obs_bufr_map.
// This should not typically be overridden.
//
obs_prefbufr_map = [
obs_prepbufr_map = [
{ key = "POB"; val = "PRES"; },
{ key = "QOB"; val = "SPFH"; },
{ key = "TOB"; val = "TMP"; },
Expand Down
6 changes: 3 additions & 3 deletions met/docs/Users_Guide/config_options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3542,9 +3542,9 @@ of the forecast the observation is used to verify.
obs_bufr_map = [];
.. _obs_prefbufr_map:
.. _obs_prepbufr_map:

:ref:`obs_prefbufr_map <obs_prefbufr_map>`
:ref:`obs_prepbufr_map <obs_prepbufr_map>`

Default mapping for PREPBUFR. Replace input BUFR variable names with GRIB
abbreviations in the output. This default map is appended to obs_bufr_map.
Expand All @@ -3554,7 +3554,7 @@ abbreviations to the output.

.. code-block:: none
obs_prefbufr_map = [
obs_prepbufr_map = [
{ key = "POB"; val = "PRES"; },
{ key = "QOB"; val = "SPFH"; },
{ key = "TOB"; val = "TMP"; },
Expand Down
2 changes: 1 addition & 1 deletion met/src/basic/vx_config/config_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ static const char conf_key_message_type_group_map[] = "message_type_group_map";
static const char conf_key_obs_bufr_map[] = "obs_bufr_map";
static const char conf_key_obs_bufr_var[] = "obs_bufr_var";
static const char conf_key_obs_name_map[] = "obs_name_map";
static const char conf_key_obs_prefbufr_map[] = "obs_prefbufr_map";
static const char conf_key_obs_prepbufr_map[] = "obs_prepbufr_map";
static const char conf_key_key[] = "key";
static const char conf_key_val[] = "val";
static const char conf_key_boot_interval[] = "boot.interval";
Expand Down
2 changes: 1 addition & 1 deletion met/src/libcode/vx_nc_obs/nc_obs_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ struct NetcdfObsVars {
NcDim obs_arr_dim ; // Observation array width (V1.0, not used from V1.2)
NcDim obs_dim ; // Observation array length (V1.0)
NcDim hdr_dim ; // Header array length (V1.0)
NcDim pb_hdr_dim ; // PrefBufr Header array length (V1.2)
NcDim pb_hdr_dim ; // PrepfBufr Header array length (V1.2)

NcVar hdr_typ_tbl_var ; // Message type (string) (V1.1)
NcVar hdr_sid_tbl_var ; // Station ID (string) (V1.1)
Expand Down
2 changes: 1 addition & 1 deletion test/config/PB2NCConfig_airnow
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ obs_bufr_map = [];
// This map is for PREPBUFR. It will be added into obs_bufr_map.
// Please do not override this map.
//
obs_prefbufr_map = [
obs_prepbufr_map = [
{ key = "POB"; val = "PRES"; },
{ key = "QOB"; val = "SPFH"; },
{ key = "TOB"; val = "TMP"; },
Expand Down
2 changes: 1 addition & 1 deletion test/config/PB2NCConfig_pbl
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ obs_bufr_map = [];
// abbreviations in the output. This default map is appended to obs_bufr_map.
// This should not typically be overridden.
//
obs_prefbufr_map = [
obs_prepbufr_map = [
{ key = "POB"; val = "PRES"; },
{ key = "QOB"; val = "SPFH"; },
{ key = "TOB"; val = "TMP"; },
Expand Down

0 comments on commit 6ec6e71

Please sign in to comment.