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

Ens fix 1210 #458

Merged
merged 8 commits into from
Dec 12, 2022
Merged

Ens fix 1210 #458

merged 8 commits into from
Dec 12, 2022

Conversation

chunhuazhou
Copy link
Collaborator

DESCRIPTION OF CHANGES:

Minor fix for running ensemble data assimilation.
Adding task save_input to save DA anslysis to nwges, if needed, in preparation for the ensemble free forecast.

TESTS CONDUCTED:

Tests conducted on Hera for CONUS_13km.

DEPENDENCIES:

DOCUMENTATION:

ISSUE (optional):

CONTRIBUTORS (optional):

If others have contributed to this work aside from the PR author, list them here

@@ -944,13 +944,14 @@ if [ $binary_diag = ".true." ]; then
fi

if [ $netcdf_diag = ".true." ]; then
nc_diag_cat="${EXECDIR}/nc_diag_cat.x"
Copy link

Choose a reason for hiding this comment

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

this is not needed from the latest update after APP load ncidag module.

listall_cnv="conv_ps conv_q conv_t conv_uv conv_pw conv_rw conv_sst conv_dbz"
listall_rad="hirs2_n14 msu_n14 sndr_g08 sndr_g11 sndr_g11 sndr_g12 sndr_g13 sndr_g08_prep sndr_g11_prep sndr_g12_prep sndr_g13_prep sndrd1_g11 sndrd2_g11 sndrd3_g11 sndrd4_g11 sndrd1_g15 sndrd2_g15 sndrd3_g15 sndrd4_g15 sndrd1_g13 sndrd2_g13 sndrd3_g13 sndrd4_g13 hirs3_n15 hirs3_n16 hirs3_n17 amsua_n15 amsua_n16 amsua_n17 amsua_n18 amsua_n19 amsua_metop-a amsua_metop-b amsua_metop-c amsub_n15 amsub_n16 amsub_n17 hsb_aqua airs_aqua amsua_aqua imgr_g08 imgr_g11 imgr_g12 pcp_ssmi_dmsp pcp_tmi_trmm conv sbuv2_n16 sbuv2_n17 sbuv2_n18 omi_aura ssmi_f13 ssmi_f14 ssmi_f15 hirs4_n18 hirs4_metop-a mhs_n18 mhs_n19 mhs_metop-a mhs_metop-b mhs_metop-c amsre_low_aqua amsre_mid_aqua amsre_hig_aqua ssmis_las_f16 ssmis_uas_f16 ssmis_img_f16 ssmis_env_f16 iasi_metop-a iasi_metop-b iasi_metop-c seviri_m08 seviri_m09 seviri_m10 seviri_m11 cris_npp atms_npp ssmis_f17 cris-fsr_npp cris-fsr_n20 atms_n20 abi_g16"

for type in $listall_cnv; do
count=$(ls pe*.${type}_${loop}.nc4 | wc -l)
if [[ $count -gt 0 ]]; then
${APRUN} nc_diag_cat.x -o diag_${type}_${string}.${YYYYMMDDHH}.nc4 pe*.${type}_${loop}.nc4
${APRUN} ${nc_diag_cat} -o diag_${type}_${string}.${YYYYMMDDHH}.nc4 pe*.${type}_${loop}.nc4
Copy link

Choose a reason for hiding this comment

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

Do not change this one

@@ -960,7 +961,7 @@ if [ $netcdf_diag = ".true." ]; then
for type in $listall_rad; do
count=$(ls pe*.${type}_${loop}.nc4 | wc -l)
if [[ $count -gt 0 ]]; then
${APRUN} nc_diag_cat.x -o diag_${type}_${string}.${YYYYMMDDHH}.nc4 pe*.${type}_${loop}.nc4
${APRUN} ${nc_diag_cat} -o diag_${type}_${string}.${YYYYMMDDHH}.nc4 pe*.${type}_${loop}.nc4
Copy link

Choose a reason for hiding this comment

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

do not change this one

else
run_dir="${CYCLE_DIR}${SLASH_ENSMEM_SUBDIR}/fcst_fv3lam"
nwges_dir="${NWGES_DIR}${SLASH_ENSMEM_SUBDIR}/fcst_fv3lam"
fi
Copy link

Choose a reason for hiding this comment

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

Do we need so many checks? This only save INPUT from prod cycle.
It does need to generate a nwges directory that has different name from prod.

ush/setup.sh Outdated
fi
#
#-----------------------------------------------------------------------
#
Copy link

Choose a reason for hiding this comment

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

Please check 471-485 to see if you can add this one as to the list that makes the same changes.

@@ -2342,6 +2317,78 @@ MODULES_RUN_TASK_FP script.
</task>

{%- endif %}

{%- if do_save_input %}
Copy link

Choose a reason for hiding this comment

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

This should only save 9 members instead of 30 members, right?

ush/templates/FV3LAM_wflow.xml Show resolved Hide resolved
@hu5970
Copy link

hu5970 commented Dec 12, 2022

@chunhuazhou please review PR 457 and sync your PR with 457.

@hu5970
Copy link

hu5970 commented Dec 12, 2022

@chunhuazhou Please check nd_diag issue in GSI and resolve conflict in setup.sh. Thanks, Ming

@chunhuazhou
Copy link
Collaborator Author

@chunhuazhou Please check nd_diag issue in GSI and resolve conflict in setup.sh. Thanks, Ming

Thanks Ming for all the comments! I will reverse this change later when I am done with other changes, since I need this for my retro runs on Jet (I don't want to update the app for the retro runs yet). Will address this later.

@hu5970 hu5970 merged commit f2f5aef into NOAA-GSL:feature/RRFS_dev1 Dec 12, 2022
@chunhuazhou chunhuazhou deleted the Ens_fix_1210 branch March 30, 2023 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants