Changeset 888 for trunk/NEMO/LIM_SRC_3/limwri.F90
- Timestamp:
- 2008-04-11T19:05:03+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/LIM_SRC_3/limwri.F90
r869 r888 1 1 MODULE limwri 2 #if defined key_lim33 2 !!---------------------------------------------------------------------- 4 3 !! 'key_lim3' LIM3 sea-ice model … … 8 7 !! Ice diagnostics : write ice output files 9 8 !!====================================================================== 9 #if defined key_lim3 10 10 !!---------------------------------------------------------------------- 11 11 !! LIM 2.0, UCL-LOCEAN-IPSL (2005) 12 !! $ Header: /home/opalod/NEMOCVSROOT/NEMO/LIM_SRC/limwri.F90,v 1.4 2005/03/27 18:34:42 opalod Exp$12 !! $ Id: $ 13 13 !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt 14 14 !!---------------------------------------------------------------------- … … 18 18 !! * Modules used 19 19 USE ioipsl 20 USE dianam ! build name of file (routine)20 USE dianam ! build name of file (routine) 21 21 USE phycst 22 22 USE dom_oce … … 24 24 USE in_out_manager 25 25 USE ice_oce ! ice variables 26 USE flx_oce 26 USE sbc_oce ! Surface boundary condition: ocean fields 27 USE sbc_ice ! Surface boundary condition: ice fields 27 28 USE dom_ice 28 29 USE ice … … 137 138 zsto = rdt_ice 138 139 clop = "ave(x)" 139 zout = nwrite * rdt_ice / n fice140 zout = nwrite * rdt_ice / nn_fsbc 140 141 zsec = 0. 141 142 niter = 0 … … 165 166 zsto = rdt_ice 166 167 clop = "ave(x)" 167 zout = nwrite * rdt_ice / n fice168 zout = nwrite * rdt_ice / nn_fsbc 168 169 zsec = 0. 169 170 nitera = 0 … … 221 222 zinda = MAX( zzero , SIGN( zone , at_i(ji,jj) - 0.10 ) ) 222 223 zcmo(ji,jj,17) = zcmo(ji,jj,17) + a_i(ji,jj,jl)*qsr_ice (ji,jj,jl) 223 zcmo(ji,jj,18) = zcmo(ji,jj,18) + a_i(ji,jj,jl)*qns r_ice(ji,jj,jl)224 zcmo(ji,jj,18) = zcmo(ji,jj,18) + a_i(ji,jj,jl)*qns_ice(ji,jj,jl) 224 225 zcmo(ji,jj,27) = zcmo(ji,jj,27) + t_su(ji,jj,jl)*a_i(ji,jj,jl)/MAX(at_i(ji,jj),epsi16)*zinda 225 226 END DO … … 253 254 & / 2.0 254 255 zcmo(ji,jj,8) = zindb * ( v_ice(ji,jj ) * tmv(ji,jj) & 255 & + v_ice(ji,jj-1) * tmv(ji,jj-1) )&256 & + v_ice(ji,jj-1) * tmv(ji,jj-1) ) & 256 257 & / 2.0 257 zcmo(ji,jj,9) = sst_ io(ji,jj)258 zcmo(ji,jj,10) = sss_ io(ji,jj)259 260 zcmo(ji,jj,11) = fnsolar(ji,jj) + fsolar(ji,jj)261 zcmo(ji,jj,12) = fsolar(ji,jj)262 zcmo(ji,jj,13) = fnsolar(ji,jj)258 zcmo(ji,jj,9) = sst_m(ji,jj) 259 zcmo(ji,jj,10) = sss_m(ji,jj) 260 261 zcmo(ji,jj,11) = qns(ji,jj) + qsr(ji,jj) 262 zcmo(ji,jj,12) = qsr(ji,jj) 263 zcmo(ji,jj,13) = qns(ji,jj) 263 264 zcmo(ji,jj,14) = fhbri(ji,jj) 264 zcmo(ji,jj,15) = gtaux(ji,jj)265 zcmo(ji,jj,16) = gtauy(ji,jj)266 zcmo(ji,jj,17) = zcmo(ji,jj,17) + (1.0-at_i(ji,jj))*qsr _oce(ji,jj)267 zcmo(ji,jj,18) = zcmo(ji,jj,18) + (1.0-at_i(ji,jj))*qns r_oce(ji,jj)265 zcmo(ji,jj,15) = utaui_ice(ji,jj) 266 zcmo(ji,jj,16) = vtaui_ice(ji,jj) 267 zcmo(ji,jj,17) = zcmo(ji,jj,17) + (1.0-at_i(ji,jj))*qsr(ji,jj) 268 zcmo(ji,jj,18) = zcmo(ji,jj,18) + (1.0-at_i(ji,jj))*qns(ji,jj) 268 269 zcmo(ji,jj,19) = sprecip(ji,jj) 269 270 zcmo(ji,jj,20) = smt_i(ji,jj) … … 299 300 END DO 300 301 301 IF ( jf == 7 .OR. jf == 8 .OR. jf == 11 .OR. jf == 12 .OR. jf == 15 .OR. & 302 jf == 16 ) THEN 302 IF ( jf == 7 .OR. jf == 8 .OR. jf == 15 .OR. jf == 16 ) THEN 303 303 CALL lbc_lnk( zfield, 'T', -1. ) 304 304 ELSE … … 315 315 END DO 316 316 317 IF ( ( n fice* niter + nit000 - 1 ) >= nitend .OR. kindic < 0 ) THEN317 IF ( ( nn_fsbc * niter + nit000 - 1 ) >= nitend .OR. kindic < 0 ) THEN 318 318 WRITE(numout,*) ' Closing the icemod file ' 319 319 CALL histclo( nice ) … … 374 374 ! not yet implemented 375 375 376 IF ( ( n fice* niter + nit000 - 1 ) >= nitend .OR. kindic < 0 ) THEN376 IF ( ( nn_fsbc * niter + nit000 - 1 ) >= nitend .OR. kindic < 0 ) THEN 377 377 WRITE(numout,*) ' Closing the icemod file ' 378 378 CALL histclo( nicea )
Note: See TracChangeset
for help on using the changeset viewer.