Changeset 8130 for branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/CFC/trcsms_cfc.F90
- Timestamp:
- 2017-06-02T16:17:00+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/CFC/trcsms_cfc.F90
r8075 r8130 136 136 !! 2 -- Hindcast/proj 137 137 iyear_beg = MOD(nyear, 100) 138 IF (iyear_beg < 9) iyear_beg = iyear_beg + 100138 IF (iyear_beg < 20) iyear_beg = iyear_beg + 100 139 139 !! JPALM -- Same than previously, if iyear_beg is out of P_cfc range, 140 140 !! we want to set p_CFC to 0.00 --> set iyear_beg = 10 141 IF ((iyear_beg < 30) .OR. (iyear_beg > 1 07)) iyear_beg = 10141 IF ((iyear_beg < 30) .OR. (iyear_beg > 115)) iyear_beg = 10 142 142 ENDIF 143 143 !! … … 258 258 ! 259 259 IF( lk_iomput ) THEN 260 CALL iom_put( "qtrCFC11" , qtr_cfc (:,:,1) )261 CALL iom_put( "qintCFC11" , qint_cfc(:,:,1) )262 CALL iom_put( "qtrCFC12" , qtr_cfc (:,:,2) )263 CALL iom_put( "qintCFC12" , qint_cfc(:,:,2) )264 CALL iom_put( "qtrSF6" , qtr_cfc (:,:,3) )265 CALL iom_put( "qintSF6" , qint_cfc(:,:,4) )260 IF (iom_use("qtrCFC11")) CALL iom_put( "qtrCFC11" , qtr_cfc (:,:,1) ) 261 IF (iom_use("qintCFC11")) CALL iom_put( "qintCFC11" , qint_cfc(:,:,1) ) 262 IF (iom_use("qtrCFC12")) CALL iom_put( "qtrCFC12" , qtr_cfc (:,:,2) ) 263 IF (iom_use("qintCFC12")) CALL iom_put( "qintCFC12" , qint_cfc(:,:,2) ) 264 IF (iom_use("qtrSF6")) CALL iom_put( "qtrSF6" , qtr_cfc (:,:,3) ) 265 IF (iom_use("qintSF6")) CALL iom_put( "qintSF6" , qint_cfc(:,:,3) ) 266 266 ELSE 267 267 IF( ln_diatrc ) THEN … … 271 271 trc2d(:,:,jp_cfc0_2d + 3) = qint_cfc(:,:,2) 272 272 trc2d(:,:,jp_cfc0_2d + 4) = qtr_cfc (:,:,3) 273 trc2d(:,:,jp_cfc0_2d + 5) = qint_cfc(:,:, 4)273 trc2d(:,:,jp_cfc0_2d + 5) = qint_cfc(:,:,3) 274 274 END IF 275 275 END IF … … 376 376 qtr_cfc(:,:,:) = 0._wp 377 377 qint_cfc(:,:,:) = 0._wp 378 DO jl = 1, jp_cfc 379 jn = jp_cfc0 + jl - 1 380 trn(:,:,:,jn) = 0._wp 381 trb(:,:,:,jn) = 0._wp 382 END DO 378 trn(:,:,:,jp_cfc0:jp_cfc1) = 0._wp 379 trb(:,:,:,jp_cfc0:jp_cfc1) = 0._wp 383 380 ENDIF 384 381 !! … … 386 383 ELSEIF (simu_type==2) THEN 387 384 iyear_beg = MOD(nyear, 100) 388 IF (iyear_beg < 9) iyear_beg = iyear_beg + 100389 IF ((iyear_beg < 30) .OR. (iyear_beg > 1 07)) THEN385 IF (iyear_beg < 20) iyear_beg = iyear_beg + 100 386 IF ((iyear_beg < 30) .OR. (iyear_beg > 115)) THEN 390 387 qtr_cfc(:,:,:) = 0._wp 391 388 IF(lwp) THEN … … 398 395 qtr_cfc(:,:,:) = 0._wp 399 396 qint_cfc(:,:,:) = 0._wp 400 DO jl = 1, jp_cfc 401 jn = jp_cfc0 + jl - 1 402 trn(:,:,:,jn) = 0._wp 403 trb(:,:,:,jn) = 0._wp 404 END DO 397 trn(:,:,:,jp_cfc0:jp_cfc1) = 0._wp 398 trb(:,:,:,jp_cfc0:jp_cfc1) = 0._wp 405 399 ENDIF 406 400 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.