Skip to content

Commit

Permalink
Sync with ESCOMP/CDEPS (2024-12) + Update global_control.nml.IN based…
Browse files Browse the repository at this point in the history
… on GW specs (#2528) + Sync with ESCOMP/CMEPS (#2469)

* UFSWM - Sync with ESCOMP/CDEPS (2024-12).  Sync with ESCOMP/CMEPS (2024-12). Make additional changes to global_control.nml.IN based on GW needs. 
  * CDEPS - Sync with ESCOMP/main (2024-12)
  * CMEPS - Sync with ESCOMP/main (2024-12)
  • Loading branch information
NickSzapiro-NOAA authored Dec 16, 2024
1 parent 409bc85 commit 6ec6b45
Show file tree
Hide file tree
Showing 22 changed files with 2,441 additions and 2,769 deletions.
2 changes: 1 addition & 1 deletion CDEPS-interface/CDEPS
Submodule CDEPS updated 69 files
+4 −4 .github/workflows/extbuild.yml
+3 −0 .gitmodules
+1 −18 CMakeLists.txt
+43 −25 cime_config/buildlib
+21 −0 cime_config/stream_cdeps.py
+2 −1 cime_config/stream_definition_v2.0.xsd
+0 −150 cime_config/testdefs/testlist_cdeps.xml
+63 −77 datm/atm_comp_nuopc.F90
+12 −5 datm/cime_config/buildnml
+13 −2 datm/cime_config/config_component.xml
+40 −7 datm/cime_config/namelist_definition_datm.xml
+334 −9 datm/cime_config/stream_definition_datm.xml
+39 −34 datm/cime_config/testdefs/testlist_datm.xml
+0 −38 datm/datm_datamode_clmncep_mod.F90
+12 −39 datm/datm_datamode_core2_mod.F90
+2 −41 datm/datm_datamode_cplhist_mod.F90
+2 −40 datm/datm_datamode_era5_mod.F90
+0 −39 datm/datm_datamode_gefs_mod.F90
+18 −39 datm/datm_datamode_jra_mod.F90
+0 −39 datm/datm_datamode_simple_mod.F90
+34 −0 dglc/CMakeLists.txt
+1 −0 dglc/cime_config/buildlib
+197 −0 dglc/cime_config/buildnml
+11 −0 dglc/cime_config/config_archive.xml
+92 −0 dglc/cime_config/config_component.xml
+140 −0 dglc/cime_config/namelist_definition_dglc.xml
+49 −0 dglc/cime_config/stream_definition_dglc.xml
+42 −0 dglc/cime_config/testdefs/testlist_dglc.xml
+13 −0 dglc/cime_config/user_nl_dglc
+33 −0 dglc/cime_config/user_nl_dglc_streams
+697 −0 dglc/dglc_datamode_noevolve_mod.F90
+842 −0 dglc/glc_comp_nuopc.F90
+6 −4 dice/cime_config/testdefs/testlist_dice.xml
+12 −6 dice/dice_datamode_cplhist_mod.F90
+12 −9 dice/dice_datamode_ssmi_mod.F90
+16 −10 dice/ice_comp_nuopc.F90
+3 −2 dlnd/cime_config/testdefs/testlist_dlnd.xml
+19 −10 dlnd/lnd_comp_nuopc.F90
+4 −1 doc/source/datm.rst
+117 −0 doc/source/dglc.rst
+1 −0 doc/source/index.rst
+2 −1 doc/source/introduction.rst
+3 −1 doc/source/streams.rst
+2 −0 docn/CMakeLists.txt
+6 −2 docn/cime_config/config_component.xml
+5 −1 docn/cime_config/namelist_definition_docn.xml
+99 −1 docn/cime_config/stream_definition_docn.xml
+10 −7 docn/cime_config/testdefs/testlist_docn.xml
+0 −39 docn/docn_datamode_copyall_mod.F90
+0 −39 docn/docn_datamode_cplhist_mod.F90
+0 −44 docn/docn_datamode_iaf_mod.F90
+221 −0 docn/docn_datamode_multilev_dom_mod.F90
+186 −0 docn/docn_datamode_multilev_mod.F90
+15 −9 docn/docn_datamode_som_mod.F90
+77 −35 docn/ocn_comp_nuopc.F90
+4 −2 drof/cime_config/config_component.xml
+2 −1 drof/cime_config/namelist_definition_drof.xml
+32 −0 drof/cime_config/stream_definition_drof.xml
+3 −2 drof/cime_config/testdefs/testlist_drof.xml
+18 −11 drof/rof_comp_nuopc.F90
+16 −4 dshr/dshr_dfield_mod.F90
+16 −23 dshr/dshr_mod.F90
+3 −2 dwav/cime_config/testdefs/testlist_dwav.xml
+17 −9 dwav/wav_comp_nuopc.F90
+2 −1 share/CMakeLists.txt
+936 −0 share/nuopc_shr_methods.F90
+6 −3 streams/dshr_methods_mod.F90
+50 −18 streams/dshr_strdata_mod.F90
+8 −8 streams/dshr_stream_mod.F90
11 changes: 10 additions & 1 deletion CDEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ target_include_directories(dwav PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY
target_link_libraries(dwav PRIVATE dshr share streams)
target_link_libraries(dwav PRIVATE esmf)

# CDEPS/dglc
add_library(dglc OBJECT ${cdeps_dglc_files})
add_dependencies(dglc share streams dshr)
set_target_properties(dglc PROPERTIES Fortran_MODULE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/mod)
target_include_directories(dglc PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>)
target_link_libraries(dglc PRIVATE dshr share streams)
target_link_libraries(dglc PRIVATE esmf PIO::PIO_Fortran)

# CDEPS
add_library(cdeps STATIC $<TARGET_OBJECTS:share>
$<TARGET_OBJECTS:streams>
Expand All @@ -104,7 +112,8 @@ add_library(cdeps STATIC $<TARGET_OBJECTS:share>
$<TARGET_OBJECTS:dlnd>
$<TARGET_OBJECTS:docn>
$<TARGET_OBJECTS:drof>
$<TARGET_OBJECTS:dwav>)
$<TARGET_OBJECTS:dwav>
$<TARGET_OBJECTS:dglc>)
add_library(cdeps::cdeps ALIAS cdeps)
target_include_directories(cdeps PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/mod>
$<INSTALL_INTERFACE:mod>)
Expand Down
8 changes: 8 additions & 0 deletions CDEPS-interface/cdeps_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ list(APPEND cdeps_share_files
CDEPS/share/shr_timer_mod.F90
CDEPS/share/shr_file_mod.F90
CDEPS/share/shr_nl_mod.F90
CDEPS/share/nuopc_shr_methods.F90
)

list(APPEND cdeps_streams_files
Expand Down Expand Up @@ -68,6 +69,8 @@ list(APPEND cdeps_docn_files
CDEPS/docn/docn_datamode_iaf_mod.F90
CDEPS/docn/docn_datamode_som_mod.F90
CDEPS/docn/docn_datamode_cplhist_mod.F90
CDEPS/docn/docn_datamode_multilev_mod.F90
CDEPS/docn/docn_datamode_multilev_dom_mod.F90
CDEPS/docn/docn_import_data_mod.F90
CDEPS/docn/ocn_comp_nuopc.F90
)
Expand All @@ -79,3 +82,8 @@ list(APPEND cdeps_drof_files
list(APPEND cdeps_dwav_files
CDEPS/dwav/wav_comp_nuopc.F90
)

list(APPEND cdeps_dglc_files
CDEPS/dglc/dglc_datamode_noevolve_mod.F90
CDEPS/dglc/glc_comp_nuopc.F90
)
2 changes: 1 addition & 1 deletion CMEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ list(APPEND _ufs_util_files
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_kind_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/ufs/cdeps_share/shr_assert_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/ufs/cdeps_share/shr_infnan_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/nuopc_shr_methods.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/ufs/cdeps_share/shr_is_restart_fh_mod.F90)

list(APPEND _mediator_files
Expand All @@ -66,7 +67,6 @@ list(APPEND _mediator_files
CMEPS/mediator/med_phases_prep_ocn_mod.F90
CMEPS/mediator/esmFlds.F90
CMEPS/mediator/med.F90
CMEPS/mediator/med_time_mod.F90
CMEPS/mediator/med_phases_ocnalb_mod.F90
CMEPS/mediator/med_phases_prep_wav_mod.F90
CMEPS/mediator/med_utils_mod.F90
Expand Down
2 changes: 1 addition & 1 deletion tests/bl_date.conf
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export BL_DATE=20241206
export BL_DATE=20241212
11 changes: 1 addition & 10 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -891,19 +891,10 @@ export MAX_OUTPUT_FIELDS=310
export UPDATE_FULL_OMEGA=.false.

# Stochastic physics
export HIDE_LAND_PERT=' '
export HIDE_NEST='!'
export HIDE_SPPT='!'
export HIDE_SKEB='!'
export HIDE_SHUM='!'
export HIDE_OCNSPPT='!'
export HIDE_EPBL='!'
export HIDE_IAU='!'

export LCNORM=.false.
export PERT_MP=.false.
export PERT_RADTEND=.false.
export PERT_CLDS=.true.
export PERT_CLDS=.false.

export STOCHINI=.false.
export DO_SPPT=.false.
Expand Down
5 changes: 5 additions & 0 deletions tests/fv3_conf/cpld_datm_cdeps.IN
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ else
cp ../${DEP_RUN}${RT_SUFFIX}/${CICE_RESTART_DIR}/iced.2011-10-01-43200.nc ./INPUT
RFILE="iced.2011-10-01-43200.nc"
ls -1 "./INPUT/"${RFILE}>ice.restart_file

# CDEPS restart and pointer files
RFILE="DATM_${DATM_SRC}.datm.r.2011-10-01-43200.nc"
cp ../${DEP_RUN}${RT_SUFFIX}/${RFILE} ./INPUT
ls -1 "./INPUT/"${RFILE}>rpointer.atm
fi
7 changes: 6 additions & 1 deletion tests/fv3_conf/cpld_datm_cdeps_gfs.IN
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,17 @@ else
cp ../${DEP_RUN}${RT_SUFFIX}/${MOM6_RESTART_DIR}/MOM.res.2021-03-22-18*.nc ./INPUT/MOM.res.nc

# CMEPS restart and pointer files
RFILE="DATM_${DATM_SRC}.cpl.r.2021-03-22-64800.nc.nc"
RFILE="DATM_${DATM_SRC}.cpl.r.2021-03-22-64800.nc"
cp ../${DEP_RUN}${RT_SUFFIX}/${CMEPS_RESTART_DIR}/${RFILE} .
ls -1 ${RFILE}>rpointer.cpl

# CICE restart and pointer files
cp ../${DEP_RUN}${RT_SUFFIX}/${CICE_RESTART_DIR}/iced.2021-03-22-64800.nc ./INPUT
RFILE="iced.2021-03-22-64800.nc"
ls -1 "./INPUT/"${RFILE}>ice.restart_file

# CDEPS restart and pointer files
RFILE="DATM_${DATM_SRC}.datm.r.2021-03-22-64800.nc"
cp ../${DEP_RUN}${RT_SUFFIX}/${RFILE} ./INPUT
ls -1 "./INPUT/"${RFILE}>rpointer.atm
fi
Loading

0 comments on commit 6ec6b45

Please sign in to comment.