Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix #3054 develop parusr #3069

Merged
merged 3 commits into from
Jan 31, 2025
Merged

Conversation

JohnHalleyGotway
Copy link
Collaborator

These are the exact same bugfix changes but develop rather than main_v12.0. Please review this PR in conjunction with #3068.

MET Tools Test Account added 2 commits January 30, 2025 21:37
… to temporary memory returned by c_str(). Store a copy of the temporary variable name in a string rather than a pointer to temporary memory. Note that checked all other usage of c_str() in pb2nc.cc and found these 2 instances to be only problematic ones. All others are used as arguments to functions for which a copy is made.
…ETplus#2875 discussion, the PairBase::calc_obs_summary() function loops over map entries and attempts to update the mapped 'summary_val' value. However, the current version only updates it in a copy and not what's actually in the map. This changes how we loop over the map to actually udpate its contents. Note that the only impact is fixing a log file to accurately report the 'summary_val'. So this is really a logging bug.
Copy link
Collaborator

@georgemccabe georgemccabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good (same as #3068). I approve given all of the tests pass with no differences.

@JohnHalleyGotway JohnHalleyGotway merged commit 139187a into develop Jan 31, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏁 Done
Development

Successfully merging this pull request may close these issues.

Bugfix: Fix the PARUSR BUFRLIB failure when PB2NC is compiled with -O2 optimization
2 participants