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

For EMC GSI issue#566: Feature/enkf q clipping: adding the clipping of negative values of moisture in FV3-LAM EnKF #567

Conversation

TingLei-daprediction
Copy link
Contributor

In correspondence to the EMC GSI Issue#566, this PR contains a quick adding of the clipping of negative values of sphum (q) in the analysis of FV3-LAM EnKF.
This part of codes are not tested in the current GSI regression tests, which, hence, are not run.
The current codes are verified using local FV3-LAM case. It is found the differences from this changes exist for sphum ( maximum values about 0.003 (units) and 0.3 K for T (sensible T). The latter is because the sphum would be used when the analysis TV is converted to T. All differences are on spontaneous points and values are reasonable as expected.
Hence, the code is regarded as verified.

@TingLei-daprediction
Copy link
Contributor Author

The changes for build.sh was added to this PR accidently. It is reversed to the original one from the develop branch of the fork and still was displayed in the changed files. Sorry for this unnecessary item.

@@ -12,7 +12,7 @@ COMPILER=${COMPILER:-"intel"}
BUILD_DIR=${BUILD_DIR:-"${DIR_ROOT}/build"}
INSTALL_PREFIX=${INSTALL_PREFIX:-"${DIR_ROOT}/install"}
GSI_MODE=${GSI_MODE:-"Regional"} # By default build Regional GSI (for regression testing)
ENKF_MODE=${ENKF_MODE:-"GFS"} # By default build Global EnKF (for regression testing)
ENKF_MODE=${ENKF_MODE:-"GFS"} # By default build Global EnKF (for regression testing)
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this extra white space change is meant to be part of this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RussTreadon-NOAA please see the above explanation.
If a cleaner PR is needed, I will try to reverse it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, please revert this change. ush/build.sh should not be part of this PR.

The simplest thing to do is to remove the white space from ush/build.sh in a local working copy of your branch, commit this change, and push the local copy of your branch to github. Then we should not see ush/build.sh in the list of files changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@RussTreadon-NOAA Thanks for your suggestions. Seems some tricky issues occured and I found the easier to open another PR with a different branch.

Copy link
Collaborator

@chunhuazhou chunhuazhou left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@TingLei-daprediction
Copy link
Contributor Author

Dear all, @ShunLiu-NOAA @chunhuazhou @daviddowellNOAA Sorry I find the easiest way for a cleaner PR is to open another PR with a new branch
#568

@TingLei-daprediction TingLei-daprediction deleted the feature/enkf_q_clipping branch February 22, 2024 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants