Skip to content

Changes for enabling GSD cloud analysis for ensemble runs#267

Merged
chunhuazhou merged 1 commit into
NOAA-GSL:feature/RRFS_dev1from
chunhuazhou:EnKF_GSDcloud
Jan 28, 2022
Merged

Changes for enabling GSD cloud analysis for ensemble runs#267
chunhuazhou merged 1 commit into
NOAA-GSL:feature/RRFS_dev1from
chunhuazhou:EnKF_GSDcloud

Conversation

@chunhuazhou
Copy link
Copy Markdown
Collaborator

DESCRIPTION OF CHANGES:

Changes for enabling GSD cloud analysis after EnKF analysis and before launching the forecast jobs, for ensemble runs.

TESTS CONDUCTED:

Tests done on Hera.

DEPENDENCIES:

DOCUMENTATION:

ISSUE (optional):

CONTRIBUTORS (optional):

Thanks to @hu5970 for his help on cloud analysis!

Copy link
Copy Markdown

@terraladwig terraladwig left a comment

Choose a reason for hiding this comment

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

LGTM

@chunhuazhou chunhuazhou merged commit d2cbb58 into NOAA-GSL:feature/RRFS_dev1 Jan 28, 2022
l_conserve_thetaV=.true.,
i_conserve_thetaV_iternum=3,
l_cld_bld=.true.,
l_cld_bld=.false.,
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Do other applications need to turn off the cloud build?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This commit is to save what I have for enabling the cloud analysis for the ensemble runs, where we were trying to have cloud clearing only (l_cld_bld=.false.). But the cloud analysis itself might not be ready yet, at least from my ensemble runs. So when it is really ready, we can always change this.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@chunhuazhou We need try to avoid committing this kind of hardwired change only used for certain application. We will forgot it and other cloud analysis tests will use it for a while before someone notice difference. Please set up it up through the configuration step.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is in gsiparm.anl. I think it should be set in the config file instead of in the script.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@chunhuazhou If you check ush/config.sh.3DRTMA_dev1, there is a section "GSI Namelist parameters configurable across differnt applications". You can follow those examples to make i_cld_bld configurable.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Agreed. I overlooked this change when committing it.
And this is not the same as the gsiparm.anl as for the GSI analysis so it is a bit different here.
Should I open another PR to address this and that "ENS_TYPE" thing? I merged this PR too quickly.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Opening a new PR works.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Ok, will do. Thanks!

Copy link
Copy Markdown
Collaborator

@guoqing-noaa guoqing-noaa Jan 28, 2022

Choose a reason for hiding this comment

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

@chunhuazhou We need try to avoid committing this kind of hardwired change only used for certain application. We will forgot it and other cloud analysis tests will use it for a while before someone notice difference. Please set up it up through the configuration step.

@hu5970 I have a similar concern on your potential manual changing "ln_vrfy" to "cp_vry" in realtime RRFS runs. Only you will remember that. It will lose change history track and will be easily ignored by others. My suggestion is to let this be configurable through the existed "do_nonvar_cldanal" option.

cp_vrfy ${bkpath}/gfs_data.tile7.halo0.nc fv3_dynvars
cp_vrfy ${bkpath}/gfs_data.tile7.halo0.nc fv3_tracer
ln_vrfy -snf ${bkpath}/gfs_data.tile7.halo0.nc fv3_dynvars
ln_vrfy -snf ${bkpath}/gfs_data.tile7.halo0.nc fv3_tracer
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The above 175-181 changes will apply to all applications, not only for ensemble runs. I think cloud analysis is not ready to run for the RRFS system as it degraded the short term forecasts. @hu5970 Am I correct?

I have a change to switch between ln_vrfy and cp_vrfy depending the "cloud analysis" option in the config file, but it is not contributed back yet. Maybe I can commit it back first.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The cloud analysis is not ready for real-time test. I made lots of updates on both code and scripts recently.
But I think it is OK to make a link because the default assumption is we want cloud analysis to make impact on the forecast if we turn it on in configuration. We will manually turn it off for the further testing. I also suggest "do not add more option on cloud analysis". We should have usable cloud analysis soon.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is not turned on unless you have that option in config.sh. And currently it is turned off by default so it won't affect the other runs, I believe.
If you can have that option to switch between ln_vrfy and cp_vrfy in config.sh, that would be great!
In the original cloudanalysis script, it only copy over the files to the workdir but it doesn't copy the updated files back to INPUT/. This "ln_vrfy" option was to follow other DA set up.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The cloud analysis is not ready for real-time test. I made lots of updates on both code and scripts recently. But I think it is OK to make a link because the default assumption is we want cloud analysis to make impact on the forecast if we turn it on in configuration. We will manually turn it off for the further testing. I also suggest "do not add more option on cloud analysis". We should have usable cloud analysis soon.

Looks fine to me if it will not bother real-time RRFS runs. So is the problem solved that a very short integration after cloud analysis will generate too much cloud conversion?

My original thought is add a kind of "yes_and_no" choice to the "do_nonvar_cldanal" option for those who wants to run cloud analysis but don't want to update the forecast IC. It will NOT add an extra option but utilize the existed "do_nonvar_cldanal" option. It works in my tests.
@hu5970

Comment thread jobs/JREGIONAL_NONVARCLD
analworkname="nonvar_cldanl"
fi
if [ ${ENS_TYPE} == "MEAN" ]; then
if [ ${RRFSENS_TYPE} == "MEAN" ]; then
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

A general question, why we would like to change "ENS_TYPE" to "RRFSENS_TYPE"? Is there a problem to continue using "ENS_TYPE"?

Copy link
Copy Markdown
Collaborator Author

@chunhuazhou chunhuazhou Jan 28, 2022

Choose a reason for hiding this comment

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

There is another "ENS_TYPE" in the GSI analysis script, which was used for the ensemble for the hybrid analysis. Therefore I have to se a different name.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks. However, "rrfsens_type" and "ens_type" still look similar to me and I think it will also bring confusions to others. Would it be better to change "RRFSENS_TYPE" to "MEAN_OR_MEM", "MEM_TYPE" or "MEMBER_TYPE"? Just my 2 cents.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We may want to change ENS_TYPE in GSI to ENS_TYPE4HYB and let real ensemble use ENS_TYPE.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We may want to change ENS_TYPE in GSI to ENS_TYPE4HYB and let real ensemble use ENS_TYPE.

ENS_TYPE4HYB and RRFSENS_TYPE still look confusion to me. Another thought based on you idea is that we may simply change "ens_type" in GSI to "suffix" and let Chunhua keep using "ENS_TYPE" (or change to "MEM_TYPE").

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Now I think "MEM_TYPE" works better for this "MEAN" or "MEMBER" choice, than "ENS_TYPE".
What do we want to use for the "ENS_TYPE" in GSI run script?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

For GSI, I suggest to use "ftype" (i.e file_type)

chunhuazhou added a commit that referenced this pull request Jan 28, 2022
@terraladwig
Copy link
Copy Markdown

Sorry I approved everything so quickly, but this good discussion is making the changes better :)

@chunhuazhou
Copy link
Copy Markdown
Collaborator Author

Sorry I approved everything so quickly, but this good discussion is making the changes better :)

I appreciate your quick approval. Most of the time we need a quick action to move things forward. It was me making the merge too quickly.

@chunhuazhou chunhuazhou deleted the EnKF_GSDcloud branch October 9, 2022 04:04
guoqing-noaa pushed a commit to guoqing-noaa/regional_workflow that referenced this pull request Sep 15, 2024
* Create rrfs.natlev-FAA130.params

parameters used for PRDGEN process requested by FAA

additional processes (subset, upscale) for IFI, GTG. and ATM requested by FAA

* Update exrrfs_run_prdgen.sh

subset & upscale of IFI, GTG, and ATM fields per FAA requests

additional /fix/prdgen directory where parameters located for prdgen process needed by FAA
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.

4 participants