Skip to content

Allow ihr to be non-multiples of 6#336

Merged
grantfirl merged 1 commit intoufs-community:ufs/devfrom
DavidHuber-NOAA:feature/gcycle_non6
Jan 5, 2026
Merged

Allow ihr to be non-multiples of 6#336
grantfirl merged 1 commit intoufs-community:ufs/devfrom
DavidHuber-NOAA:feature/gcycle_non6

Conversation

@DavidHuber-NOAA
Copy link
Copy Markdown

@DavidHuber-NOAA DavidHuber-NOAA commented Dec 27, 2025

Description of Changes:

The seaice file for the 06Z GFS cycle is updated When running IAU surface updates for the GFS, input hours can be multiples of 3. This results in an error in sfcsub.F when the input data time is on a previous day (as described in NOAA-EMC/global-workflow#4364). Additionally, if the forecast cycle is not on 0, 6, 12, or 18 (which may happen at some point), global_cycle will need to perform updates on hours that are not a multiple of 6. This PR allows global_cycle to be run at any hour.

Tests Conducted:

Tested this in the global-workflow for a C96 ATM-only 3DVar case on cycle 2021122106 where the seaice input grib file was valid at 2021122000. This change allowed the surface analysis to run successfully and for future cycles to run successfully as well.

All UFS_Utils unit and regression tests passed.

Documentation:

N/A

Issue (optional):

Refs NOAA-EMC/global-workflow#4364

Contributors (optional):

@jiaruidong2017 @RussTreadon-NOAA @ClaraDraper-NOAA

@DavidHuber-NOAA
Copy link
Copy Markdown
Author

FYI @BrianCurtis-NOAA

@DavidHuber-NOAA
Copy link
Copy Markdown
Author

All UFS_Utils regression and unit tests passed successfully on Ursa without changes to baselines.

@DavidHuber-NOAA
Copy link
Copy Markdown
Author

@ClaraDraper-NOAA Do you think this approach makes sense? Would you mind reviewing this PR and/or recommending an appropriate reviewer for this?

@BrianCurtis-NOAA
Copy link
Copy Markdown

Thanks @DavidHuber-NOAA this will first need to go through the UFSWM system, before UFS_UTILS. I'll try to get to that today.

Copy link
Copy Markdown
Collaborator

@ClaraDraper-NOAA ClaraDraper-NOAA left a comment

Choose a reason for hiding this comment

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

I am not at all familiar with the sea ice analysis, so can't comment on that. This PR does solve the issue of enabling sfcsub to find the most recent sea ice analysis, starting with a time that is not a multiple of 6. Thanks @DavidHuber-NOAA!

@gspetro-NOAA
Copy link
Copy Markdown

Testing for ufs-community/ufs-weather-model#3030 has completed successfully; this PR can be merged.

@grantfirl grantfirl merged commit 7395db5 into ufs-community:ufs/dev Jan 5, 2026
3 checks passed
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.

7 participants