Skip to content

Conversation

@delippi
Copy link
Contributor

@delippi delippi commented Oct 22, 2025

DESCRIPTION OF CHANGES:

This PR adds workflow logic to automatically run the new rdas_ua2u utility after JEDI analysis completion, converting analysis from (ua, va) to (u, v) for model restart compatibility. GSI still runs in parallel when using DO_JEDIVAR=YES.

Key Updates

  • Workflow integration
    • Added rdas_ua2u.x execution step in exrrfs_analysis_jedi.sh following JEDI run.
    • Performs conversion of analysis from from ua/va to u/v
    • Adds post-processing for type conversion (double -> float), compression, and time-dimension fixes.
    • Injects missing DZ field from background and prepares final restart files for model use.
    • Continue to run GSI in parallel with JEDI by adding a temporary INPUT.gsi or INPUT.jedi directory.
  • Template & config enhancements
    • Updated rdas-atmosphere-templates-fv3_c13.yaml to map additional state variables
    • Added DA_SYSTEM to choose which system to use analysis restarts to initialize the model (copies either INPUT.jedi or INPUT.gsi into INPUT)
    • Added DA_SYSTEM_COLD option for defining cold-start DA system behavior.
  • Dependency and control flow
    • Modified XML dependencies to better coordinate GSI and JEDI spinup/prod tasks
    • Added logic to exrrfs_update_lbc_soil.sh (postanl task) to correctly handle cold-start DA system copying (INPUT.jedi or INPUT.gsi)
    • Updated Externals.cfg to pull the latest RDASApp hash containing the rdas_ua2u implementation.

DEPENDENCIES

TESTS CONDUCTED:

Tested in retro on WCOSS2. Ensured that model restarts from INPUT.jedi --> INPUT in a few DA cycles.

Machines/Platforms:

  • WCOSS2
    • Cactus/Dogwood
    • Acorn
  • RDHPCS
    • Hera
    • Jet
    • Orion
    • Hercules

Test cases:

  • Engineering tests
    • Non-DA engineering test
    • DA engineering test
      • Retro
      • Ensemble
      • Parallel
  • RRFS fire weather
  • RRFS_A:
  • RRFS_B:
  • RTMA:
  • Others:

@delippi
Copy link
Contributor Author

delippi commented Oct 23, 2025

After the updates from NOAA-EMC/RDASApp#473, I'm going to do fresh rebuild of the whole system and restart my retro to double check I have everything needed to restart the forecast from jedi analysis.

Copy link
Contributor

@MatthewPyle-NOAA MatthewPyle-NOAA left a comment

Choose a reason for hiding this comment

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

Looks good to my non-DA eyes...

@ShunLiu-NOAA
Copy link
Contributor

Sam is taking leave today. Ming and Ting are added as reviewer for this PR.

Comment on lines +584 to +585
# Temporary solution: Use sfc from gsi. Likely just need to add more state vars to jedi.
cp ${bkpath}/../INPUT.gsi/sfc_data.nc ${bkpath}/sfc_data.nc
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just wanted to highlight this line in case its overlooked. I wasn't able to use the sfc_data.nc file from jedi yet. I need to look into this a bit more. As a temporary solution, I was able to use the GSI's sfc file. I've made it clear that it is temporary solution and exactly what I'm doing here.

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.

3 participants