Skip to content

Commit

Permalink
Per #1127, remove fcst_genesis.category option.
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Feb 28, 2020
1 parent 13f8b88 commit f2558ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion met/data/config/TCGenConfig_default
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ min_duration = 12;
// track point where all of these criteria are met.
//
fcst_genesis = {
category = [];
vmax_thresh = NA;
mslp_thresh = NA;
}
Expand Down
4 changes: 2 additions & 2 deletions met/src/tools/tc_utils/tc_gen/tc_gen_conf_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,8 @@ GenesisEventInfo parse_conf_genesis_event_info(Dictionary *dict) {
// Conf: technique (optional)
info.Technique = dict->lookup_string(conf_key_technique, false);

// Conf: category
sa = dict->lookup_string_array(conf_key_category);
// Conf: category (optional)
sa = dict->lookup_string_array(conf_key_category, false);
for(i=0; i<sa.n(); i++) {
info.Category.push_back(string_to_cyclonelevel(sa[i].c_str()));
}
Expand Down

0 comments on commit f2558ac

Please sign in to comment.