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

Link both global-nest fix files and non-nest ones at the same time #2632

Merged
merged 10 commits into from
Jun 12, 2024

Conversation

guoqing-noaa
Copy link
Contributor

Description

This PR enables linking both global-nest fix files and non-nest ones at the same time and users can run both nesting and non-nesting experiments at the same time without worries about what fix files to be linked.

Resolves #2631

Type of change

  • New feature (adds functionality)

Change characteristics

  • Is this a breaking change (a change in existing functionality)? NO
  • Does this change require a documentation update? NO

How has this been tested?

  • Clone and build on Hera/Jet
  • Forecast-only on Hera/Jet

Checklist

  • Any dependent changes have been merged and published
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing tests pass with my changes
  • I have made corresponding changes to the documentation if necessary

sorc/link_workflow.sh Fixed Show fixed Hide fixed
sorc/link_workflow.sh Outdated Show resolved Hide resolved
@guoqing-noaa
Copy link
Contributor Author

guoqing-noaa commented May 28, 2024

@aerorahul and @WalterKolczynski-NOAA Thanks a lot for the discussion in today's meeting!
I found that there are many more files involved regarding changing ${FIXgfs}/orog to ${FIXorog}. 11 files (from scripts/, parm/, ush/) will be affected:

scripts/exgdas_enkf_sfc.sh               
scripts/exglobal_atmos_sfcanl.sh         
scripts/exglobal_forecast.sh             
parm/config/gfs/config.base              
parm/ufs/fix/gfs/atmos.fixed_files.yaml  
parm/ufs/fix/gfs/land.fixed_files.yaml   
parm/ufs/fix/gfs/ocean.fixed_files.yaml  
ush/forecast_predet.sh                   
ush/gaussian_sfcanl.sh                   
ush/global_cycle.sh                      
ush/global_cycle_driver.sh 

Where ush/global_cycle.sh and ush/global_cycle_driver.sh are linked from another repository ufs_utils.
I am hesitant to make changes to so many files. However, I can update them if you agree that this is the goal we should go.

FYI, here are the output from grep '\/orog' -ir scripts/* parm/* ush/*:

scripts/exgdas_enkf_sfc.sh:            ${NLN} "${FIXgfs}/orog/${CASE}/${CASE}_grid.tile${n}.nc"     "${DATA}/fngrid.${cmem}"                                           
scripts/exgdas_enkf_sfc.sh:            ${NLN} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile${n}.nc" "${DATA}/fnorog.${cmem}"                               
scripts/exgdas_enkf_sfc.sh:            ${NLN} "${FIXgfs}/orog/${CASE}/${CASE}_grid.tile${n}.nc"      "${DATA}/fngrid.${cmem}"                                          
scripts/exgdas_enkf_sfc.sh:            ${NLN} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile${n}.nc" "${DATA}/fnorog.${cmem}"                               
scripts/exglobal_atmos_sfcanl.sh:        ${NLN} "${FIXgfs}/orog/${CASE}/${CASE}_grid.tile${n}.nc"                         "${DATA}/fngrid.00${n}"                      
scripts/exglobal_atmos_sfcanl.sh:        ${NLN} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile${n}.nc"                     "${DATA}/fnorog.00${n}"          
scripts/exglobal_atmos_sfcanl.sh:    ${NLN} "${FIXgfs}/orog/${CASE}/${CASE}_grid.tile${n}.nc"                       "${DATA}/fngrid.00${n}"                            
scripts/exglobal_atmos_sfcanl.sh:    ${NLN} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile${n}.nc"                   "${DATA}/fnorog.00${n}"                
scripts/exglobal_forecast.sh:##         1. computing grid, ${FIXgfs}/orog/$CASE/${CASE}_grid.tile${n}.nc                                                               
scripts/exglobal_forecast.sh:##         2. orography data, ${FIXgfs}/orog/$CASE/${CASE}.mx${OCNRES}_oro_data.tile${n}.nc                                               
scripts/exglobal_forecast.sh:##         3. mosaic data, ${FIXgfs}/orog/$CASE/${CASE}_mosaic.nc                                                                         
parm/config/gfs/config.base:export FIXorog="${FIXgfs}/orog"                                                                                                            
parm/ufs/fix/gfs/atmos.fixed_files.yaml:  - [$(FIXgfs)/orog/$(CASE)/$(CASE)_mosaic.nc, $(DATA)/INPUT/grid_spec.nc]                                                     
parm/ufs/fix/gfs/atmos.fixed_files.yaml:  - [$(FIXgfs)/orog/$(CASE)/$(CASE)_grid.tile1.nc, $(DATA)/INPUT/]                                                             
parm/ufs/fix/gfs/atmos.fixed_files.yaml:  - [$(FIXgfs)/orog/$(CASE)/$(CASE)_grid.tile2.nc, $(DATA)/INPUT/]                                                             
parm/ufs/fix/gfs/atmos.fixed_files.yaml:  - [$(FIXgfs)/orog/$(CASE)/$(CASE)_grid.tile3.nc, $(DATA)/INPUT/]                                                             
parm/ufs/fix/gfs/atmos.fixed_files.yaml:  - [$(FIXgfs)/orog/$(CASE)/$(CASE)_grid.tile4.nc, $(DATA)/INPUT/]                                                             
parm/ufs/fix/gfs/atmos.fixed_files.yaml:  - [$(FIXgfs)/orog/$(CASE)/$(CASE)_grid.tile5.nc, $(DATA)/INPUT/]                                                             
parm/ufs/fix/gfs/atmos.fixed_files.yaml:  - [$(FIXgfs)/orog/$(CASE)/$(CASE)_grid.tile6.nc, $(DATA)/INPUT/]                                                             
parm/ufs/fix/gfs/land.fixed_files.yaml:     # Files from FIXgfs/orog/C??/sfc                                                                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).facsf.tile1.nc, $(DATA)/]                                                
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).facsf.tile2.nc, $(DATA)/]                                                
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).facsf.tile3.nc, $(DATA)/]                                                
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).facsf.tile4.nc, $(DATA)/]                                                
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).facsf.tile5.nc, $(DATA)/]                                                
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).facsf.tile6.nc, $(DATA)/]                                                
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).maximum_snow_albedo.tile1.nc, $(DATA)/]                                  
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).maximum_snow_albedo.tile2.nc, $(DATA)/]                                  
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).maximum_snow_albedo.tile3.nc, $(DATA)/]                                  
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).maximum_snow_albedo.tile4.nc, $(DATA)/]                                  
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).maximum_snow_albedo.tile5.nc, $(DATA)/]                                  
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).maximum_snow_albedo.tile6.nc, $(DATA)/]                                  
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile1.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile2.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile3.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile4.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile5.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile6.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).snowfree_albedo.tile1.nc, $(DATA)/]                                      
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).snowfree_albedo.tile2.nc, $(DATA)/]                                      
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).snowfree_albedo.tile3.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).maximum_snow_albedo.tile4.nc, $(DATA)/]                         [50/4604]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).maximum_snow_albedo.tile5.nc, $(DATA)/]                                  
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).maximum_snow_albedo.tile6.nc, $(DATA)/]                                  
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile1.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile2.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile3.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile4.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile5.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).slope_type.tile6.nc, $(DATA)/]                                           
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).snowfree_albedo.tile1.nc, $(DATA)/]                                      
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).snowfree_albedo.tile2.nc, $(DATA)/]                                      
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).snowfree_albedo.tile3.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).snowfree_albedo.tile4.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).snowfree_albedo.tile5.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).snowfree_albedo.tile6.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).soil_type.tile1.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).soil_type.tile2.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).soil_type.tile3.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).soil_type.tile4.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).soil_type.tile5.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).soil_type.tile6.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).substrate_temperature.tile1.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).substrate_temperature.tile2.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).substrate_temperature.tile3.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).substrate_temperature.tile4.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).substrate_temperature.tile5.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).substrate_temperature.tile6.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_greenness.tile1.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_greenness.tile2.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_greenness.tile3.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_greenness.tile4.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_greenness.tile5.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_greenness.tile6.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_type.tile1.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_type.tile2.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_type.tile3.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_type.tile4.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_type.tile5.nc, $(DATA)/]
parm/ufs/fix/gfs/land.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/sfc/$(CASE).mx$(OCNRES).vegetation_type.tile6.nc, $(DATA)/]
parm/ufs/fix/gfs/ocean.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/$(CASE).mx$(OCNRES)_oro_data.tile1.nc, $(DATA)/INPUT/oro_data.tile1.nc]
parm/ufs/fix/gfs/ocean.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/$(CASE).mx$(OCNRES)_oro_data.tile2.nc, $(DATA)/INPUT/oro_data.tile2.nc]
parm/ufs/fix/gfs/ocean.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/$(CASE).mx$(OCNRES)_oro_data.tile3.nc, $(DATA)/INPUT/oro_data.tile3.nc]
parm/ufs/fix/gfs/ocean.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/$(CASE).mx$(OCNRES)_oro_data.tile4.nc, $(DATA)/INPUT/oro_data.tile4.nc]                 [8/4604]
parm/ufs/fix/gfs/ocean.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/$(CASE).mx$(OCNRES)_oro_data.tile5.nc, $(DATA)/INPUT/oro_data.tile5.nc]
parm/ufs/fix/gfs/ocean.fixed_files.yaml:     - [$(FIXgfs)/orog/$(CASE)/$(CASE).mx$(OCNRES)_oro_data.tile6.nc, $(DATA)/INPUT/oro_data.tile6.nc]
ush/forecast_predet.sh:  FNALBC2=${FNALBC2:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.facsf.tileX.nc"}
ush/forecast_predet.sh:  FNTG3C=${FNTG3C:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.substrate_temperature.tileX.nc"}
ush/forecast_predet.sh:  FNVEGC=${FNVEGC:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_greenness.tileX.nc"}
ush/forecast_predet.sh:  FNVMNC=${FNVMNC:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_greenness.tileX.nc"}
ush/forecast_predet.sh:  FNVMXC=${FNVMXC:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_greenness.tileX.nc"}
ush/forecast_predet.sh:  FNSLPC=${FNSLPC:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.slope_type.tileX.nc"}
ush/forecast_predet.sh:  FNALBC=${FNALBC:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.snowfree_albedo.tileX.nc"}
ush/forecast_predet.sh:  FNVETC=${FNVETC:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_type.tileX.nc"}
ush/forecast_predet.sh:  FNSOTC=${FNSOTC:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.soil_type.tileX.nc"}
ush/forecast_predet.sh:  FNSOCC=${FNSOCC:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.soil_color.tileX.nc"}
ush/forecast_predet.sh:  FNABSC=${FNABSC:-"${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.maximum_snow_albedo.tileX.nc"}
ush/forecast_predet.sh:    ${NCP} "${FIXgfs}/orog/${CASE}/${CASE}_mosaic.nc" "${DATA}/INPUT/grid_spec.nc"
ush/forecast_predet.sh:    ${NCP} "${FIXgfs}/orog/${CASE}/${CASE}_mosaic.nc" "${DATA}/INPUT/${CASE}_mosaic.nc"
ush/forecast_predet.sh:    ${NCP} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile${tt}.nc" "${DATA}/INPUT/oro_data.tile${tt}.nc"
ush/forecast_predet.sh:    ${NCP} "${FIXgfs}/orog/${CASE}/${CASE}_grid.tile${tt}.nc"                 "${DATA}/INPUT/${CASE}_grid.tile${tt}.nc"
ush/gaussian_sfcanl.sh:#     fixed data : ${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile*.nc
ush/gaussian_sfcanl.sh:FIXWGTS=${FIXWGTS:-${FIXgfs}/orog/${CASE}/fv3_SCRIP_${CASE}_GRIDSPEC_lon${LONB_SFC}_lat${LATB_SFC}.gaussian.neareststod.nc}
ush/gaussian_sfcanl.sh:${NLN} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile1.nc" "./orog.tile1.nc"
ush/gaussian_sfcanl.sh:${NLN} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile2.nc" "./orog.tile2.nc"
ush/gaussian_sfcanl.sh:${NLN} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile3.nc" "./orog.tile3.nc"
ush/gaussian_sfcanl.sh:${NLN} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile4.nc" "./orog.tile4.nc"
ush/gaussian_sfcanl.sh:${NLN} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile5.nc" "./orog.tile5.nc"
ush/gaussian_sfcanl.sh:${NLN} "${FIXgfs}/orog/${CASE}/${CASE}.mx${OCNRES}_oro_data.tile6.nc" "./orog.tile6.nc"
ush/global_cycle.sh:#                   defaults to ${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.snowfree_albedo.tileX.nc
ush/global_cycle.sh:#                   Defaults to ${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.facsf.tileX.nc
ush/global_cycle.sh:#                   Defaults to ${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.substrate_temperature.tileX.nc
ush/global_cycle.sh:#                   Defaults to ${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_greenness.tileX.nc
ush/global_cycle.sh:#                   Defaults to ${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_type.tileX.nc
ush/global_cycle.sh:#                   Defaults to ${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.soil_type.tileX.nc
ush/global_cycle.sh:#                   Defaults to ${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_greenness.tileX.nc
ush/global_cycle.sh:#                   Defaults to ${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_greenness.tileX.nc
ush/global_cycle.sh:#                   Defaults to ${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.slope_type.tileX.nc
ush/global_cycle.sh:#                   Defaults to ${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.maximum_snow_albedo.tileX.nc
ush/global_cycle.sh:FNALBC2=${FNALBC2:-${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.facsf.tileX.nc}
ush/global_cycle.sh:FNTG3C=${FNTG3C:-${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.substrate_temperature.tileX.nc}
ush/global_cycle.sh:FNVEGC=${FNVEGC:-${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_greenness.tileX.nc}
ush/global_cycle.sh:FNALBC=${FNALBC:-${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.snowfree_albedo.tileX.nc}
ush/global_cycle.sh:FNVETC=${FNVETC:-${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_type.tileX.nc}
ush/global_cycle.sh:FNSOTC=${FNSOTC:-${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.soil_type.tileX.nc}
ush/global_cycle.sh:FNABSC=${FNABSC:-${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.maximum_snow_albedo.tileX.nc}
ush/global_cycle.sh:FNVMNC=${FNVMNC:-${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_greenness.tileX.nc}
ush/global_cycle.sh:FNVMXC=${FNVMXC:-${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.vegetation_greenness.tileX.nc}
ush/global_cycle.sh:FNSLPC=${FNSLPC:-${FIXgfs}/orog/${CASE}/sfc/${CASE}.mx${OCNRES}.slope_type.tileX.nc}
ush/global_cycle_driver.sh:  ln -fs $FIXgfs/orog/${CASE}/C${CRES}_grid.tile${n}.nc       $DATA/fngrid.00$n
ush/global_cycle_driver.sh:    ln -fs $FIXgfs/orog/${CASE}/C${CRES}_oro_data.tile${n}.nc   $DATA/fnorog.00$n
ush/global_cycle_driver.sh:    ln -fs $FIXgfs/orog/${CASE}/C${CRES}.mx${OCNRES}_oro_data.tile${n}.nc   $DATA/fnorog.00$n

@WalterKolczynski-NOAA
Copy link
Contributor

@guoqing-noaa I think changing it is still the way to go. Changing UFS Utils may require additional changes beyond scripts we use. @GeorgeGayno-NOAA will know for sure

@GeorgeGayno-NOAA Short version: We're looking to go back to using ${FIXorog} in place of ${FIXgfs}/orog as the best way to support running with a nest for the AR project, which needs a different set of orog and ugwd fix files. I know we only recently changed it, so apologies.

@GeorgeGayno-NOAA
Copy link
Contributor

@guoqing-noaa I think changing it is still the way to go. Changing UFS Utils may require additional changes beyond scripts we use. @GeorgeGayno-NOAA will know for sure

@GeorgeGayno-NOAA Short version: We're looking to go back to using ${FIXorog} in place of ${FIXgfs}/orog as the best way to support running with a nest for the AR project, which needs a different set of orog and ugwd fix files. I know we only recently changed it, so apologies.

That change was done in this PR: ufs-community/UFS_UTILS#899. Does the entire PR need to be reverted or just the $FIXorog part?

@guoqing-noaa
Copy link
Contributor Author

Thanks, @WalterKolczynski-NOAA and @GeorgeGayno-NOAA

Currently, the idea is to revert $FIXorog and $FIXugwd only

I will work on this.

@GeorgeGayno-NOAA
Copy link
Contributor

Thanks, @WalterKolczynski-NOAA and @GeorgeGayno-NOAA

Currently, the idea is to revert $FIXorog and $FIXugwd only

I will work on this.

I will open a UFS_UTILS issue? Should I assign it to you or myself?

@guoqing-noaa
Copy link
Contributor Author

I will open a UFS_UTILS issue? Should I assign it to you or myself?

Thanks, @GeorgeGayno-NOAA! It will be great if you can make changes for UFS_UTILS. And I can focus on making changes to the global workflow.

@aerorahul
Copy link
Contributor

@guoqing-noaa @GeorgeGayno-NOAA
I agree w/ @WalterKolczynski-NOAA.
We should define FIXorog and FIXugwd depending on DO_NEST where applicable and use those 2 variables instead of $FIXgfs/orog and $FIXgfs/ugwd. The variables FIXorog and FIXugwd could be defined in config files or in the j-job that needs this information.
@GeorgeGayno-NOAA
Someone from the workflow team can make that change in the ufs-utils.
@guoqing-noaa
If you can make the update for the nest in the global-workflow in this PR, we could update the hash of ufs-utils included in this PR.
Please let me know if we need to coordinate/clarify offline.

@GeorgeGayno-NOAA
Copy link
Contributor

@guoqing-noaa @GeorgeGayno-NOAA I agree w/ @WalterKolczynski-NOAA. We should define FIXorog and FIXugwd depending on DO_NEST where applicable and use those 2 variables instead of $FIXgfs/orog and $FIXgfs/ugwd. The variables FIXorog and FIXugwd could be defined in config files or in the j-job that needs this information. @GeorgeGayno-NOAA Someone from the workflow team can make that change in the ufs-utils.

Great. I opened this issue: ufs-community/UFS_UTILS#955

@guoqing-noaa If you can make the update for the nest in the global-workflow in this PR, we could update the hash of ufs-utils included in this PR. Please let me know if we need to coordinate/clarify offline.

@guoqing-noaa
Copy link
Contributor Author

Thanks, @aerorahul. I will update this PR sometime today and get ready for a review.

@aerorahul
Copy link
Contributor

aerorahul commented May 31, 2024

@guoqing-noaa
Please see ufs-community/UFS_UTILS#956
You should be able to define and export FIXorog in the config files or in the script where global_cycle.sh is called to realize the change.

- link nest fix files when needed, i.e. keep the --nest option
- change $FIXgfs/orog to $FIXorog
- change $FIXgfs/ugwd to $FIXugwd
@guoqing-noaa
Copy link
Contributor Author

@guoqing-noaa Please see ufs-community/UFS_UTILS#956 You should be able to define and export FIXorog in the config files or in the script where global_cycle.sh is called to realize the change.
Thanks! @aerorahul

@guoqing-noaa
Copy link
Contributor Author

@aerorahul @WalterKolczynski-NOAA This PR is ready for review. Let me know if you have any comments. Thanks!

Copy link
Contributor

@WalterKolczynski-NOAA WalterKolczynski-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 except the UFS_UTILS version needs to be updated. Let us know if you need guidance on how to update a submodule hash.

@guoqing-noaa
Copy link
Contributor Author

Looks good except the UFS_UTILS version needs to be updated. Let us know if you need guidance on how to update a submodule hash.

@WalterKolczynski-NOAA Thanks for the feedback. I just updated the UFS_UTILS hash.

Copy link
Contributor

@WalterKolczynski-NOAA WalterKolczynski-NOAA left a comment

Choose a reason for hiding this comment

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

Conditionally approved pending successful completion of CI tests.

@WalterKolczynski-NOAA WalterKolczynski-NOAA added the CI-Hercules-Ready **CM use only** PR is ready for CI testing on Hercules label Jun 11, 2024
@emcbot emcbot added CI-Hercules-Building **Bot use only** CI testing is cloning/building on Hercules and removed CI-Hercules-Ready **CM use only** PR is ready for CI testing on Hercules labels Jun 11, 2024
@emcbot
Copy link

emcbot commented Jun 11, 2024

CI Passed Hercules at
Built and ran in directory /work2/noaa/stmp/CI/HERCULES/2632

@WalterKolczynski-NOAA WalterKolczynski-NOAA added CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera CI-Wcoss2-Ready **CM use only** PR is ready for CI testing on WCOSS and removed CI-Hercules-Failed **Bot use only** CI testing on Hercules for this PR has failed labels Jun 11, 2024
@emcbot emcbot added CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera CI-Wcoss2-Building **Bot use only** CI testing is cloning/building on WCOSS and removed CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera CI-Wcoss2-Ready **CM use only** PR is ready for CI testing on WCOSS labels Jun 11, 2024
@emcbot
Copy link

emcbot commented Jun 11, 2024

CI Update on Wcoss2 at 06/11/24 08:48:10 PM
============================================
Cloning and Building global-workflow PR: 2632
with PID: 238626 on host: clogin05

@emcbot emcbot added CI-Wcoss2-Running **Bot use only** CI testing on WCOSS for this PR is in-progress and removed CI-Wcoss2-Building **Bot use only** CI testing is cloning/building on WCOSS labels Jun 11, 2024
@emcbot
Copy link

emcbot commented Jun 11, 2024

Automated global-workflow Testing Results:

Machine: Wcoss2
Start: Tue Jun 11 20:58:32 UTC 2024 on clogin05
---------------------------------------------------
Build: Completed at 06/11/24 09:36:38 PM
Case setup: Completed for experiment C48_ATM_49dcee8b
Case setup: Skipped for experiment C48mx500_3DVarAOWCDA_49dcee8b
Case setup: Skipped for experiment C48_S2SWA_gefs_49dcee8b
Case setup: Completed for experiment C48_S2SW_49dcee8b
Case setup: Completed for experiment C96_atm3DVar_extended_49dcee8b
Case setup: Skipped for experiment C96_atm3DVar_49dcee8b
Case setup: Skipped for experiment C96_atmaerosnowDA_49dcee8b
Case setup: Completed for experiment C96C48_hybatmDA_49dcee8b
Case setup: Completed for experiment C96C48_ufs_hybatmDA_49dcee8b

@emcbot emcbot added CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress and removed CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera labels Jun 11, 2024
@emcbot
Copy link

emcbot commented Jun 11, 2024

Experiment C48_ATM_49dcee8b SUCCESS on Wcoss2 at 06/11/24 10:48:11 PM

@emcbot
Copy link

emcbot commented Jun 11, 2024

Experiment C48_S2SW_49dcee8b SUCCESS on Wcoss2 at 06/11/24 11:06:09 PM

@emcbot
Copy link

emcbot commented Jun 11, 2024

Experiment C96C48_ufs_hybatmDA_49dcee8b SUCCESS on Wcoss2 at 06/11/24 11:57:11 PM

@emcbot
Copy link

emcbot commented Jun 12, 2024

Experiment C96C48_hybatmDA_49dcee8b SUCCESS on Wcoss2 at 06/12/24 12:03:23 AM

@emcbot emcbot added CI-Hera-Passed **Bot use only** CI testing on Hera for this PR has completed successfully and removed CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress labels Jun 12, 2024
@emcbot
Copy link

emcbot commented Jun 12, 2024

CI Passed Hera at
Built and ran in directory /scratch1/NCEPDEV/global/CI/2632

@emcbot
Copy link

emcbot commented Jun 12, 2024

Experiment C96_atm3DVar_extended_49dcee8b SUCCESS on Wcoss2 at 06/12/24 05:42:29 AM

@emcbot emcbot added CI-Wcoss2-Passed **Bot use only** CI testing on WCOSS for this PR has completed successfully and removed CI-Wcoss2-Running **Bot use only** CI testing on WCOSS for this PR is in-progress labels Jun 12, 2024
@emcbot
Copy link

emcbot commented Jun 12, 2024

All CI Test Cases Passed on Wcoss2:

Experiment C48_ATM_49dcee8b *** SUCCESS *** at 06/11/24 10:48:11 PM
Experiment C48_S2SW_49dcee8b *** SUCCESS *** at 06/11/24 11:06:09 PM
Experiment C96C48_ufs_hybatmDA_49dcee8b *** SUCCESS *** at 06/11/24 11:57:11 PM
Experiment C96C48_hybatmDA_49dcee8b *** SUCCESS *** at 06/12/24 12:03:23 AM
Experiment C96_atm3DVar_extended_49dcee8b *** SUCCESS *** at 06/12/24 05:42:29 AM

@WalterKolczynski-NOAA WalterKolczynski-NOAA merged commit 2e6f1fc into NOAA-EMC:develop Jun 12, 2024
9 of 10 checks passed
danholdaway added a commit to danholdaway/global-workflow that referenced this pull request Jun 13, 2024
…bal-workflow into feature/move_jcb

* 'feature/move_jcb' of https://github.com/danholdaway/global-workflow:
  Add COM template for JEDI obs (NOAA-EMC#2678)
  Link both global-nest fix files and non-nest ones at the same time (NOAA-EMC#2632)
  Update ufs-weather-model  (NOAA-EMC#2663)
  Add ability to process ocean/ice products specific to GEFS (NOAA-EMC#2561)
  Update cleanup job to use COMIN/COMOUT (NOAA-EMC#2649)
  Add overwrite to creat experiment in BASH CI (NOAA-EMC#2676)
  Add handling to select CRTM cloud optical table based on cloud scheme and update calcanal_gfs.py  (NOAA-EMC#2645)
  Update RDHPCS Hera resource for `eupd` task (NOAA-EMC#2636)
KateFriedman-NOAA added a commit to KateFriedman-NOAA/global-workflow that referenced this pull request Jun 14, 2024
* origin/develop:
  Add observation preparation job for aerosols DA to workflow (NOAA-EMC#2624)
  Remove ocean daily files (NOAA-EMC#2689)
  Update Jenkinsfile
  Add Hercules-EMC to the Jenkins configurable parameter list (NOAA-EMC#2685)
  Update gdas.cd and gsi_utils hashes (NOAA-EMC#2641)
  Add ability to use GEFS replay ICs (NOAA-EMC#2559)
  Replace `sleep` with `wait_for_file` (NOAA-EMC#2586)
  Add COM template for JEDI obs (NOAA-EMC#2678)
  Link both global-nest fix files and non-nest ones at the same time (NOAA-EMC#2632)
  Update ufs-weather-model  (NOAA-EMC#2663)
  Add ability to process ocean/ice products specific to GEFS (NOAA-EMC#2561)
  Update cleanup job to use COMIN/COMOUT (NOAA-EMC#2649)
  Add overwrite to creat experiment in BASH CI (NOAA-EMC#2676)
  Add handling to select CRTM cloud optical table based on cloud scheme and update calcanal_gfs.py  (NOAA-EMC#2645)

Refs NOAA-EMC#2475
RussTreadon-NOAA pushed a commit that referenced this pull request Jun 24, 2024
…2632)

This PR enables linking both global-nest fix files and non-nest ones at
the same time and users can run both nesting and non-nesting experiments
at the same time without worries about what fix files to be linked.

Resolves #2631
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-Hera-Passed **Bot use only** CI testing on Hera for this PR has completed successfully CI-Hercules-Passed **Bot use only** CI testing on Hercules for this PR has completed successfully CI-Wcoss2-Passed **Bot use only** CI testing on WCOSS for this PR has completed successfully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Link both global-nest fix files and non-nest ones at the same time
5 participants