Skip to content

Commit

Permalink
Per #2279, fix the madis2nc call to parse_sid_mask()
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHalleyGotway committed Oct 14, 2024
1 parent 02302be commit 40e805b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/libcode/vx_analysis_util/stat_job.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1808,8 +1808,7 @@ void STATAnalysisJob::set_mask_sid(const char *c) {
mlog << Debug(1)
<< "Station ID Mask: " << mask_sid_str << "\n";

MaskSID ms;
ms = parse_sid_mask(mask_sid_str);
MaskSID ms = parse_sid_mask(mask_sid_str);
for(const auto &pair : ms.sid_map) mask_sid.add(pair.first);

// List the length of the station ID mask
Expand Down
2 changes: 1 addition & 1 deletion src/tools/other/madis2nc/madis2nc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3742,7 +3742,7 @@ void set_mask_sid(const StringArray & a) {
mlog << Debug(1)
<< "Station ID Mask: " << a[0] << "\n";

MaskSID ms;
MaskSID ms = parse_sid_mask(a[0]);
for(const auto &pair : ms.sid_map) mask_sid.add(pair.first);

// List the length of the station ID mask
Expand Down

0 comments on commit 40e805b

Please sign in to comment.