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

Write output in subdirectory FV3ATM_OUTPUT/ #822

Closed
aerorahul opened this issue Apr 22, 2024 · 2 comments · Fixed by #826
Closed

Write output in subdirectory FV3ATM_OUTPUT/ #822

aerorahul opened this issue Apr 22, 2024 · 2 comments · Fixed by #826
Assignees
Labels
enhancement New feature or request

Comments

@aerorahul
Copy link
Contributor

aerorahul commented Apr 22, 2024

Description

The write grid component model output is controlled via model_configure. Specifically, this line in model_configure is used to generate the atm and sfc files:

filename_base: 'atm' 'sfc'

By default, this output of atmf000.nc, atmf003.nc, ... and, sfcf000.nc, sfcf003.nc, ... are created at the root of the run directory.
The FV3ATM component also allows the running of inline UPP. Inline-post produces GFSPRS.FHH and GFSFLX.FHH files.

This issue requests a feature so that this output can be created under a sub-directory e.g. FV3ATM_OUTPUT/. Doing so has several advantages:

  • At long forecast hours, the output volume overwhelms the run directory and saving output in a component specific sub-directory will aid in better organizing data and diagnosing issues in the event of model failures
  • The workflows can redirect these output to a common path allowing restart capabilities from failure to continue.
  • The FV3 output will be consistent w/ other components e.g. MOM6 and CICE6 that allow placing their output in similar sub-directories MOM6_OUTPUT/ and CICE_OUTPUT/. These paths are namelist controlled and the defaults are ./

Solution

Allow FV3 output from the write grid component be created under FV3ATM_OUTPUT/ (or some path) controlled via namelist or model_configure.

Alternatives

I created a sub-directory named FV3ATM_OUTPUT/ in the run directory and then I tried the following in model_configure:

filename_base: 'FV3ATM_OUTPUT/atm' 'FV3ATM_OUTPUT/sfc'

The model failed to in the IO component.

This would not solve the inline post output part of the issue.

Testing:

  • Will the baseline results change? No. Baselines should not change due to change in output path

Dependent PRs:

May need a change in UPP to allow placing of GFSPRS and GFSFLX files in sub-directory.

@DusanJovic-NOAA
Copy link
Collaborator

Please take a look at this branch (https://github.com/DusanJovic-NOAA/fv3atm/tree/fv3atm_output_dir) and test it to make sure everything works as expected. Corresponding ufs-weather-model branch is https://github.com/DusanJovic-NOAA/ufs-weather-model/tree/fv3atm_output_dir

@aerorahul
Copy link
Contributor Author

Thanks @DusanJovic-NOAA
I will give this a try ASAP in the atm-only mode, however, we won't be able to use this until some other issues in the model/workflow get sorted out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants