Skip to content

Add arbitrary restart hour for UFS #522

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

Merged
merged 13 commits into from
Mar 21, 2025

Conversation

DeniseWorthen
Copy link
Collaborator

Description of changes

Enables UFS to read a list of non-interval restart hours and write restarts when appropriate. This is required for operational implementations.

Incidentally adds new Land model component (LM4) for UFS and modifies CPP metadata for the FBH (fire-behavior model).

Specific notes

Code is added under an CESMCOUPLED flag and accesses share code within the UFS CDEPS share code (ufs/cdeps_share).

See related discussion https://github.com/orgs/esmf-org/discussions/291

Contributors other than yourself, if any:

@NickSzapiro-NOAA

CMEPS Issues Fixed (include github issue #):

ufs-community/ufs-weather-model#2348

Are changes expected to change answers? (specify if bfb, different at roundoff, more substantial)

Should not impact CESM

Any User Interface Changes (namelist or namelist defaults changes)?

Testing performed

Please describe the tests along with the target model and machine(s)
If possible, please also added hashes that were used in the testing

@DeniseWorthen
Copy link
Collaborator Author

@jedwards4b I'm not sure, but I might need an ifdef around the restart_fh logical in med_phases_restart_write to avoid and unused variable warning on your side?

Copy link
Collaborator

@jedwards4b jedwards4b left a comment

Choose a reason for hiding this comment

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

I think that you neglected to add the new module shr_is_restart_fh_mod.

@jedwards4b
Copy link
Collaborator

Yes that should be enough.

@DeniseWorthen
Copy link
Collaborator Author

DeniseWorthen commented Dec 18, 2024

I made a PR to ESCOMP/CDEPS to add the required module file.

@DeniseWorthen
Copy link
Collaborator Author

@jedwards4b Is this good to go? I forgot about, so completely understand if you did too.

@DeniseWorthen
Copy link
Collaborator Author

@jedwards4b I can't tell why this is failing the build check. It seems the line it's complaining about is inside a ifndef CESMCOUPLED.

@jedwards4b
Copy link
Collaborator

@DeniseWorthen I found the problem - you need to approve ESCOMP/CDEPS#330 so that the new share file is actually built and added to the library.

@jedwards4b jedwards4b merged commit d892028 into ESCOMP:main Mar 21, 2025
4 checks passed
@DeniseWorthen
Copy link
Collaborator Author

@jedwards4b Thanks for the coordination.

@jedwards4b jedwards4b deleted the feature/ufs_restartfh branch March 21, 2025 16:57
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.

5 participants