-
Notifications
You must be signed in to change notification settings - Fork 50
Tidy up more compiler warnings #297
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
Tidy up more compiler warnings #297
Conversation
tlim_fgf is defined above this in get_spectra_tau_nstgw but not in get_spectra_tau_okw
Fix warning of: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [ZLWB]
Fix Warning: 'jj' may be used uninitialized [-Wmaybe-uninitialized]
|
@NickSzapiro-NOAA To speed up the UFS merge queue, I'm testing this combined with #295 on Hera. If successful, I'm going to combine this into that PR. |
grantfirl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not an expert in the sfcsub.F code, but I would have done the same fix, so perhaps two people guessing are correct?
|
It's possible that @GeorgeGayno-NOAA might have a better idea if the changes to sfcsub.F are correct. |
|
OK, the combined Hera RTs were successful except for a timeout for hafs_regional_atm_wav_intel, so I'm going to combine into #295 . |
I am not too familiar with that routine, but your changes look ok. That appears to be a big error. What is the impact of the code fix on your tests? |
|
There's no change from this in ufs-weather-model RTs (presumably as we don't get into this dlat > 0.0, dlon <= 0.0 logic). I don't know if UFS_UTILS has tests/datasets that do that |
|
The |
@GeorgeGayno-NOAA Thanks for your input/help! |
Address remaining CCPP physics warnings in ufs-community/ufs-weather-model#2703 of
ufs-weather-model regression tests pass bit-for-bit on hera. As for the changes: