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

Fix IC staging bug: should be idatestr not rdatestr #1783

Closed
CoryMartin-NOAA opened this issue Aug 9, 2023 · 5 comments · Fixed by #1885
Closed

Fix IC staging bug: should be idatestr not rdatestr #1783

CoryMartin-NOAA opened this issue Aug 9, 2023 · 5 comments · Fixed by #1885
Assignees
Labels
bug Something isn't working

Comments

@CoryMartin-NOAA
Copy link
Contributor

          I think this was supposed to be `idatestr` not `rdatestr`. If you create cold start ICs from ufs_utils, there won't be a rdate directory.

Originally posted by @CoryMartin-NOAA in #1529 (comment)

@WalterKolczynski-NOAA WalterKolczynski-NOAA added blocked Issue is currently being blocked by another issue bug Something isn't working and removed blocked Issue is currently being blocked by another issue labels Aug 10, 2023
DavidHuber-NOAA added a commit to DavidHuber-NOAA/global-workflow that referenced this issue Sep 22, 2023
@DavidHuber-NOAA
Copy link
Contributor

For warm starts, atm data is linked from the previous cycle, so you would want rdatestr for those. For cold starts, we should be looking at idatestr. I have a branch with this fix in place. So far I have only tested it for cold starts, but I will test it for warm starts as well before opening a PR.

DavidHuber-NOAA added a commit to DavidHuber-NOAA/global-workflow that referenced this issue Sep 22, 2023
@DavidHuber-NOAA
Copy link
Contributor

While testing this for warm starts, I encountered errors for missing increment files (ensemble ratmi*.nc and deterministic atmi*.nc and atminc.nc). Reading through the setup_expt.py script, only a handful of files are linked from the source ICs' analysis/atmos/ directories (abias, abias_pc, abias_air, and radstat), but additional files are needed to support IAU.

@WalterKolczynski-NOAA Is there a reason I would not want to link in the entirety of the analysis/atmos/ directory from the warm start ICs (i.e. calling link_files_from_src_to_dst)?

@WalterKolczynski-NOAA
Copy link
Contributor

I think we'd rather have an explicit list. That way you only copy what you need and also know if something is missing. @aerorahul?

@aerorahul
Copy link
Contributor

There are 3 ways to start the atmosphere:

  1. cold start
  2. warm start w/o IAU
  3. warm start w/ IAU

1 is the way most (99%) of developers start their experiment (generate cold start ICs offline from ops).

2 is also functional if someone wants to start from warm start ICs but no IAU.

For 3; I think there are blockers in the forecast scripts that will prevent doing this; i.e. IAU is turned off for the first half cycle (I will need to check to be sure)

Is 3 a mode we want to support? Yes. Is it high on the priority list? Probably not worth the effort ATM.

@DavidHuber-NOAA
Copy link
Contributor

DavidHuber-NOAA commented Sep 25, 2023

@aerorahul Noted, thanks. I will continue my warm-start testing with IAU turned off then.

@DavidHuber-NOAA DavidHuber-NOAA self-assigned this Sep 25, 2023
WalterKolczynski-NOAA pushed a commit that referenced this issue Sep 26, 2023
This fixes a bug in IC linking within setup_expt.py by correcting the date string
based on experiment start type -- warm starts should look at `rdate` (-6 hours)
and cold starts should look at `idate` (current cycle).

Fixes #1783
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants