Changeset 9727
- Timestamp:
- 2018-06-01T18:52:17+02:00 (6 years ago)
- Location:
- NEMO/trunk/src/OCE/SBC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/OCE/SBC/sbcblk.F90
r9656 r9727 492 492 493 493 ! zqla used as temporary array, for rho*U (common term of bulk formulae): 494 zqla(:,:) = zrhoa(:,:) * zU_zu(:,:) 494 zqla(:,:) = zrhoa(:,:) * zU_zu(:,:) * tmask(:,:,1) 495 495 496 496 IF( ABS( rn_zu - rn_zqt) < 0.01_wp ) THEN … … 532 532 & * ( sf(jp_tair)%fnow(:,:,1) - rt0 ) * rcp & 533 533 & + sf(jp_snow)%fnow(:,:,1) * rn_pfac & ! add solid precip heat content at min(Tair,Tsnow) 534 & * ( MIN( sf(jp_tair)%fnow(:,:,1), rt0_snow ) - rt0 ) * cpic * tmask(:,:,1) 534 & * ( MIN( sf(jp_tair)%fnow(:,:,1), rt0_snow ) - rt0 ) * cpic 535 qns(:,:) = qns(:,:) * tmask(:,:,1) 535 536 ! 536 537 #if defined key_si3 … … 547 548 CALL iom_put( "qsr_oce" , qsr ) ! output downward solar heat over the ocean 548 549 CALL iom_put( "qt_oce" , qns+qsr ) ! output total downward heat over the ocean 549 tprecip(:,:) = sf(jp_prec)%fnow(:,:,1) * rn_pfac 550 sprecip(:,:) = sf(jp_snow)%fnow(:,:,1) * rn_pfac 550 tprecip(:,:) = sf(jp_prec)%fnow(:,:,1) * rn_pfac * tmask(:,:,1) ! output total precipitation [kg/m2/s] 551 sprecip(:,:) = sf(jp_snow)%fnow(:,:,1) * rn_pfac * tmask(:,:,1) ! output solid precipitation [kg/m2/s] 551 552 CALL iom_put( 'snowpre', sprecip ) ! Snow 552 553 CALL iom_put( 'precip' , tprecip ) ! Total precipitation … … 897 898 END DO 898 899 ! 899 tprecip(:,:) = sf(jp_prec)%fnow(:,:,1) * rn_pfac 900 sprecip(:,:) = sf(jp_snow)%fnow(:,:,1) * rn_pfac 900 tprecip(:,:) = sf(jp_prec)%fnow(:,:,1) * rn_pfac * tmask(:,:,1) ! total precipitation [kg/m2/s] 901 sprecip(:,:) = sf(jp_snow)%fnow(:,:,1) * rn_pfac * tmask(:,:,1) ! solid precipitation [kg/m2/s] 901 902 CALL iom_put( 'snowpre', sprecip ) ! Snow precipitation 902 903 CALL iom_put( 'precip' , tprecip ) ! Total precipitation -
NEMO/trunk/src/OCE/SBC/sbcflx.F90
r9656 r9727 142 142 qns(:,:) = qns(:,:) - emp(:,:) * sst_m(:,:) * rcp ! mass flux is at SST 143 143 ! 144 qns(:,:) = qns(:,:) * tmask(:,:,1) 145 emp(:,:) = emp(:,:) * tmask(:,:,1) 146 ! 144 147 ! ! module of wind stress and wind speed at T-point 145 148 zcoef = 1. / ( zrhoa * zcdrag ) -
NEMO/trunk/src/OCE/SBC/sbcrnf.F90
r9598 r9727 118 118 IF( MOD( kt - 1, nn_fsbc ) == 0 ) THEN 119 119 ! 120 IF( .NOT. l_rnfcpl ) rnf(:,:) = rn_rfact * ( sf_rnf(1)%fnow(:,:,1) ) ! updated runoff value at time step kt120 IF( .NOT. l_rnfcpl ) rnf(:,:) = rn_rfact * ( sf_rnf(1)%fnow(:,:,1) ) * tmask(:,:,1) ! updated runoff value at time step kt 121 121 ! 122 122 ! ! set temperature & salinity content of runoffs -
NEMO/trunk/src/OCE/SBC/sbcssr.F90
r9598 r9727 92 92 DO jj = 1, jpj 93 93 DO ji = 1, jpi 94 zqrp = rn_dqdt * ( sst_m(ji,jj) - sf_sst(1)%fnow(ji,jj,1) ) 94 zqrp = rn_dqdt * ( sst_m(ji,jj) - sf_sst(1)%fnow(ji,jj,1) ) * tmask(ji,jj,1) 95 95 qns(ji,jj) = qns(ji,jj) + zqrp 96 96 qrp(ji,jj) = zqrp … … 105 105 DO ji = 1, jpi 106 106 zerp = zsrp * ( 1. - 2.*rnfmsk(ji,jj) ) & ! No damping in vicinity of river mouths 107 & * ( sss_m(ji,jj) - sf_sss(1)%fnow(ji,jj,1) ) 107 & * ( sss_m(ji,jj) - sf_sss(1)%fnow(ji,jj,1) ) * tmask(ji,jj,1) 108 108 sfx(ji,jj) = sfx(ji,jj) + zerp ! salt flux 109 109 erp(ji,jj) = zerp / MAX( sss_m(ji,jj), 1.e-20 ) ! converted into an equivalent volume flux (diagnostic only) … … 119 119 zerp = zsrp * ( 1. - 2.*rnfmsk(ji,jj) ) & ! No damping in vicinity of river mouths 120 120 & * ( sss_m(ji,jj) - sf_sss(1)%fnow(ji,jj,1) ) & 121 & / MAX( sss_m(ji,jj), 1.e-20 ) 121 & / MAX( sss_m(ji,jj), 1.e-20 ) * tmask(ji,jj,1) 122 122 IF( ln_sssr_bnd ) zerp = SIGN( 1., zerp ) * MIN( zerp_bnd, ABS(zerp) ) 123 123 emp(ji,jj) = emp (ji,jj) + zerp
Note: See TracChangeset
for help on using the changeset viewer.