Changeset 15685
- Timestamp:
- 2022-02-02T17:14:34+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0.4_change_chlorophyll/src/OCE/TRA/traqsr.F90
r15678 r15685 169 169 DO jj = 2, jpjm1 ! Separation in R-G-B depending of the surface Chl 170 170 DO ji = fs_2, fs_jpim1 171 zchl = MIN( 10. , MAX( 0.03, sf_chl(1)%fnow(ji,jj,1) ) ) 172 zCtot = 40.6 * zchl**0.459 173 zze = 568.2 * zCtot**(-0.746) 174 IF( zze > 102. ) zze = 200.0 * zCtot**(-0.293) 175 zpsi = gdepw_n(ji,jj,jk) / zze 171 172 ! Commenting out this bit of code as I want to load in chlorophyll concentrations 173 ! with the same units as rn_chl_conc 174 ! zchl = MIN( 10. , MAX( 0.03, sf_chl(1)%fnow(ji,jj,1) ) ) 175 ! zCtot = 40.6 * zchl**0.459 176 ! zze = 568.2 * zCtot**(-0.746) 177 ! IF( zze > 102. ) zze = 200.0 * zCtot**(-0.293) 178 ! zpsi = gdepw_n(ji,jj,jk) / zze 176 179 ! 177 zlogc = LOG( zchl )178 zlogc2 = zlogc * zlogc179 zlogc3 = zlogc * zlogc * zlogc180 zCb = 0.768 + 0.087 * zlogc - 0.179 * zlogc2 - 0.025 * zlogc3181 zCmax = 0.299 - 0.289 * zlogc + 0.579 * zlogc2182 zpsimax = 0.6 - 0.640 * zlogc + 0.021 * zlogc2 + 0.115 * zlogc3183 zdelpsi = 0.710 + 0.159 * zlogc + 0.021 * zlogc2184 zCze = 1.12 * (zchl)**0.803180 ! zlogc = LOG( zchl ) 181 ! zlogc2 = zlogc * zlogc 182 ! zlogc3 = zlogc * zlogc * zlogc 183 ! zCb = 0.768 + 0.087 * zlogc - 0.179 * zlogc2 - 0.025 * zlogc3 184 ! zCmax = 0.299 - 0.289 * zlogc + 0.579 * zlogc2 185 ! zpsimax = 0.6 - 0.640 * zlogc + 0.021 * zlogc2 + 0.115 * zlogc3 186 ! zdelpsi = 0.710 + 0.159 * zlogc + 0.021 * zlogc2 187 ! zCze = 1.12 * (zchl)**0.803 185 188 ! 186 zchl3d(ji,jj,jk) = zCze * ( zCb + zCmax * EXP( -( (zpsi - zpsimax) / zdelpsi )**2 ) ) 189 ! zchl3d(ji,jj,jk) = zCze * ( zCb + zCmax * EXP( -( (zpsi - zpsimax) / zdelpsi )**2 ) ) 190 191 zchl3d(ji,jj,jk) = MIN( 50. , MAX( 0.01, sf_chl(1)%fnow(ji,jj,1) ) ) 187 192 END DO 188 193 ! … … 404 409 ENDIF 405 410 IF( nqsr == np_RGB ) THEN ! constant Chl 406 IF(lwp) WRITE(numout,*) ' ==>>> Constant Chlorophyll concentration = 0.05'411 IF(lwp) WRITE(numout,*) ' ==>>> Constant Chlorophyll concentration = ',rn_chl_conc 407 412 ENDIF 408 413 !
Note: See TracChangeset
for help on using the changeset viewer.