Skip to content

Commit

Permalink
Per issue #2476, moved derive_consensus() to be after process_diags()…
Browse files Browse the repository at this point in the history
…. SL
  • Loading branch information
Seth Linden committed Sep 20, 2023
1 parent 7b623d2 commit 70219a0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/tools/tc_utils/tc_pairs/tc_pairs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -345,14 +345,6 @@ void process_adecks(const TrackInfoArray &bdeck_tracks) {
derive_interp12(adeck_tracks);
}

// Derive consensus forecasts from the ADECK tracks
mlog << Debug(2)
<< "Deriving " << conf_info.NConsensus
<< " ADECK consensus model(s).\n";
i = derive_consensus(adeck_tracks);
mlog << Debug(2)
<< "Added " << i << " ADECK consensus tracks(s).\n";

// Derive lag forecasts from the ADECK tracks
mlog << Debug(2)
<< "Deriving " << conf_info.LagTime.n()
Expand All @@ -379,6 +371,14 @@ void process_adecks(const TrackInfoArray &bdeck_tracks) {
// Append diagnostic data to the tracks
process_diags(adeck_tracks);

// Derive consensus forecasts from the ADECK tracks
mlog << Debug(2)
<< "Deriving " << conf_info.NConsensus
<< " ADECK consensus model(s).\n";
i = derive_consensus(adeck_tracks);
mlog << Debug(2)
<< "Added " << i << " ADECK consensus tracks(s).\n";

//
// Loop through the ADECK tracks and find a matching BDECK track
//
Expand Down

0 comments on commit 70219a0

Please sign in to comment.