-
Notifications
You must be signed in to change notification settings - Fork 254
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
flexible history file output time and consistent control variables #674
Labels
enhancement
New feature or request
Comments
How do you handle when you want to output hourly up to 120 hours and 3
hourly beyond that?
…On Tue, Jun 29, 2021 at 2:57 PM Jun Wang ***@***.***> wrote:
Description
Currently the ufs weather model fv3atm component can not output history
files at flexible forecast time. Also there are two sets of variables
controlling when to output the history files. One in the fv3 forecast
component, namelist variables fdiag, fhout,fhmax, fhouthf, fhmaxhf are
used, the other set is used by the write grid component with variables
nfhout, nfhmax, nfhout_hf, nfhmax_hf, nsout in model_configure. This causes
some issues when inconsistent setting are used at run time.
Solution
In this issue, the control variables are cleaned up. Only one set of
control variables will be used in the fv3 cap to control when to update
data buffer on forecast side and when to pick up those data and write out
to history files on write grid component side. Also a configuration
variable output_fh is introduced to output history files at forecast times
users choose, because of that the ESMF alarm is removed as it can't support
irregular alarm frequency. So code updates include:
1. fdiag, fhout,fhmax, fhouthf, and fhmaxhf are removed from fv3
namelist atmos_model_nml. With the code updates, those variables should be
deleted from namelist.
2. in model_configure, there are two ways to control output forecast
time
- Use nfhout, nfhmax, nfhout_hf, nfhmax_hf, nsout, the meanings of
those variables do not change.
- Use output_fh to control output time:
a) An array of output_fh means to output history files at those
forecast time, e.g.:
"output_fh: 0 1 2 3 12 24 48"
If the first elelment is zero, it means the first time step output.
b) If there are two elements in output_fh and the second one has value
-1, it means the first element is output frequency. e.g.
" output_fh: 6 -1"
fv3atm will output the history file every 6 hours.
Related to
FV3 and ufs-weather-model PRs will be created.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#674>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALLVRYVAT5QAUEHQU2FCYMTTVIJRTANCNFSM47Q2LQQA>
.
--
Dr. Shrinivas Moorthi
Research Meteorologist
Modeling and Data Assimilation Branch
Environmental Modeling Center / National Centers for Environmental
Prediction
5830 University Research Court - (W/NP23), College Park MD 20740 USA
Tel: (301)683-3718
e-mail: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
|
If you do not want to specify the long list of the forecast time, you can
still use the fhout/fhout_hf in model_configure.
On Tue, Jun 29, 2021 at 3:14 PM SMoorthi-emc ***@***.***>
wrote:
… How do you handle when you want to output hourly up to 120 hours and 3
hourly beyond that?
On Tue, Jun 29, 2021 at 2:57 PM Jun Wang ***@***.***> wrote:
> Description
>
> Currently the ufs weather model fv3atm component can not output history
> files at flexible forecast time. Also there are two sets of variables
> controlling when to output the history files. One in the fv3 forecast
> component, namelist variables fdiag, fhout,fhmax, fhouthf, fhmaxhf are
> used, the other set is used by the write grid component with variables
> nfhout, nfhmax, nfhout_hf, nfhmax_hf, nsout in model_configure. This
causes
> some issues when inconsistent setting are used at run time.
> Solution
>
> In this issue, the control variables are cleaned up. Only one set of
> control variables will be used in the fv3 cap to control when to update
> data buffer on forecast side and when to pick up those data and write out
> to history files on write grid component side. Also a configuration
> variable output_fh is introduced to output history files at forecast
times
> users choose, because of that the ESMF alarm is removed as it can't
support
> irregular alarm frequency. So code updates include:
>
> 1. fdiag, fhout,fhmax, fhouthf, and fhmaxhf are removed from fv3
> namelist atmos_model_nml. With the code updates, those variables should
be
> deleted from namelist.
> 2. in model_configure, there are two ways to control output forecast
> time
>
>
> - Use nfhout, nfhmax, nfhout_hf, nfhmax_hf, nsout, the meanings of
> those variables do not change.
> - Use output_fh to control output time:
> a) An array of output_fh means to output history files at those
> forecast time, e.g.:
> "output_fh: 0 1 2 3 12 24 48"
> If the first elelment is zero, it means the first time step output.
> b) If there are two elements in output_fh and the second one has value
> -1, it means the first element is output frequency. e.g.
> " output_fh: 6 -1"
> fv3atm will output the history file every 6 hours.
>
> Related to
>
> FV3 and ufs-weather-model PRs will be created.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#674>, or
> unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/ALLVRYVAT5QAUEHQU2FCYMTTVIJRTANCNFSM47Q2LQQA
>
> .
>
--
Dr. Shrinivas Moorthi
Research Meteorologist
Modeling and Data Assimilation Branch
Environmental Modeling Center / National Centers for Environmental
Prediction
5830 University Research Court - (W/NP23), College Park MD 20740 USA
Tel: (301)683-3718
e-mail: ***@***.***
Phone: (301) 683-3718 Fax: (301) 683-3718
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#674 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7D6TJQVYYF3HF6HE5TQDTTVILPTANCNFSM47Q2LQQA>
.
|
11 tasks
epic-cicd-jenkins
pushed a commit
that referenced
this issue
Apr 17, 2023
…w generation layer (#674) * Add python utility functions mirroring bash utils. * Add str_to_list utility, export varibales to environment Import env variables as numeric values to ease calculations. Address some of Christina's points. * Use dedent for multiline string formatting. * Bug fix with export_vars. * Bug fix with set_env_var * Add !join tag to yaml. * Bug fix with date conversion. * Beautify print_input_args. * Import stuff to __init__.py * Write dates in short form when HHMM = 0 * Clarify type conversions. * Add option to parse old style shell user config * Bug fix with handling same line comments * Minor bug fixes * Source complex config shell scripts instead of trying to parse. * Modify config shell script loading routine. * Update comments. * Addressing some of Christina's comments. * Removing set_bash/file_param. * Minor changes in unittests. * Remove unused config script parser. * Avoid passing os.environ as default. * Fix name of macos utils. * Add typical regional workflow resoultions to the test. * Add a copy of Externals.cfg to test. * More changes to address @gsketefian's suggestions. Co-authored-by: Daniel Shawul <dshawul@yahoo.com>
epic-cicd-jenkins
pushed a commit
that referenced
this issue
Apr 17, 2023
#674) Updated the data file paths to point from SRW account locations to EPIC role account locations, so that EPIC can have better control and management of the SRW App data files. Also added the FIXgsi var.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Currently the ufs weather model fv3atm component can not output history files at flexible forecast time. Also there are two sets of variables controlling when to output the history files. One in the fv3 forecast component, namelist variables fdiag, fhout,fhmax, fhouthf, fhmaxhf are used, the other set is used by the write grid component with variables nfhout, nfhmax, nfhout_hf, nfhmax_hf, nsout in model_configure. This causes some issues when inconsistent setting are used at run time.
Solution
In this issue, the control variables are cleaned up. Only one set of control variables will be used in the fv3 cap to control when to update data buffer on forecast side and when to pick up those data and write out to history files on write grid component side. Also a configuration variable output_fh is introduced to output history files at forecast times users choose, because of that the ESMF alarm is removed as it can't support irregular alarm frequency. So code updates include:
a) An array of output_fh means to output history files at those forecast time, e.g.:
"output_fh: 0 1 2 3 12 24 48"
If the first elelment is zero, it means the first time step output.
b) If there are two elements in output_fh and the second one has value -1, it means the first element is output frequency. e.g.
" output_fh: 6 -1"
fv3atm will output the history file every 6 hours.
Related to
FV3 and ufs-weather-model PRs will be created.
The text was updated successfully, but these errors were encountered: