-
Notifications
You must be signed in to change notification settings - Fork 700
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 for duplicated allocation and file closing for radar_rhv_opt = 2 #2078
Bugfix for duplicated allocation and file closing for radar_rhv_opt = 2 #2078
Conversation
The regression test results:
|
@weiwangncar @islas Is it ok to merge this bugfix to 4.6.1? |
Removal of line 278 seems good, but the change to use |
Is it Ok to keep this single PR, but change the PR title (and content) to reflect there are 2 bugs fixed? Seems better to me to keep one single PR as changes are in one single file. |
I can see the argument for single PR if both are necessary to get radar_rhv_opt = 2 to work. In that case I think a more concise title to capture both would be something along the lines of "Bugfixes for radar DA when using radar_rhv_opt = 2" where the description notes both. |
Hi, @islas. Both bugs are related to radar_rhv_opt = 2. I have updated the title and descriptions to make it clear. With both bug fixes, the radar_rhv_opt = 2 could work properly. Therefore, it cloud be better to merge both bugs in this PR. |
Bugs fix of duplicated allocation and file close in radar_rhv_opt = 2.
TYPE: bug fix
KEYWORDS: radar DA
DESCRIPTION OF CHANGES:
Problem:
Duplicated allocation of avg_qws when choosing radar_rhv_opt = 2.
da_free_unit instead of da_get_unit for closing a file when radar_rhv_opt is equal to 2.
ISSUE: #2077
LIST OF MODIFIED FILES: list of changed files (use
git diff --name-status master
to get formatted list)var/da/da_radar/da_get_innov_vector_radar.inc