Changeset 9284 for branches/UKMO/dev_r5518_GO6_package_05sprecip
- Timestamp:
- 2018-01-25T16:27:28+01:00 (6 years ago)
- Location:
- branches/UKMO/dev_r5518_GO6_package_05sprecip/NEMOGCM/NEMO/OPA_SRC/SBC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package_05sprecip/NEMOGCM/NEMO/OPA_SRC/SBC/sbcblk_core.F90
r9281 r9284 155 155 !!--------------------------------------------------------------------- 156 156 ! 157 rn_sfac = 1._wp ! Default to one if missing from namelist158 157 ! ! ====================== ! 159 158 IF( kt == nit000 ) THEN ! First call kt=nit000 ! 160 159 ! ! ====================== ! 161 160 ! 161 rn_sfac = 1._wp ! Default to one if missing from namelist 162 162 REWIND( numnam_ref ) ! Namelist namsbc_core in reference namelist : CORE bulk parameters 163 163 READ ( numnam_ref, namsbc_core, IOSTAT = ios, ERR = 901) -
branches/UKMO/dev_r5518_GO6_package_05sprecip/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90
r9281 r9284 473 473 ! Snowfall 474 474 ! Ensure fsnow is positive (as in CICE routine prepare_forcing) 475 IF( iom_use('snowpre') ) CALL iom_put('snowpre',MAX( (1.0-fr_i(:,:))*sprecip(:,:) ,0.0)) !!Joakim edit 475 476 IF( kt == nit000 .AND. lwp ) THEN 476 477 WRITE(numout,*) 'sprecip weight, rn_sfac=', rn_sfac 477 478 ENDIF 478 479 IF( iom_use('snowpre') ) CALL iom_put('snowpre',MAX( (1.0-fr_i(:,:))*sprecip(:,:) ,0.0)) !!Joakim edit480 479 ztmp(:,:)=MAX(fr_i(:,:)*rn_sfac*sprecip(:,:),0.0) 481 480 CALL nemo2cice(ztmp,fsnow,'T', 1. )
Note: See TracChangeset
for help on using the changeset viewer.