Skip to content

Commit

Permalink
Fix SW net to ocean (#1773)
Browse files Browse the repository at this point in the history
* update CMEPS w/ fix for error condition

update cmeps build to implement check4nans feature using module stored in cdeps repo

* make pio rearranger=box the default for all tests

* update configurations for ocnalb changes

* set the ocean albedo limit in config and use it to set logical
flag
* albdir and albdif can be set as non-std values in nems.configure
will default to 0.07 and 0.06 if not set

* ocean albedo changes were merged at ESCOMP

* fix variable name in 2 nems.configure files

* update CMEPs with fioi_swpen fix

* remove albedo limiter for DATM cases
  • Loading branch information
DeniseWorthen committed Aug 25, 2023
1 parent 7e9063d commit f590ec8
Show file tree
Hide file tree
Showing 17 changed files with 5,667 additions and 5,934 deletions.
2 changes: 2 additions & 0 deletions CMEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ list(APPEND _nems_util_files
CMEPS/ufs/ufs_kind_mod.F90
CMEPS/ufs/perf_mod.F90
CMEPS/ufs/ufs_const_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_orb_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_const_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_abort_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_strconvert_mod.F90
${PROJECT_SOURCE_DIR}/CDEPS-interface/CDEPS/share/shr_log_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=20230822
export BL_DATE=20230824
4 changes: 4 additions & 0 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,8 @@ export ocn_model=mom6
export ice_model=cice6
export wav_model=ww3
export pio_rearranger=box
export ocean_albedo_limit=0.06
export use_mean_albedos=.false.

export coupling_interval_slow_sec=${DT_THERM_MOM6}
export coupling_interval_fast_sec=${DT_ATMOS}
Expand Down Expand Up @@ -955,6 +957,8 @@ export atm_model=datm
export ocn_model=mom6
export ice_model=cice6
export pio_rearranger=box
export ocean_albedo_limit=0.06
export use_mean_albedos=.false.

export ATM_compute_tasks=$ATM_compute_tasks_cdeps_100
export OCN_tasks=$OCN_tasks_cdeps_100
Expand Down
1,462 changes: 731 additions & 731 deletions tests/logs/RegressionTests_acorn.log

Large diffs are not rendered by default.

2,400 changes: 1,040 additions & 1,360 deletions tests/logs/RegressionTests_cheyenne.log

Large diffs are not rendered by default.

1,468 changes: 734 additions & 734 deletions tests/logs/RegressionTests_gaea.log

Large diffs are not rendered by default.

2,112 changes: 1,056 additions & 1,056 deletions tests/logs/RegressionTests_hera.log

Large diffs are not rendered by default.

1,320 changes: 660 additions & 660 deletions tests/logs/RegressionTests_jet.log

Large diffs are not rendered by default.

1,552 changes: 776 additions & 776 deletions tests/logs/RegressionTests_orion.log

Large diffs are not rendered by default.

1,230 changes: 615 additions & 615 deletions tests/logs/RegressionTests_wcoss2.log

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions tests/parm/nems.configure.cpld.IN
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ runSeq::
MED med_phases_post_ice
WAV -> MED :remapMethod=redist
MED med_phases_post_wav
MED med_phases_ocnalb_run
MED med_phases_prep_ocn_accum
@
OCN -> MED :remapMethod=redist
Expand All @@ -125,7 +126,9 @@ MED_attributes::
coupling_mode = @[CPLMODE]
history_tile_atm = @[ATMTILESIZE]
pio_rearranger = @[pio_rearranger]
ocean_albedo_limit = @[ocean_albedo_limit]
::

ALLCOMP_attributes::
ScalarFieldCount = 2
ScalarFieldIdxGridNX = 1
Expand All @@ -144,4 +147,10 @@ ALLCOMP_attributes::
stop_n = @[FHMAX]
stop_option = nhours
stop_ymd = -999
orb_eccen = 1.e36
orb_iyear = 2000
orb_iyear_align = 2000
orb_mode = fixed_year
orb_mvelp = 1.e36
orb_obliq = 1.e36
::
9 changes: 9 additions & 0 deletions tests/parm/nems.configure.cpld_agrid.IN
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ runSeq::
MED med_phases_post_atm
ICE -> MED :remapMethod=redist
MED med_phases_post_ice
MED med_phases_ocnalb_run
MED med_phases_prep_ocn_accum
@
OCN -> MED :remapMethod=redist
Expand Down Expand Up @@ -104,7 +105,9 @@ MED_attributes::
ccpp_ini_layout = @[INPES],@[JNPES]
ccpp_ini_read = false
pio_rearranger = @[pio_rearranger]
ocean_albedo_limit = @[ocean_albedo_limit]
::

ALLCOMP_attributes::
ScalarFieldCount = 2
ScalarFieldIdxGridNX = 1
Expand All @@ -123,4 +126,10 @@ ALLCOMP_attributes::
stop_n = @[FHMAX]
stop_option = nhours
stop_ymd = -999
orb_eccen = 1.e36
orb_iyear = 2000
orb_iyear_align = 2000
orb_mode = fixed_year
orb_mvelp = 1.e36
orb_obliq = 1.e36
::
9 changes: 9 additions & 0 deletions tests/parm/nems.configure.cpld_noaero.IN
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ runSeq::
MED med_phases_post_ice
WAV -> MED :remapMethod=redist
MED med_phases_post_wav
MED med_phases_ocnalb_run
MED med_phases_prep_ocn_accum
@
OCN -> MED :remapMethod=redist
Expand All @@ -114,7 +115,9 @@ MED_attributes::
coupling_mode = @[CPLMODE]
history_tile_atm = @[ATMTILESIZE]
pio_rearranger = @[pio_rearranger]
ocean_albedo_limit = @[ocean_albedo_limit]
::

ALLCOMP_attributes::
ScalarFieldCount = 2
ScalarFieldIdxGridNX = 1
Expand All @@ -133,4 +136,10 @@ ALLCOMP_attributes::
stop_n = @[FHMAX]
stop_option = nhours
stop_ymd = -999
orb_eccen = 1.e36
orb_iyear = 2000
orb_iyear_align = 2000
orb_mode = fixed_year
orb_mvelp = 1.e36
orb_obliq = 1.e36
::
9 changes: 9 additions & 0 deletions tests/parm/nems.configure.cpld_noaero_nowave.IN
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ runSeq::
MED med_phases_post_atm
ICE -> MED :remapMethod=redist
MED med_phases_post_ice
MED med_phases_ocnalb_run
MED med_phases_prep_ocn_accum
@
OCN -> MED :remapMethod=redist
Expand All @@ -93,7 +94,9 @@ MED_attributes::
coupling_mode = @[CPLMODE]
history_tile_atm = @[ATMTILESIZE]
pio_rearranger = @[pio_rearranger]
ocean_albedo_limit = @[ocean_albedo_limit]
::

ALLCOMP_attributes::
ScalarFieldCount = 2
ScalarFieldIdxGridNX = 1
Expand All @@ -112,4 +115,10 @@ ALLCOMP_attributes::
stop_n = @[FHMAX]
stop_option = nhours
stop_ymd = -999
orb_eccen = 1.e36
orb_iyear = 2000
orb_iyear_align = 2000
orb_mode = fixed_year
orb_mvelp = 1.e36
orb_obliq = 1.e36
::
9 changes: 9 additions & 0 deletions tests/parm/nems.configure.cpld_noaero_outwav.IN
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ runSeq::
MED med_phases_post_atm
ICE -> MED :remapMethod=redist
MED med_phases_post_ice
MED med_phases_ocnalb_run
MED med_phases_prep_ocn_accum
MED med_phases_prep_wav_accum
@
Expand All @@ -108,7 +109,9 @@ MED_attributes::
coupling_mode = @[CPLMODE]
history_tile_atm = @[ATMTILESIZE]
pio_rearranger = @[pio_rearranger]
ocean_albedo_limit = @[ocean_albedo_limit]
::

ALLCOMP_attributes::
ScalarFieldCount = 2
ScalarFieldIdxGridNX = 1
Expand All @@ -127,4 +130,10 @@ ALLCOMP_attributes::
stop_n = @[FHMAX]
stop_option = nhours
stop_ymd = -999
orb_eccen = 1.e36
orb_iyear = 2000
orb_iyear_align = 2000
orb_mode = fixed_year
orb_mvelp = 1.e36
orb_obliq = 1.e36
::
2 changes: 2 additions & 0 deletions tests/parm/nems.configure.datm_cdeps.IN
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ runSeq::
MED med_phases_post_atm
ICE -> MED :remapMethod=redist
MED med_phases_post_ice
MED med_phases_ocnalb_run
MED med_phases_aofluxes_run
MED med_phases_prep_ocn_accum
@
Expand All @@ -102,6 +103,7 @@ MED_attributes::
coupling_mode = nems_orig_data
pio_rearranger = @[pio_rearranger]
::

ALLCOMP_attributes::
ScalarFieldCount = 3
ScalarFieldIdxGridNX = 1
Expand Down

0 comments on commit f590ec8

Please sign in to comment.