Skip to content

Commit

Permalink
Feature #3006 pair_stat and #3007 vx_ioda (#3057)
Browse files Browse the repository at this point in the history
* Per #3006, add new pair_stat tool as a full copy of the point_stat tool with all instances of point_stat renamed as pair_stat.

* Per #3006, add pair_stat to the list of things for which no 'make test' command is run.

* Per #3006, saving work in progress prior to seneca reboot

* Per #3006, revert back to using FileType instead of GrdFileType. That change was not meaningful or warranted.

* Per #3006, revert back to using FileType instead of GrdFileType. That change was not meaningful or warranted.

* Per #3006, committing changes since the code is compiling. Added IODADataConfig_default file to store default settings for reading IODA data.

* Per #3006, starting to tweak config options. Saving progress while it's successfully compiling

* Per #3006, add fcst.pairs and obs.pairs config entries.

* #3007 Added vx_ioda

* #3007 Added vx_ioda

* #3007 Added vx_ioda

* #3007 Derived from IODADataConfInfo

* #3007 Reduced the code smells (SonarQube findings)

* #3007 Added station_value_base_t and point_pair_t

* Initial release

* #3007 Changed ack the location of nc_point_obs.set_nc_out_data

* Changed station_value_base_t::clear() to station_value_base_t::clear_base()

* Changed bAPI names

* #3007 Reduced code smells

* #3007 CLeanup

* #3007 Cahnged API for IODADataConfInfo

* #3007 Renamed ioda_file to ioda_reader

* #3007 Corrected comment

* #3007 Added -lvx_statistics again

* #3007 Added get_nc_data(NcVar *, unixtime)

* #3007 Cleanup

* #3007 Added add_to_unixtime((unixtime)

* #3007 Reduced the complexiity of read_time. Added read_time_as_number

* #3007 Added read_time_as_number

* #3007 Added add_to_unixtime(unixtime)

* #3007 Cleanup

* #3007 Set bad_data_int to qc_buf

* #3007 Cleanup

* Per #3006, define new GrdFileType::FileType_Pairs enumerated value to be used in the pair_stat tool.

* Per #3006, update pair_stat to use the newly added GrdFileType::FileType_Pairs enumerated value.

* #3007 Temporarily removed pair_stat

* Per #3006, rerun bootstrap on seneca to incorporate the compilation of the vx_ioda library.

* Per #3006, make docs build without warning

* Per #3006, saving compiling state

* Per #3006, use ConcatString instead of std::string for consistency.

* Per #3006, work in progress

* Unrelated to #3006, but fix typo in log message.

* Per #3006, default_column_union was defined in 2 spots. Renaming one of them to avoid compilation conflict.

* Per #3006, move StatHdrInfo out of aggr_stat_line.h/.cc and into vx_stat_out/stat_hdr_info.h/.cc. This make it available to both Stat-Analysis and the Pair-Stat tool to track the unique STAT headers elements read.

* Per #3006, remove the unused land/topo/msg_type type config options from the pair_stat tool's configuration file and code that parses it. If needed, we can add it back in the future.

* Per #3006, update VarInfoPairs::set_dict() to also call VarInfo::set_magic().

* Per #3006, since python_line.h lives in src/basic/vx_util, the vx_util library now also depends on the

* Per #3006, saving off version that compiles before trying changes that may not.

* #3007 Deleted commented out cpde

* Changed data typo (float to double)

* #3007 Resio;lved SonarQube finding

* Per #3006, added logic to track ck unique header input columns like Stat-Analysis does. Committing the current state of this branch prior to merging in changes from the #3007 feature branch and completing development for the beta1 cycle.

* Per #3006, fix indexing for vx_opt

* Per #3006, error out for -format ioda and -format python

* Per #3006, make -format ioda or -format python error out, but add unit tests demonstrating those errors. Also note this in the user's guide.

* Per #3006, replace -outdir with -out and remove output_prefix config option.

* Per #3006, remove output_prefix from Pair-Stat config files.

* Per #3006, update unit_pair_stat.xml to use the -out option.

* Per #3006, working version. However, the filtering by grid is not working all that well right now because it's based on G004.

* Per #3006, expand the Pair-Stat example.

* Per #3006, switch from using global 0.5 degree reference grid to 0.1 degree. This still isn't good enough though. Instead, we need to get rid of the reference grid altogether and keep track of the grid information separately for each mask.

* Per #3006, fix for loop typo in 3 spots

* Per #3006, remove one line from bad merge

* Per #3006, SonarQube updates.

* Per #3006, more SonarQube fixes

* Per #3006, remove desctrutor as recommended by SonarQube

---------

Co-authored-by: Howard Soh <hsoh@seneca.rap.ucar.edu>
Co-authored-by: MET Tools Test Account <met_test@seneca.rap.ucar.edu>
  • Loading branch information
3 people authored Jan 23, 2025
1 parent 8a06acd commit bf40993
Show file tree
Hide file tree
Showing 88 changed files with 7,582 additions and 1,212 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ jobs:
matrix:
include:
- jobid: 'job1'
tests: 'point_stat stat_analysis_ps'
tests: 'point_stat stat_analysis_ps pair_stat'
- jobid: 'job2'
tests: 'grid_stat stat_analysis_gs'
- jobid: 'job3'
Expand Down
2 changes: 2 additions & 0 deletions Make-include
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ MET_CPPFLAGS = -I${top_builddir}/src/basic/vx_cal \
-I${top_builddir}/src/libcode/vx_gnomon \
-I${top_builddir}/src/libcode/vx_grid \
-I${top_builddir}/src/libcode/vx_gsl_prob \
-I${top_builddir}/src/libcode/vx_ioda \
-I${top_builddir}/src/libcode/vx_nav \
-I${top_builddir}/src/libcode/vx_nc_obs \
-I${top_builddir}/src/libcode/vx_nc_util \
Expand Down Expand Up @@ -69,6 +70,7 @@ MET_LDFLAGS = -L${top_builddir}/src/basic/vx_cal \
-L${top_builddir}/src/libcode/vx_gnomon \
-L${top_builddir}/src/libcode/vx_grid \
-L${top_builddir}/src/libcode/vx_gsl_prob \
-L${top_builddir}/src/libcode/vx_ioda \
-L${top_builddir}/src/libcode/vx_nav \
-L${top_builddir}/src/libcode/vx_nc_obs \
-L${top_builddir}/src/libcode/vx_nc_util \
Expand Down
3 changes: 3 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
/* "build modis" */
#undef ENABLE_MODIS

/* "build pair_stat" */
#undef ENABLE_PAIR_STAT

/* "build pb2nc" */
#undef ENABLE_PB2NC

Expand Down
47 changes: 46 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,8 @@ ENABLE_WAVELET_STAT_FALSE
ENABLE_WAVELET_STAT_TRUE
ENABLE_STAT_ANALYSIS_FALSE
ENABLE_STAT_ANALYSIS_TRUE
ENABLE_PAIR_STAT_FALSE
ENABLE_PAIR_STAT_TRUE
ENABLE_POINT_STAT_FALSE
ENABLE_POINT_STAT_TRUE
ENABLE_PLOT_POINT_OBS_FALSE
Expand Down Expand Up @@ -913,6 +915,7 @@ enable_point2grid
enable_shift_data_plane
enable_plot_point_obs
enable_point_stat
enable_pair_stat
enable_stat_analysis
enable_wavelet_stat
enable_series_analysis
Expand Down Expand Up @@ -1645,6 +1648,7 @@ Optional Features:
--disable-plot_point_obs
Disable compilation of plot_point_obs
--disable-point_stat Disable compilation of point_stat
--disable-pair_stat Disable compilation of pair_stat
--disable-stat_analysis Disable compilation of stat_analysis
--disable-wavelet_stat Disable compilation of wavelet_stat
--disable-series_analysis
Expand Down Expand Up @@ -6538,6 +6542,41 @@ else
printf "%s\n" "$as_me: point_stat will not be compiled" >&6;}
fi

# pair_stat

# Check whether --enable-pair_stat was given.
if test ${enable_pair_stat+y}
then :
enableval=$enable_pair_stat; case "${enableval}" in
yes | no ) ENABLE_PAIR_STAT="${enableval}" ;;
*) as_fn_error $? "bad value ${enableval} for --disable-pair_stat" "$LINENO" 5 ;;
esac
else $as_nop
ENABLE_PAIR_STAT="yes"

fi


if test "x$ENABLE_PAIR_STAT" = "xyes"; then
ENABLE_PAIR_STAT_TRUE=
ENABLE_PAIR_STAT_FALSE='#'
else
ENABLE_PAIR_STAT_TRUE='#'
ENABLE_PAIR_STAT_FALSE=
fi


if test "x$ENABLE_PAIR_STAT" = "xyes"; then

printf "%s\n" "#define ENABLE_PAIR_STAT /**/" >>confdefs.h

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: pair_stat will be compiled" >&5
printf "%s\n" "$as_me: pair_stat will be compiled" >&6;}
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: pair_stat will not be compiled" >&5
printf "%s\n" "$as_me: pair_stat will not be compiled" >&6;}
fi

# stat_analysis

# Check whether --enable-stat_analysis was given.
Expand Down Expand Up @@ -10158,7 +10197,7 @@ fi

# Create configured files

ac_config_files="$ac_config_files Makefile scripts/Rscripts/Makefile scripts/Rscripts/include/Makefile scripts/python/Makefile scripts/python/examples/Makefile scripts/python/met/Makefile scripts/python/pyembed/Makefile scripts/python/utility/Makefile scripts/python/tc_diag/Makefile scripts/python/tc_diag/atcf_tools/Makefile scripts/python/tc_diag/config/Makefile scripts/python/tc_diag/diag_lib/Makefile scripts/python/tc_diag/tc_diag_driver/Makefile data/Makefile data/climo/Makefile data/climo/seeps/Makefile data/colortables/Makefile data/colortables/NCL_colortables/Makefile data/config/Makefile data/map/Makefile data/map/admin_by_country/Makefile data/poly/Makefile data/poly/HMT_masks/Makefile data/poly/NCEP_masks/Makefile data/ps/Makefile data/table_files/Makefile data/tc_data/Makefile src/Makefile src/basic/Makefile src/basic/enum_to_string/Makefile src/basic/vx_cal/Makefile src/basic/vx_config/Makefile src/basic/vx_log/Makefile src/basic/vx_math/Makefile src/basic/vx_util/Makefile src/basic/vx_util_math/Makefile src/libcode/Makefile src/libcode/vx_afm/Makefile src/libcode/vx_analysis_util/Makefile src/libcode/vx_color/Makefile src/libcode/vx_data2d/Makefile src/libcode/vx_data2d_factory/Makefile src/libcode/vx_data2d_grib/Makefile src/libcode/vx_data2d_grib2/Makefile src/libcode/vx_data2d_nc_met/Makefile src/libcode/vx_data2d_nc_wrf/Makefile src/libcode/vx_data2d_nc_cf/Makefile src/libcode/vx_data2d_ugrid/Makefile src/libcode/vx_geodesy/Makefile src/libcode/vx_gis/Makefile src/libcode/vx_gnomon/Makefile src/libcode/vx_grid/Makefile src/libcode/vx_gsl_prob/Makefile src/libcode/vx_nav/Makefile src/libcode/vx_solar/Makefile src/libcode/vx_nc_obs/Makefile src/libcode/vx_nc_util/Makefile src/libcode/vx_pb_util/Makefile src/libcode/vx_plot_util/Makefile src/libcode/vx_ps/Makefile src/libcode/vx_pxm/Makefile src/libcode/vx_render/Makefile src/libcode/vx_shapedata/Makefile src/libcode/vx_stat_out/Makefile src/libcode/vx_statistics/Makefile src/libcode/vx_time_series/Makefile src/libcode/vx_physics/Makefile src/libcode/vx_series_data/Makefile src/libcode/vx_regrid/Makefile src/libcode/vx_tc_util/Makefile src/libcode/vx_summary/Makefile src/libcode/vx_python3_utils/Makefile src/libcode/vx_data2d_python/Makefile src/libcode/vx_bool_calc/Makefile src/libcode/vx_pointdata_python/Makefile src/libcode/vx_seeps/Makefile src/tools/Makefile src/tools/core/Makefile src/tools/core/ensemble_stat/Makefile src/tools/core/grid_stat/Makefile src/tools/core/mode/Makefile src/tools/core/mode_analysis/Makefile src/tools/core/pcp_combine/Makefile src/tools/core/point_stat/Makefile src/tools/core/series_analysis/Makefile src/tools/core/stat_analysis/Makefile src/tools/core/wavelet_stat/Makefile src/tools/other/Makefile src/tools/other/ascii2nc/Makefile src/tools/other/lidar2nc/Makefile src/tools/other/gen_ens_prod/Makefile src/tools/other/gen_vx_mask/Makefile src/tools/other/gis_utils/Makefile src/tools/other/ioda2nc/Makefile src/tools/other/madis2nc/Makefile src/tools/other/mode_graphics/Makefile src/tools/other/modis_regrid/Makefile src/tools/other/pb2nc/Makefile src/tools/other/plot_data_plane/Makefile src/tools/other/plot_point_obs/Makefile src/tools/other/wwmca_tool/Makefile src/tools/other/gsi_tools/Makefile src/tools/other/regrid_data_plane/Makefile src/tools/other/point2grid/Makefile src/tools/other/shift_data_plane/Makefile src/tools/other/mode_time_domain/Makefile src/tools/other/grid_diag/Makefile src/tools/tc_utils/Makefile src/tools/tc_utils/tc_dland/Makefile src/tools/tc_utils/tc_pairs/Makefile src/tools/tc_utils/tc_stat/Makefile src/tools/tc_utils/tc_gen/Makefile src/tools/tc_utils/rmw_analysis/Makefile src/tools/tc_utils/tc_rmw/Makefile src/tools/tc_utils/tc_diag/Makefile"
ac_config_files="$ac_config_files Makefile scripts/Rscripts/Makefile scripts/Rscripts/include/Makefile scripts/python/Makefile scripts/python/examples/Makefile scripts/python/met/Makefile scripts/python/pyembed/Makefile scripts/python/utility/Makefile scripts/python/tc_diag/Makefile scripts/python/tc_diag/atcf_tools/Makefile scripts/python/tc_diag/config/Makefile scripts/python/tc_diag/diag_lib/Makefile scripts/python/tc_diag/tc_diag_driver/Makefile data/Makefile data/climo/Makefile data/climo/seeps/Makefile data/colortables/Makefile data/colortables/NCL_colortables/Makefile data/config/Makefile data/map/Makefile data/map/admin_by_country/Makefile data/poly/Makefile data/poly/HMT_masks/Makefile data/poly/NCEP_masks/Makefile data/ps/Makefile data/table_files/Makefile data/tc_data/Makefile src/Makefile src/basic/Makefile src/basic/enum_to_string/Makefile src/basic/vx_cal/Makefile src/basic/vx_config/Makefile src/basic/vx_log/Makefile src/basic/vx_math/Makefile src/basic/vx_util/Makefile src/basic/vx_util_math/Makefile src/libcode/Makefile src/libcode/vx_afm/Makefile src/libcode/vx_analysis_util/Makefile src/libcode/vx_color/Makefile src/libcode/vx_data2d/Makefile src/libcode/vx_data2d_factory/Makefile src/libcode/vx_data2d_grib/Makefile src/libcode/vx_data2d_grib2/Makefile src/libcode/vx_data2d_nc_met/Makefile src/libcode/vx_data2d_nc_wrf/Makefile src/libcode/vx_data2d_nc_cf/Makefile src/libcode/vx_data2d_ugrid/Makefile src/libcode/vx_geodesy/Makefile src/libcode/vx_gis/Makefile src/libcode/vx_gnomon/Makefile src/libcode/vx_grid/Makefile src/libcode/vx_gsl_prob/Makefile src/libcode/vx_nav/Makefile src/libcode/vx_solar/Makefile src/libcode/vx_nc_obs/Makefile src/libcode/vx_nc_util/Makefile src/libcode/vx_pb_util/Makefile src/libcode/vx_plot_util/Makefile src/libcode/vx_ps/Makefile src/libcode/vx_pxm/Makefile src/libcode/vx_render/Makefile src/libcode/vx_shapedata/Makefile src/libcode/vx_stat_out/Makefile src/libcode/vx_statistics/Makefile src/libcode/vx_time_series/Makefile src/libcode/vx_physics/Makefile src/libcode/vx_series_data/Makefile src/libcode/vx_regrid/Makefile src/libcode/vx_tc_util/Makefile src/libcode/vx_summary/Makefile src/libcode/vx_python3_utils/Makefile src/libcode/vx_data2d_python/Makefile src/libcode/vx_bool_calc/Makefile src/libcode/vx_pointdata_python/Makefile src/libcode/vx_seeps/Makefile src/libcode/vx_ioda/Makefile src/tools/Makefile src/tools/core/Makefile src/tools/core/ensemble_stat/Makefile src/tools/core/grid_stat/Makefile src/tools/core/mode/Makefile src/tools/core/mode_analysis/Makefile src/tools/core/pcp_combine/Makefile src/tools/core/point_stat/Makefile src/tools/core/pair_stat/Makefile src/tools/core/series_analysis/Makefile src/tools/core/stat_analysis/Makefile src/tools/core/wavelet_stat/Makefile src/tools/other/Makefile src/tools/other/ascii2nc/Makefile src/tools/other/lidar2nc/Makefile src/tools/other/gen_ens_prod/Makefile src/tools/other/gen_vx_mask/Makefile src/tools/other/gis_utils/Makefile src/tools/other/ioda2nc/Makefile src/tools/other/madis2nc/Makefile src/tools/other/mode_graphics/Makefile src/tools/other/modis_regrid/Makefile src/tools/other/pb2nc/Makefile src/tools/other/plot_data_plane/Makefile src/tools/other/plot_point_obs/Makefile src/tools/other/wwmca_tool/Makefile src/tools/other/gsi_tools/Makefile src/tools/other/regrid_data_plane/Makefile src/tools/other/point2grid/Makefile src/tools/other/shift_data_plane/Makefile src/tools/other/mode_time_domain/Makefile src/tools/other/grid_diag/Makefile src/tools/tc_utils/Makefile src/tools/tc_utils/tc_dland/Makefile src/tools/tc_utils/tc_pairs/Makefile src/tools/tc_utils/tc_stat/Makefile src/tools/tc_utils/tc_gen/Makefile src/tools/tc_utils/rmw_analysis/Makefile src/tools/tc_utils/tc_rmw/Makefile src/tools/tc_utils/tc_diag/Makefile"


if test -n "$MET_DEVELOPMENT"; then
Expand Down Expand Up @@ -10391,6 +10430,10 @@ if test -z "${ENABLE_POINT_STAT_TRUE}" && test -z "${ENABLE_POINT_STAT_FALSE}";
as_fn_error $? "conditional \"ENABLE_POINT_STAT\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${ENABLE_PAIR_STAT_TRUE}" && test -z "${ENABLE_PAIR_STAT_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_PAIR_STAT\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${ENABLE_STAT_ANALYSIS_TRUE}" && test -z "${ENABLE_STAT_ANALYSIS_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_STAT_ANALYSIS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
Expand Down Expand Up @@ -11121,6 +11164,7 @@ do
"src/libcode/vx_bool_calc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcode/vx_bool_calc/Makefile" ;;
"src/libcode/vx_pointdata_python/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcode/vx_pointdata_python/Makefile" ;;
"src/libcode/vx_seeps/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcode/vx_seeps/Makefile" ;;
"src/libcode/vx_ioda/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcode/vx_ioda/Makefile" ;;
"src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
"src/tools/core/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/core/Makefile" ;;
"src/tools/core/ensemble_stat/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/core/ensemble_stat/Makefile" ;;
Expand All @@ -11129,6 +11173,7 @@ do
"src/tools/core/mode_analysis/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/core/mode_analysis/Makefile" ;;
"src/tools/core/pcp_combine/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/core/pcp_combine/Makefile" ;;
"src/tools/core/point_stat/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/core/point_stat/Makefile" ;;
"src/tools/core/pair_stat/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/core/pair_stat/Makefile" ;;
"src/tools/core/series_analysis/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/core/series_analysis/Makefile" ;;
"src/tools/core/stat_analysis/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/core/stat_analysis/Makefile" ;;
"src/tools/core/wavelet_stat/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/core/wavelet_stat/Makefile" ;;
Expand Down
22 changes: 22 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,26 @@ else
AC_MSG_NOTICE([point_stat will not be compiled])
fi

# pair_stat

AC_ARG_ENABLE(pair_stat,
[AS_HELP_STRING([--disable-pair_stat], [Disable compilation of pair_stat])],
[case "${enableval}" in
yes | no ) ENABLE_PAIR_STAT="${enableval}" ;;
*) AC_MSG_ERROR(bad value ${enableval} for --disable-pair_stat) ;;
esac],
[ENABLE_PAIR_STAT="yes"]
)

AM_CONDITIONAL([ENABLE_PAIR_STAT], [test "x$ENABLE_PAIR_STAT" = "xyes"])

if test "x$ENABLE_PAIR_STAT" = "xyes"; then
AC_DEFINE([ENABLE_PAIR_STAT], [], ["build pair_stat"])
AC_MSG_NOTICE([pair_stat will be compiled])
else
AC_MSG_NOTICE([pair_stat will not be compiled])
fi

# stat_analysis

AC_ARG_ENABLE(stat_analysis,
Expand Down Expand Up @@ -1370,6 +1390,7 @@ AC_CONFIG_FILES([Makefile
src/libcode/vx_bool_calc/Makefile
src/libcode/vx_pointdata_python/Makefile
src/libcode/vx_seeps/Makefile
src/libcode/vx_ioda/Makefile
src/tools/Makefile
src/tools/core/Makefile
src/tools/core/ensemble_stat/Makefile
Expand All @@ -1378,6 +1399,7 @@ AC_CONFIG_FILES([Makefile
src/tools/core/mode_analysis/Makefile
src/tools/core/pcp_combine/Makefile
src/tools/core/point_stat/Makefile
src/tools/core/pair_stat/Makefile
src/tools/core/series_analysis/Makefile
src/tools/core/stat_analysis/Makefile
src/tools/core/wavelet_stat/Makefile
Expand Down
38 changes: 38 additions & 0 deletions data/config/IODADataConfig_default
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
////////////////////////////////////////////////////////////////////////////////
//
// IODA Data configuration file.
//
// For additional information, please see the MET User's Guide.
//
////////////////////////////////////////////////////////////////////////////////

//
// Mapping of input IODA variable names to output variables names.
// The default IODA map, obs_var_map, is appended to this map.
//
obs_name_map = [];

//
// Default mapping for Metadata.
//
metadata_map = [
{ key = "message_type"; val = "msg_type,station_ob"; },
{ key = "station_id"; val = "station_id,report_identifier"; },
{ key = "pressure"; val = "air_pressure,pressure"; },
{ key = "height"; val = "height,height_above_mean_sea_level"; },
{ key = "datetime"; val = "datetime,dateTime"; },
{ key = "elevation"; val = "elevation,station_elevation"; },
{ key = "nlocs"; val = "Location"; }
];

//
// Default mapping for obs to qc.
//
obs_to_qc_map = [
{ key = "wind_from_direction"; val = "eastward_wind,northward_wind"; },
{ key = "wind_speed"; val = "eastward_wind,northward_wind"; }
];

missing_thresh = [ <=-1e9, >=1e9, ==-9999 ];

////////////////////////////////////////////////////////////////////////////////
2 changes: 2 additions & 0 deletions data/config/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ config_DATA = \
GridStatConfig_default \
GridDiagConfig_default \
IODA2NCConfig_default \
IODADataConfig_default \
Madis2NcConfig_default \
MODEAnalysisConfig_default \
MODEConfig_default \
MODEMultivarConfig_default \
MTDConfig_default \
PB2NCConfig_default \
PointStatConfig_default \
PairStatConfig_default \
SeriesAnalysisConfig_default \
STATAnalysisConfig_default \
STATAnalysisConfig_GO_Index \
Expand Down
2 changes: 2 additions & 0 deletions data/config/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,15 @@ config_DATA = \
GridStatConfig_default \
GridDiagConfig_default \
IODA2NCConfig_default \
IODADataConfig_default \
Madis2NcConfig_default \
MODEAnalysisConfig_default \
MODEConfig_default \
MODEMultivarConfig_default \
MTDConfig_default \
PB2NCConfig_default \
PointStatConfig_default \
PairStatConfig_default \
SeriesAnalysisConfig_default \
STATAnalysisConfig_default \
STATAnalysisConfig_GO_Index \
Expand Down
Loading

0 comments on commit bf40993

Please sign in to comment.