-
Notifications
You must be signed in to change notification settings - Fork 146
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
GitHub Issue NOAA-EMC/GSI#282. GSL enhancements to the non-var cloud analysis. #286
GitHub Issue NOAA-EMC/GSI#282. GSL enhancements to the non-var cloud analysis. #286
Conversation
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.
Ming,
There are a lot of changes in this PR. My comments are here:
- Since this PR includes many parameter changes, are these change already tested in any parallel experiment?
- src/gsi/read_Lightning.f90:
line 424 to 428, is it possible avoid "stop2(50)", it might potentially cause the operation failure. - src/gsi/reorg_metar_cloud.f90:
Could you please remove the line 284 to 288, line 311 and 312?
Also, is it possible to not use stop2(50) in line 322?
Shun
Thanks for reviewing the code:
|
src/gsi/reorg_metar_cloud.f90
Outdated
cdata_temp(5+k)=cloudlevel_temp(0+k) | ||
cdata_temp(11+k)=cloudlevel_temp(6+k) | ||
enddo | ||
! write(*,'(10f10.1)') (cdata_temp(5+k),k=1,6) |
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.
Hi Ming ( @hu5970 ),
For the algorithm and code, I do not have any comment.
Just do not understand the usage of "cdata_temp" and "cloudlevel_temp".
From line 278 to line 312, the cdata_temp and cloudlevel_temp are modified and updated, but not output or used. So I am kind of confused.
Anyway, as for the algorithm and code, I have no comment.
Thank you!
- Gang
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.
Gang,
You are right, Line 325 should be:
cdata_all(k,iout) = cdata_temp(k,ista_min)
So the vertical dependent METAR cloud impact radius can be used.
Thanks,
Ming
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.
Hi Ming (@hu5970) ,
I have no comments and approve this PR. Just one comment for the "src/gsi/reorg_metar_cloud.f90". The new variables "cdata_temp" and "cloudlevel_temp" are updated but not output or used finally. I do not know why. Are they just used for code testing? I also add a single comment in that code.
In summary, I approve this merge.
Thank you!
- Gang
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.
Hi Ming,
While attempting to compile these changes, CMake failed due to an incorrect number of subscripts for cdata_temp at line 317. Please correct this and please add (i_kind) to the integer declaration.
c18c322
to
e65cc34
Compare
@MichaelLueken-NOAA : Mike, I have fixed the bug and combined the commit logs into one following the instructions from PR 285. Thanks, Ming |
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 have compiled the changes in debug mode and there was a variable in reorg_metar_cloud.f90 that was found to be unused. Please remove the unused variable (noted in the review). There are also a few questions related to cleaning up commented out lines that were added in the code review. If the commented out lines won't be used in the future, please remove them (these have been noted in the review). Finally, there is a line in gsdcloudanalysis.F90 that exceeds the 12 character limit (due to the comment on the line). Please move the comment to the line before or after the current line to correct this issue (the line has been noted in the review). The debug tests were run and all successfully ran through to completion.
The debug tests were run and all successfully ran through to completion.
While reviewing the changes, I noted that both this PR and PR #285 have the identical change to ush/build.comgsi. Since PR #285 is currently out to the review committee, that will be going in first. It is possible that the same change being in ush/build.comgsi will cause conflicts when that work is merged to the authoritative repository. You might want to remove the ush/build.comgsi change from this PR to ensure that I can submit this work to the review committee once the first PR is merged.
e65cc34
to
870fcd9
Compare
@MichaelLueken-NOAA Mike, I have revised the code based on your comments. Please check. Thanks, |
@hu5970 After merging PR #285 to the authoritative repo, there is now a conflict in src/gsi/gsimod.F90. Please merge the latest NOAA-EMC/GSI master into your fork's gsl_nonvar_cloudanalysis branch using: git remote add upstream https://github.com/NOAA-EMC/GSI.git Once this is complete, I should be able to send this work out to the review committee. Please let me know if you have any questions or encounter any issues. |
870fcd9
to
0b0dc42
Compare
Update the code generating psuedo moisture observations from cloud observations.
0b0dc42
to
8d002d3
Compare
@MichaelLueken-NOAA I have solved conflict and rebased the branch. Thanks. |
The due date for feedback from the DA review committee has passed. I will now give final approval to these changes and merge them to the authoritative repository. |
This PR address the issue #282: