Changeset 2130 for branches/devmercator2010_1/NEMO/OPA_SRC/TRA/traqsr.F90
- Timestamp:
- 2010-09-29T16:48:12+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/devmercator2010_1/NEMO/OPA_SRC/TRA/traqsr.F90
r1756 r2130 142 142 !CDIR NOVERRCHK 143 143 DO ji = 1, jpi 144 zchl = MIN( 10. , MAX( 0.03, sf_chl(1)%fnow(ji,jj ) ) )144 zchl = MIN( 10. , MAX( 0.03, sf_chl(1)%fnow(ji,jj,1) ) ) 145 145 irgb = NINT( 41 + 20.*LOG10(zchl) + 1.e-15 ) 146 146 zekb(ji,jj) = rkrgb(1,irgb) … … 334 334 CALL ctl_stop( 'tra_qsr_init: unable to allocate sf_chl structure' ) ; RETURN 335 335 ENDIF 336 ALLOCATE( sf_chl(1)%fnow(jpi,jpj ) )337 ALLOCATE( sf_chl(1)%fdta(jpi,jpj,2) )336 ALLOCATE( sf_chl(1)%fnow(jpi,jpj,1) ) 337 IF( sn_chl%ln_tint )ALLOCATE( sf_chl(1)%fdta(jpi,jpj,1,2) ) 338 338 ! ! fill sf_chl with sn_chl and control print 339 339 CALL fld_fill( sf_chl, (/ sn_chl /), cn_dir, 'tra_qsr_init', &
Note: See TracChangeset
for help on using the changeset viewer.