Changeset 149 for trunk/NEMO
- Timestamp:
- 2004-10-19T15:32:08+02:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/SBC/flx_coupled_ice.h90
r3 r149 33 33 !!---------------------------------------------------------------------- 34 34 !! * Modules used 35 USE ioipsl 35 USE ioipsl ! NetCDF IPSL library 36 36 USE ice_oce 37 USE cpl_oce 37 USE cpl_oce ! coupled ocean-atmosphere variables 38 USE flx_oce ! sea-ice/ocean forcings variables 38 39 39 40 !! * arguments … … 42 43 !! * Local declarations 43 44 INTEGER :: ji, jj, jf 44 INTEGER :: itm1,isize,iflag,icpliter 45 INTEGER :: itm1,isize,iflag 46 ! INTEGER :: icpliter 45 47 INTEGER :: info, inuread, index 46 48 REAL(wp) :: zfacflx,zfacwat 47 REAL(wp) :: ztgel,zice48 49 REAL(wp) :: znsolc (jpiglo,jpjglo),zqsrc (jpiglo,jpjglo) 49 50 REAL(wp) :: zrunoff(jpiglo,jpjglo),zec (jpiglo,jpjglo) … … 55 56 REAL(wp) :: zrunriv (jpiglo,jpjglo),zcalving(jpiglo,jpjglo) 56 57 REAL(wp) :: zevap (jpiglo,jpjglo) 58 REAL(wp) :: zcatm1 (jpiglo,jpjglo) ! cloud fraction 57 59 CHARACTER (len=80) :: clcplfnam 58 60 REAL(wp) :: zjulian … … 60 62 ! Addition for SIPC CASE 61 63 CHARACTER (len=3) :: clmodinf ! Header or not 62 CHARACTER (len=3) :: cljobnam_r ! Experiment name in the field brick, if any63 INTEGER :: infos(3) ! infos in the field brick, if any64 ! CHARACTER (len=3) :: cljobnam_r ! Experiment name in the field brick, if any 65 ! INTEGER :: infos(3) ! infos in the field brick, if any 64 66 !!--------------------------------------------------------------------- 65 67 … … 205 207 END DO 206 208 END DO 209 210 ! Since cloud cover catm not transmitted from atmosphere, init =0. 211 212 catm(:, :) =0. 213 DO jj = 1, jpj 214 DO ji = 1, jpi 215 zcatm1(ji,jj) = 1.0 - catm (ji,jj) ! fractional cloud cover 216 END DO 217 END DO 218 219 ! fraction of net shortwave radiation which is not absorbed in the 220 ! thin surface layer and penetrates inside the ice cover 221 ! ( Maykut and Untersteiner, 1971 ; Elbert anbd Curry, 1993 ) 222 !------------------------------------------------------------------ 223 DO jj = 1, nlcj 224 DO ji = 1, nlci 225 fr1_i0(ji,jj) = 0.18 * zcatm1(ji,jj) + 0.35 * catm(ji,jj) 226 fr2_i0(ji,jj) = 0.82 * zcatm1(ji,jj) + 0.65 * catm(ji,jj) 227 END DO 228 END DO 229 207 230 ! copy in the subdomain 208 231 … … 224 247 sprecip(ji,jj) = zpsol ( mig(ji), mjg(jj)) * tmask(ji,jj,1) * zfacwat 225 248 ! 7: runoff (positive upward) 226 srunoff(ji,jj) = ( zruncot ( mig(ji), mjg(jj)) &249 rrunoff(ji,jj) = ( zruncot ( mig(ji), mjg(jj)) & 227 250 & + zrunriv ( mig(ji), mjg(jj)) ) * tmask(ji,jj,1) * zfacwat 228 251 ! 8: Derivative of non solar heat flux on sea ice … … 230 253 ! 13: Iceberg calving (positive upward) 231 254 calving(ji,jj) = zcalving ( mig(ji), mjg(jj)) * tmask(ji,jj,1) * zfacwat 255 ! 1st part of the fraction of sol. rad. which penetrate inside 256 ! the ice cover 257 fr1_i0(ji,jj) = fr1_i0(mig(ji), mjg(jj)) * tmask(ji,jj,1) 258 ! 2nd part of the fraction of sol. rad. which penetrate inside 259 ! the ice cover 260 fr2_i0(ji,jj) = fr2_i0(mig(ji), mjg(jj)) * tmask(ji,jj,1) 232 261 END DO 233 262 END DO … … 240 269 CALL lbc_lnk( tprecip , 'T', 1. ) 241 270 CALL lbc_lnk( sprecip , 'T', 1. ) 242 CALL lbc_lnk( srunoff , 'T', 1. )271 CALL lbc_lnk( rrunoff , 'T', 1. ) 243 272 CALL lbc_lnk( dqns_ice, 'T', 1. ) 244 273 CALL lbc_lnk( calving , 'T', 1. ) 274 CALL lbc_lnk( fr1_i0 , 'T', 1. ) 275 CALL lbc_lnk( fr2_i0 , 'T', 1. ) 245 276 246 277 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.