Add logic to switch between JEDI and GSI ice increment names#43
Add logic to switch between JEDI and GSI ice increment names#43DavidNew-NOAA wants to merge 3 commits into
Conversation
|
Closing temporarily, because I did this too fast and I'm missing a bunch of logic |
|
@RussTreadon-NOAA Do you understand what the failed "GCC Linux Build / gsi-monitor" test is about? I'm looking at the log but having trouble understanding what went wrong. |
|
@DavidNew-NOAA , I am seeing the similar failures with the GSI. I reached out to EIB. They are investigating. |
|
Install
A check of It looks like |
CoryMartin-NOAA
left a comment
There was a problem hiding this comment.
Revoking my approval given Russ's findings
|
Ok, the fun continues. Will take a look |
|
Naive question: What's the reason for replacing
|
|
@RussTreadon-NOAA No, it's a good question. @CoryMartin-NOAA were just sorting this out right now. I think the naivety was actually on my part, and I will revert GDASApp #1112 for now. Here's the explanation: With IAU, UFS is reading the increment names as trim(tracer_names(l))//'_inc'. See here https://github.com/DavidNew-NOAA/GFDL_atmos_cubed_sphere/blob/cc8afe64b9420dd7379e47cee5e3f30f4ac44b58/tools/fv_iau_mod.F90#L485 The internal name for ice water mixing ratio is "ice_wat", but it's written in atmfXXX.nc as "icmr". See here https://github.com/NOAA-EMC/global-workflow/blob/7d2c539f45194cd4e5b21bfd4b83a9480189cd0f/parm/ufs/fv3/diag_table_da#L20 Without IAU, the tracer increment names and reads are hardcoded. In fact, the ice water increment isn't even read, and liquid water increment name is hardcoded as "liq_wat_inc" even though liquid water mixing ratio is written in atmfXXX.nc as "clwmr" in atmfXXX.nc. See here: https://github.com/DavidNew-NOAA/GFDL_atmos_cubed_sphere/blob/dev/emc/tools/fv_treat_da_inc.F90#L288 When I was implementing cubed sphere increments in GFDL_atmos_cubed_sphere #342, I was trying to eliminate some of this hardcoding, but it was not reading the ice increment, because it was looking for "ice_wat_inc" rather than "icmr_inc". I assumed this was a mistake in the DA system. Long term this is an issue when we start using IAU, but for now, all hydrometeor increments are set to zero anyway in operations and development. Thus I'll revert for now, and then make an issue. But better to be deliberate and break as few things as possible. |
#1125) …(#1112)" This reverts commit 3925f24. See comment here for why NOAA-EMC/GSI-utils#43 (comment)
#1125) …(#1112)" This reverts commit ad5cab8. See comment here for why NOAA-EMC/GSI-utils#43 (comment)
This PR is fixes the following problem NOAA-EMC/GDASApp#1112 (comment) . It creates logic so that if JEDI is the DA system, then "ice_wat_inc" is used as the ice increment variable name, and if GSI is the DA system, then "icmr_inc" is used. A "jedi", logical namelist parameter for src/netcdf_io/interp_inc.fd/driver.F90 is added which defaults to .false. (GSI; else JEDI). Once this PR is merged, a single line can be added to ush/calc_analysis.py, building on what was done in GW #2420 via GSI Utils #35, to specify "jedi" in the namelist.