-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature 1918 climo_ens_member_id (#2075)
* Per #1918, store the ensemble_member_id string in the EnsVarInfo class so that we can use it later, if needed, when reading climatological data which may also make use of that string. * Per #1918, update gen_ens_prod to set the MET_ENS_MEMBER_ID environment variable when reading climatology data if the ens_member_ids config option has been set and the normalizing relative to climatology has been requested. * Per #1918, add log messages to read_climo.cc and gen_ens_prod.cc to clarify what data is being read from which climo data files. * Added documentation on MET_ENS_MEMBER_ID usage in climo file name * updated usage langauge * Per #1918, adding gen_ens_prod unit test to demonstrate using ENS_MEMBER_ID to read climo data separately for each member. * Per #1918, adding gen_ens_prod unit test to demonstrate using ENS_MEMBER_ID to read climo data separately for each member. Co-authored-by: j-opatz <59586397+j-opatz@users.noreply.github.com>
- Loading branch information
1 parent
7d63e0f
commit 107ac32
Showing
10 changed files
with
277 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
//////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Gen-Ens-Prod configuration file. | ||
// | ||
// For additional information, please see the MET User's Guide. | ||
// | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Output model name to be written | ||
// | ||
model = "CFSv2"; | ||
|
||
// | ||
// 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 = []; | ||
normalize = CLIMO_STD_ANOM; | ||
cat_thresh = []; | ||
nc_var_str = ""; | ||
|
||
// | ||
// Ensemble fields to be processed | ||
// | ||
ens = { | ||
file_type = NETCDF_NCCF; | ||
ens_thresh = 0.3; | ||
vld_thresh = 0.3; | ||
|
||
field = [ | ||
{ | ||
name = "fcst"; | ||
level = "(MET_ENS_MEMBER_ID,0,*,*)"; | ||
cat_thresh = [ <-0.43, >-0.43&&<=0.43, >0.43 ]; | ||
} | ||
]; | ||
} | ||
|
||
// | ||
// IDs for ensemble members | ||
// Only set if processing a single file with all ensembles | ||
// | ||
ens_member_ids = ["0","1","2"]; | ||
control_id = ""; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// 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 = [ "${CLIMO_MEAN_FILE}" ]; | ||
field = [ | ||
{ | ||
name = "series_cnt_FBAR"; | ||
level = "(*,*)"; | ||
} | ||
]; | ||
|
||
regrid = { | ||
method = NEAREST; | ||
width = 1; | ||
vld_thresh = 0.5; | ||
shape = SQUARE; | ||
} | ||
|
||
time_interp_method = DW_MEAN; | ||
day_interval = NA; | ||
hour_interval = NA; | ||
} | ||
|
||
climo_stdev = { | ||
|
||
file_name = [ "${CLIMO_STDEV_FILE}" ]; | ||
field = [ | ||
{ | ||
name = "series_cnt_FSTDEV"; | ||
level = "(*,*)"; | ||
} | ||
]; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
// | ||
// Ensemble product output types | ||
// May be set separately in each "ens.field" entry | ||
// | ||
ensemble_flag = { | ||
latlon = TRUE; | ||
mean = TRUE; | ||
stdev = TRUE; | ||
minus = FALSE; | ||
plus = FALSE; | ||
min = FALSE; | ||
max = FALSE; | ||
range = FALSE; | ||
vld_count = FALSE; | ||
frequency = TRUE; | ||
nep = FALSE; | ||
nmep = FALSE; | ||
climo = FALSE; | ||
climo_cdp = FALSE; | ||
} | ||
|
||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
version = "V10.1.0"; | ||
|
||
//////////////////////////////////////////////////////////////////////////////// |
Oops, something went wrong.