Skip to content

Commit

Permalink
Per #1371, ignore unneeded PCT 'THRESH_' variables both when reading …
Browse files Browse the repository at this point in the history
…and writing ALL PCT columns.
  • Loading branch information
JohnHalleyGotway committed Aug 26, 2024
1 parent 12c1eec commit 4f78b26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tools/core/series_analysis/series_analysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1591,6 +1591,9 @@ void read_aggr_pct(int n, const PCTInfo &pct_info,
// Loop over the PCT columns
for(int i=0; i<pct_cols.n(); i++) {

// Skip unused "THRESH_" columns
if(pct_cols[i].find("THRESH_") != string::npos) continue;

// Construct the NetCDF variable name
ConcatString c(to_upper(pct_cols[i]));
ConcatString var_name(build_nc_var_name_probabilistic(
Expand Down

0 comments on commit 4f78b26

Please sign in to comment.