- Timestamp:
- 2017-12-13T18:08:50+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/SBC/sbcrnf.F90
r7968 r9023 39 39 ! !!* namsbc_rnf namelist * 40 40 CHARACTER(len=100) :: cn_dir !: Root directory for location of rnf files 41 LOGICAL 41 LOGICAL , PUBLIC :: ln_rnf_depth !: depth river runoffs attribute specified in a file 42 42 LOGICAL :: ln_rnf_depth_ini !: depth river runoffs computed at the initialisation 43 43 REAL(wp) :: rn_rnf_max !: maximum value of the runoff climatologie (ln_rnf_depth_ini =T) … … 122 122 IF( .NOT. l_rnfcpl ) rnf(:,:) = rn_rfact * ( sf_rnf(1)%fnow(:,:,1) ) ! updated runoff value at time step kt 123 123 ! 124 ! ! set temperature & salinity content of runoffs124 ! ! set temperature & salinity content of runoffs 125 125 IF( ln_rnf_tem ) THEN ! use runoffs temperature data 126 126 rnf_tsc(:,:,jp_tem) = ( sf_t_rnf(1)%fnow(:,:,1) ) * rnf(:,:) * r1_rau0 … … 133 133 END WHERE 134 134 ELSE ! use SST as runoffs temperature 135 rnf_tsc(:,:,jp_tem) = sst_m(:,:) * rnf(:,:) * r1_rau0 135 !CEOD River is fresh water so must at least be 0 unless we consider ice 136 rnf_tsc(:,:,jp_tem) = MAX(sst_m(:,:),0.0_wp) * rnf(:,:) * r1_rau0 136 137 ENDIF 137 138 ! ! use runoffs salinity data
Note: See TracChangeset
for help on using the changeset viewer.