Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 1904 gen_ens_prod #1927

Merged
merged 26 commits into from
Oct 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
98312f0
Per #1904, add gen_ens_prod tool. Note that this is a complete copy o…
JohnHalleyGotway Sep 10, 2021
df7cebb
Per #1904, update the gen-ens-prod documentation labels, switching _E…
JohnHalleyGotway Sep 10, 2021
81a21ba
Per #1904, more renaming of EnsembleStat to GenEnsProd in the code an…
JohnHalleyGotway Sep 10, 2021
81b82c1
Per #1904, add updated version of the MET flowchart for version 10.1.0.
JohnHalleyGotway Sep 10, 2021
828d120
Per #1904, add make directives for running a sample call to gen_ens_p…
JohnHalleyGotway Sep 22, 2021
0440db1
Per #1904, updates to the default Gen-Ens-Prod config file.
JohnHalleyGotway Sep 22, 2021
4a990ea
Per #1904, strip out the logic from Ensemble-Stat that does not apply…
JohnHalleyGotway Sep 22, 2021
66e3bf9
Per #1904, updates to the Gen-Ens-Prod documentation. These are not c…
JohnHalleyGotway Sep 22, 2021
ec188ea
Per #1904, fix command line in example to use -out instead of -outdir.
JohnHalleyGotway Sep 23, 2021
e5dfe0e
Per #1904, removing lots of uneeded code. Update to read climatology …
JohnHalleyGotway Sep 23, 2021
909a1ab
Per #1904, add climo and climo_cdp options to ensemble_flag.
JohnHalleyGotway Sep 24, 2021
7e83ad4
Per #1904, update gen_ens_prod to actually write climo and climo_cdp …
JohnHalleyGotway Sep 24, 2021
105b6d4
Per #1904, add NumArray::set_const(double, int) to quickly call erase…
JohnHalleyGotway Sep 24, 2021
9ff10bd
Per #1904, add support for the ensemble control member. Exclude it fr…
JohnHalleyGotway Sep 24, 2021
4965ec0
Per #1904, update call to gen_ens_prod for make test and also update …
JohnHalleyGotway Sep 27, 2021
dc6c688
Per #1904, update the fractional_coverage() function to handle climo …
JohnHalleyGotway Sep 27, 2021
39fa8bc
Per #1904, update Grid-Stat, Ensemlbe-Stat, and Gen-Ens-Prod to pass …
JohnHalleyGotway Sep 27, 2021
1b5a07f
Per #1904, fix logic for handling climo data in the fractional_covera…
JohnHalleyGotway Sep 27, 2021
1a0d0ae
Per #1904, add the make test script logic to unit_met_test_scripts.xml
JohnHalleyGotway Sep 27, 2021
bfa4b6d
Per #1904, complete initial version of docs for gen_ens_prod tool. Re…
JohnHalleyGotway Sep 28, 2021
3b9a0d5
Per #1904, fix names to get it compiling and remove unneeded gsl incl…
JohnHalleyGotway Sep 28, 2021
9c65882
Per #1904, simplify variable names.
JohnHalleyGotway Sep 28, 2021
0561cd6
Merge branch 'develop' into feature_1904_gen_ens_prod
JohnHalleyGotway Sep 29, 2021
2aa7b5a
Per #1904, correct the logic for handling the control member. The ens…
JohnHalleyGotway Oct 1, 2021
a176f7d
Per #1904, merging develop into this feature branch after wrap longit…
JohnHalleyGotway Oct 1, 2021
9886c0e
Per #1904, in gen_ens_prod.cc correct calls to the smooth_field() and…
JohnHalleyGotway Oct 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions met/README
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ sub-directory, or the MET Online Tutorial:
command line) will contain 36 executables:
- ascii2nc
- ensemble_stat
- gen_ens_prod
- gen_vx_mask
- grid_stat
- gis_dump_dbf
Expand Down
22 changes: 22 additions & 0 deletions met/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,27 @@ else
AC_MSG_NOTICE([ensemble_stat will not be compiled])
fi

# gen_ens_prod

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

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

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


# gen_vx_mask

AC_ARG_ENABLE(gen_vx_mask,
Expand Down Expand Up @@ -1226,6 +1247,7 @@ AC_CONFIG_FILES([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
Expand Down
141 changes: 141 additions & 0 deletions met/data/config/GenEnsProdConfig_default
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
////////////////////////////////////////////////////////////////////////////////
//
// Gen-Ens-Prod configuration file.
//
// For additional information, please see the MET User's Guide.
//
////////////////////////////////////////////////////////////////////////////////

//
// Output model name to be written
//
model = "WRF";

//
// Output description to be written
// May be set separately in each "obs.field" entry
//
desc = "NA";

////////////////////////////////////////////////////////////////////////////////

//
// Verification grid
// May be set separately in each "field" entry
//
regrid = {
to_grid = NONE;
method = NEAREST;
width = 1;
vld_thresh = 0.5;
shape = SQUARE;
}

////////////////////////////////////////////////////////////////////////////////

//
// May be set separately in each "field" entry
//
censor_thresh = [];
censor_val = [];
cat_thresh = [];
nc_var_str = "";

//
// Ensemble fields to be processed
//
ens = {
ens_thresh = 1.0;
vld_thresh = 1.0;

field = [
{
name = "APCP";
level = "A03";
cat_thresh = [ >0.0, >=5.0 ];
}
];
}

////////////////////////////////////////////////////////////////////////////////

//
// Neighborhood ensemble probabilities
//
nbrhd_prob = {
width = [ 5 ];
shape = CIRCLE;
vld_thresh = 0.0;
}

//
// NMEP smoothing methods
//
nmep_smooth = {
vld_thresh = 0.0;
shape = CIRCLE;
gaussian_dx = 81.27;
gaussian_radius = 120;
type = [
{
method = GAUSSIAN;
width = 1;
}
];
}

////////////////////////////////////////////////////////////////////////////////

//
// Climatology data
//
climo_mean = {

file_name = [];
field = [];

regrid = {
method = NEAREST;
width = 1;
vld_thresh = 0.5;
shape = SQUARE;
}

time_interp_method = DW_MEAN;
day_interval = 31;
hour_interval = 6;
}

climo_stdev = climo_mean;
climo_stdev = {
file_name = [];
}

////////////////////////////////////////////////////////////////////////////////

//
// Ensemble product output types
// May be set separately in each "ens.field" entry
//
ensemble_flag = {
latlon = TRUE;
mean = TRUE;
stdev = TRUE;
minus = TRUE;
plus = TRUE;
min = TRUE;
max = TRUE;
range = TRUE;
vld_count = TRUE;
frequency = TRUE;
nep = FALSE;
nmep = FALSE;
climo = FALSE;
climo_cdp = FALSE;
}

////////////////////////////////////////////////////////////////////////////////

version = "V10.1.0";

////////////////////////////////////////////////////////////////////////////////
1 change: 1 addition & 0 deletions met/data/config/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ config_DATA = \
ConfigMapData \
Ascii2NcConfig_default \
EnsembleStatConfig_default \
GenEnsProdConfig_default \
GridStatConfig_default \
GridDiagConfig_default \
IODA2NCConfig_default \
Expand Down
Binary file modified met/docs/Flowchart/MET_flowchart.pptx
Binary file not shown.
Binary file added met/docs/Flowchart/MET_flowchart_v10.1.0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading