Changeset 11000
- Timestamp:
- 2019-05-20T13:20:40+02:00 (6 years ago)
- Location:
- branches/UKMO/dev_r5518_GO6_fix_zemp_ice/NEMOGCM/NEMO/OPA_SRC/SBC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_fix_zemp_ice/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r10995 r11000 184 184 LOGICAL :: ln_usecplmask ! use a coupling mask file to merge data received from several models 185 185 ! -> file cplmask.nc with the float variable called cplmask (jpi,jpj,nn_cplmodel) 186 LOGICAL, PUBLIC :: ln_fix_s ublimation_botmelt ! Apply sublimationbug fixes (GMED#449)186 LOGICAL, PUBLIC :: ln_fix_sea_ice_fluxes ! Apply sea ice flux bug fixes (GMED#449) 187 187 188 188 TYPE :: DYNARR … … 262 262 & rn_greenland_total_fw_flux, rn_greenland_calving_fraction, & 263 263 & rn_antarctica_total_fw_flux, rn_antarctica_calving_fraction, rn_iceshelf_fluxes_tolerance, & 264 & ln_fix_s ublimation_botmelt264 & ln_fix_sea_ice_fluxes 265 265 !!--------------------------------------------------------------------- 266 266 … … 332 332 WRITE(numout,*)' nn_cplmodel = ', nn_cplmodel 333 333 WRITE(numout,*)' ln_usecplmask = ', ln_usecplmask 334 WRITE(numout,*)' ln_fix_s ublimation_botmelt = ', ln_fix_sublimation_botmelt334 WRITE(numout,*)' ln_fix_sea_ice_fluxes = ', ln_fix_sea_ice_fluxes 335 335 WRITE(numout,*)' nn_coupled_iceshelf_fluxes = ', nn_coupled_iceshelf_fluxes 336 336 WRITE(numout,*)' ln_iceshelf_init_atmos = ', ln_iceshelf_init_atmos … … 1774 1774 IF ( TRIM(sn_rcv_emp%clcat) == 'yes' ) THEN 1775 1775 ! zemp_ice is the sum of frcv(jpr_ievp)%z3(:,:,1) over all layers - snow 1776 IF ( ln_fix_s ublimation_botmelt) THEN1776 IF ( ln_fix_sea_ice_fluxes ) THEN 1777 1777 zemp_ice(:,:) = - frcv(jpr_snow)%z3(:,:,1) * zicefr(:,:) 1778 1778 ELSE … … 1780 1780 ENDIF 1781 1781 DO jl=1,jpl 1782 IF ( ln_fix_s ublimation_botmelt) THEN1782 IF ( ln_fix_sea_ice_fluxes ) THEN 1783 1783 zemp_ice(:,: ) = zemp_ice(:,:) + frcv(jpr_ievp)%z3(:,:,jl) * a_i_last_couple(:,:,jl) 1784 1784 ELSE -
branches/UKMO/dev_r5518_GO6_fix_zemp_ice/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90
r10995 r11000 395 395 ELSE IF (ksbc == jp_purecpl) THEN 396 396 DO jl=1,ncat 397 IF ( ln_fix_s ublimation_botmelt) THEN397 IF ( ln_fix_sea_ice_fluxes ) THEN 398 398 ztmpn(:,:,jl)=qla_ice(:,:,jl)*a_i_last_couple(:,:,jl) 399 399 ELSE … … 412 412 ! Convert to GBM 413 413 IF (ksbc == jp_flx .OR. ksbc == jp_purecpl) THEN 414 IF ( ln_fix_s ublimation_botmelt) THEN414 IF ( ln_fix_sea_ice_fluxes ) THEN 415 415 ztmp(:,:) = botmelt(:,:,jl)*a_i_last_couple(:,:,jl) 416 416 ELSE … … 425 425 ! Convert to GBM 426 426 IF (ksbc == jp_flx .OR. ksbc == jp_purecpl) THEN 427 IF ( ln_fix_s ublimation_botmelt) THEN427 IF ( ln_fix_sea_ice_fluxes ) THEN 428 428 ztmp(:,:) = (topmelt(:,:,jl)+botmelt(:,:,jl))*a_i_last_couple(:,:,jl) 429 429 ELSE
Note: See TracChangeset
for help on using the changeset viewer.