Changeset 11822 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES
- Timestamp:
- 2019-10-29T11:41:36+01:00 (5 years ago)
- Location:
- NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P2Z/p2zbio.F90
r10975 r11822 405 405 REWIND( numnatp_ref ) ! Namelist namlobphy in reference namelist : Lobster biological parameters 406 406 READ ( numnatp_ref, namlobphy, IOSTAT = ios, ERR = 901) 407 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobphy in reference namelist' , lwp)407 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobphy in reference namelist' ) 408 408 REWIND( numnatp_cfg ) ! Namelist namlobphy in configuration namelist : Lobster biological parameters 409 409 READ ( numnatp_cfg, namlobphy, IOSTAT = ios, ERR = 902 ) 410 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobphy in configuration namelist' , lwp)410 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobphy in configuration namelist' ) 411 411 IF(lwm) WRITE ( numonp, namlobphy ) 412 412 ! … … 422 422 REWIND( numnatp_ref ) ! Namelist namlobnut in reference namelist : Lobster nutriments parameters 423 423 READ ( numnatp_ref, namlobnut, IOSTAT = ios, ERR = 903) 424 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobnut in reference namelist' , lwp)424 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobnut in reference namelist' ) 425 425 REWIND( numnatp_cfg ) ! Namelist namlobnut in configuration namelist : Lobster nutriments parameters 426 426 READ ( numnatp_cfg, namlobnut, IOSTAT = ios, ERR = 904 ) 427 904 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobnut in configuration namelist' , lwp)427 904 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobnut in configuration namelist' ) 428 428 IF(lwm) WRITE ( numonp, namlobnut ) 429 429 … … 439 439 REWIND( numnatp_ref ) ! Namelist namlobzoo in reference namelist : Lobster zooplankton parameters 440 440 READ ( numnatp_ref, namlobzoo, IOSTAT = ios, ERR = 905) 441 905 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobzoo in reference namelist' , lwp)441 905 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobzoo in reference namelist' ) 442 442 REWIND( numnatp_cfg ) ! Namelist namlobzoo in configuration namelist : Lobster zooplankton parameters 443 443 READ ( numnatp_cfg, namlobzoo, IOSTAT = ios, ERR = 906 ) 444 906 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobzoo in configuration namelist' , lwp)444 906 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobzoo in configuration namelist' ) 445 445 IF(lwm) WRITE ( numonp, namlobzoo ) 446 446 … … 461 461 REWIND( numnatp_ref ) ! Namelist namlobdet in reference namelist : Lobster detritus parameters 462 462 READ ( numnatp_ref, namlobdet, IOSTAT = ios, ERR = 907) 463 907 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobdet in reference namelist' , lwp)463 907 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobdet in reference namelist' ) 464 464 REWIND( numnatp_cfg ) ! Namelist namlobdet in configuration namelist : Lobster detritus parameters 465 465 READ ( numnatp_cfg, namlobdet, IOSTAT = ios, ERR = 908 ) 466 908 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobdet in configuration namelist' , lwp)466 908 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobdet in configuration namelist' ) 467 467 IF(lwm) WRITE ( numonp, namlobdet ) 468 468 … … 476 476 REWIND( numnatp_ref ) ! Namelist namlobdom in reference namelist : Lobster DOM breakdown rate 477 477 READ ( numnatp_ref, namlobdom, IOSTAT = ios, ERR = 909) 478 909 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobdom in reference namelist' , lwp)478 909 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobdom in reference namelist' ) 479 479 REWIND( numnatp_cfg ) ! Namelist namlobdom in configuration namelist : Lobster DOM breakdown rate 480 480 READ ( numnatp_cfg, namlobdom, IOSTAT = ios, ERR = 910 ) 481 910 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobdom in configuration namelist' , lwp)481 910 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobdom in configuration namelist' ) 482 482 IF(lwm) WRITE ( numonp, namlobdom ) 483 483 -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P2Z/p2zopt.F90
r10975 r11822 162 162 REWIND( numnatp_ref ) ! Namelist namlobopt in reference namelist : Lobster options 163 163 READ ( numnatp_ref, namlobopt, IOSTAT = ios, ERR = 901) 164 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobopt in reference namelist' , lwp)164 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobopt in reference namelist' ) 165 165 166 166 REWIND( numnatp_cfg ) ! Namelist namlobopt in configuration namelist : Lobster options 167 167 READ ( numnatp_cfg, namlobopt, IOSTAT = ios, ERR = 902 ) 168 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobopt in configuration namelist' , lwp)168 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobopt in configuration namelist' ) 169 169 IF(lwm) WRITE ( numonp, namlobopt ) 170 170 … … 184 184 REWIND( numnatp_ref ) ! Namelist namlobrat in reference namelist : Lobster ratios 185 185 READ ( numnatp_ref, namlobrat, IOSTAT = ios, ERR = 903) 186 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobrat in reference namelist' , lwp)186 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlobrat in reference namelist' ) 187 187 188 188 REWIND( numnatp_cfg ) ! Namelist namlobrat in configuration namelist : Lobster ratios 189 189 READ ( numnatp_cfg, namlobrat, IOSTAT = ios, ERR = 904 ) 190 904 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobrat in configuration namelist' , lwp)190 904 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobrat in configuration namelist' ) 191 191 IF(lwm) WRITE ( numonp, namlobrat ) 192 192 -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P2Z/p2zsed.F90
r10975 r11822 135 135 REWIND( numnatp_ref ) ! Namelist namlobsed in reference namelist : Lobster sediments 136 136 READ ( numnatp_ref, namlobsed, IOSTAT = ios, ERR = 901) 137 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlosed in reference namelist' , lwp)137 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namlosed in reference namelist' ) 138 138 REWIND( numnatp_cfg ) ! Namelist namlobsed in configuration namelist : Lobster sediments 139 139 READ ( numnatp_cfg, namlobsed, IOSTAT = ios, ERR = 902 ) 140 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobsed in configuration namelist' , lwp)140 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namlobsed in configuration namelist' ) 141 141 IF(lwm) WRITE ( numonp, namlobsed ) 142 142 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zfechem.F90
r10975 r11822 257 257 REWIND( numnatp_ref ) ! Namelist nampisfer in reference namelist : Pisces iron chemistry 258 258 READ ( numnatp_ref, nampisfer, IOSTAT = ios, ERR = 901) 259 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisfer in reference namelist' , lwp)259 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisfer in reference namelist' ) 260 260 REWIND( numnatp_cfg ) ! Namelist nampisfer in configuration namelist : Pisces iron chemistry 261 261 READ ( numnatp_cfg, nampisfer, IOSTAT = ios, ERR = 902 ) 262 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisfer in configuration namelist' , lwp)262 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisfer in configuration namelist' ) 263 263 IF(lwm) WRITE( numonp, nampisfer ) 264 264 -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zflx.F90
r10975 r11822 242 242 REWIND( numnatp_ref ) ! Namelist nampisext in reference namelist : Pisces atm. conditions 243 243 READ ( numnatp_ref, nampisext, IOSTAT = ios, ERR = 901) 244 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisext in reference namelist' , lwp)244 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisext in reference namelist' ) 245 245 REWIND( numnatp_cfg ) ! Namelist nampisext in configuration namelist : Pisces atm. conditions 246 246 READ ( numnatp_cfg, nampisext, IOSTAT = ios, ERR = 902 ) 247 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisext in configuration namelist' , lwp)247 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisext in configuration namelist' ) 248 248 IF(lwm) WRITE ( numonp, nampisext ) 249 249 ! … … 323 323 REWIND( numnatp_ref ) ! Namelist nampisatm in reference namelist : Pisces atm. sea level pressure file 324 324 READ ( numnatp_ref, nampisatm, IOSTAT = ios, ERR = 901) 325 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisatm in reference namelist' , lwp)325 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisatm in reference namelist' ) 326 326 REWIND( numnatp_cfg ) ! Namelist nampisatm in configuration namelist : Pisces atm. sea level pressure file 327 327 READ ( numnatp_cfg, nampisatm, IOSTAT = ios, ERR = 902 ) 328 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisatm in configuration namelist' , lwp)328 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisatm in configuration namelist' ) 329 329 IF(lwm) WRITE ( numonp, nampisatm ) 330 330 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zligand.F90
r10975 r11822 128 128 REWIND( numnatp_ref ) ! Namelist nampislig in reference namelist : Pisces remineralization 129 129 READ ( numnatp_ref, nampislig, IOSTAT = ios, ERR = 901) 130 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampislig in reference namelist' , lwp)130 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampislig in reference namelist' ) 131 131 REWIND( numnatp_cfg ) ! Namelist nampislig in configuration namelist : Pisces remineralization 132 132 READ ( numnatp_cfg, nampislig, IOSTAT = ios, ERR = 902 ) 133 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampislig in configuration namelist' , lwp)133 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampislig in configuration namelist' ) 134 134 IF(lwm) WRITE ( numonp, nampislig ) 135 135 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zlim.F90
r10975 r11822 255 255 REWIND( numnatp_ref ) ! Namelist nampislim in reference namelist : Pisces nutrient limitation parameters 256 256 READ ( numnatp_ref, namp4zlim, IOSTAT = ios, ERR = 901) 257 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zlim in reference namelist' , lwp)257 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zlim in reference namelist' ) 258 258 REWIND( numnatp_cfg ) ! Namelist nampislim in configuration namelist : Pisces nutrient limitation parameters 259 259 READ ( numnatp_cfg, namp4zlim, IOSTAT = ios, ERR = 902 ) 260 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zlim in configuration namelist' , lwp)260 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zlim in configuration namelist' ) 261 261 IF(lwm) WRITE( numonp, namp4zlim ) 262 262 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zlys.F90
r10975 r11822 165 165 REWIND( numnatp_ref ) ! Namelist nampiscal in reference namelist : Pisces CaCO3 dissolution 166 166 READ ( numnatp_ref, nampiscal, IOSTAT = ios, ERR = 901) 167 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampiscal in reference namelist' , lwp)167 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampiscal in reference namelist' ) 168 168 REWIND( numnatp_cfg ) ! Namelist nampiscal in configuration namelist : Pisces CaCO3 dissolution 169 169 READ ( numnatp_cfg, nampiscal, IOSTAT = ios, ERR = 902 ) 170 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampiscal in configuration namelist' , lwp)170 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampiscal in configuration namelist' ) 171 171 IF(lwm) WRITE( numonp, nampiscal ) 172 172 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zmeso.F90
r10975 r11822 293 293 REWIND( numnatp_ref ) ! Namelist nampismes in reference namelist : Pisces mesozooplankton 294 294 READ ( numnatp_ref, namp4zmes, IOSTAT = ios, ERR = 901) 295 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zmes in reference namelist' , lwp)295 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zmes in reference namelist' ) 296 296 REWIND( numnatp_cfg ) ! Namelist nampismes in configuration namelist : Pisces mesozooplankton 297 297 READ ( numnatp_cfg, namp4zmes, IOSTAT = ios, ERR = 902 ) 298 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zmes in configuration namelist' , lwp)298 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zmes in configuration namelist' ) 299 299 IF(lwm) WRITE( numonp, namp4zmes ) 300 300 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zmicro.F90
r10975 r11822 246 246 REWIND( numnatp_ref ) ! Namelist nampiszoo in reference namelist : Pisces microzooplankton 247 247 READ ( numnatp_ref, namp4zzoo, IOSTAT = ios, ERR = 901) 248 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zzoo in reference namelist' , lwp)248 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zzoo in reference namelist' ) 249 249 REWIND( numnatp_cfg ) ! Namelist nampiszoo in configuration namelist : Pisces microzooplankton 250 250 READ ( numnatp_cfg, namp4zzoo, IOSTAT = ios, ERR = 902 ) 251 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zzoo in configuration namelist' , lwp)251 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zzoo in configuration namelist' ) 252 252 IF(lwm) WRITE( numonp, namp4zzoo ) 253 253 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zmort.F90
r10975 r11822 232 232 REWIND( numnatp_ref ) ! Namelist nampismort in reference namelist : Pisces phytoplankton 233 233 READ ( numnatp_ref, namp4zmort, IOSTAT = ios, ERR = 901) 234 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zmort in reference namelist' , lwp)234 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zmort in reference namelist' ) 235 235 REWIND( numnatp_cfg ) ! Namelist nampismort in configuration namelist : Pisces phytoplankton 236 236 READ ( numnatp_cfg, namp4zmort, IOSTAT = ios, ERR = 902 ) 237 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zmort in configuration namelist' , lwp)237 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zmort in configuration namelist' ) 238 238 IF(lwm) WRITE( numonp, namp4zmort ) 239 239 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zopt.F90
r10975 r11822 404 404 REWIND( numnatp_ref ) ! Namelist nampisopt in reference namelist : Pisces attenuation coef. and PAR 405 405 READ ( numnatp_ref, nampisopt, IOSTAT = ios, ERR = 901) 406 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisopt in reference namelist' , lwp)406 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisopt in reference namelist' ) 407 407 REWIND( numnatp_cfg ) ! Namelist nampisopt in configuration namelist : Pisces attenuation coef. and PAR 408 408 READ ( numnatp_cfg, nampisopt, IOSTAT = ios, ERR = 902 ) 409 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisopt in configuration namelist' , lwp)409 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisopt in configuration namelist' ) 410 410 IF(lwm) WRITE ( numonp, nampisopt ) 411 411 -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zpoc.F90
r10975 r11822 103 103 ! particle scheme. Does not work with Kriest parameterization. 104 104 ! ----------------------------------------------------------------------- 105 ztremint(:,:,:) = zremigoc(:,:,:) 105 106 DO jk = 2, jpkm1 106 107 DO jj = 1, jpj … … 167 168 & + zsizek1 ) ) * zpoc + ( prodgoc(ji,jj,jk-1) / tgfunc(ji,jj,jk-1) * ( 1. & 168 169 & - exp( -reminp(jn) * zsizek1 ) ) * exp( -reminp(jn) * zsizek ) + prodgoc(ji,jj,jk) & 169 & / tgfunc(ji,jj,jk) * ( 1. - exp( -reminp(jn) * zsizek ) ) ) * rday / rfact2 / reminp(jn) 170 & / tgfunc(ji,jj,jk) * ( 1. - exp( -reminp(jn) * zsizek ) ) ) * rday / rfact2 / reminp(jn) * alphan(jn) 170 171 alphat = alphat + alphag(ji,jj,jk,jn) 171 172 remint = remint + alphag(ji,jj,jk,jn) * reminp(jn) … … 286 287 ! layer, this spectrum is supposed to be uniform. 287 288 ! --------------------------------------------------------------------- 289 ztremint(:,:,:) = zremipoc(:,:,:) 288 290 DO jk = 1, jpkm1 289 291 DO jj = 1, jpj … … 498 500 REWIND( numnatp_ref ) ! Namelist nampisrem in reference namelist : Pisces remineralization 499 501 READ ( numnatp_ref, nampispoc, IOSTAT = ios, ERR = 901) 500 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampispoc in reference namelist' , lwp)502 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampispoc in reference namelist' ) 501 503 REWIND( numnatp_cfg ) ! Namelist nampisrem in configuration namelist : Pisces remineralization 502 504 READ ( numnatp_cfg, nampispoc, IOSTAT = ios, ERR = 902 ) 503 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampispoc in configuration namelist' , lwp)505 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampispoc in configuration namelist' ) 504 506 IF(lwm) WRITE( numonp, nampispoc ) 505 507 -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zprod.F90
r10975 r11822 226 226 DO jj = 1, jpj 227 227 DO ji = 1, jpi 228 zprbio(ji,jj,jk) = zprbio(ji,jj,jk) * ( 1. - fr_i(ji,jj) )229 zprdia(ji,jj,jk) = zprdia(ji,jj,jk) * ( 1. - fr_i(ji,jj) )230 228 zprbio(ji,jj,jk) = zprbio(ji,jj,jk) * ( 1. - fr_i(ji,jj) ) 231 229 zprdia(ji,jj,jk) = zprdia(ji,jj,jk) * ( 1. - fr_i(ji,jj) ) … … 323 321 ! 324 322 IF( ln_ligand ) THEN 323 zpligprod1(:,:,:) = 0._wp ; zpligprod2(:,:,:) = 0._wp 325 324 DO jk = 1, jpkm1 326 325 DO jj = 1, jpj … … 494 493 REWIND( numnatp_ref ) ! Namelist nampisprod in reference namelist : Pisces phytoplankton production 495 494 READ ( numnatp_ref, namp4zprod, IOSTAT = ios, ERR = 901) 496 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zprod in reference namelist' , lwp)495 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp4zprod in reference namelist' ) 497 496 REWIND( numnatp_cfg ) ! Namelist nampisprod in configuration namelist : Pisces phytoplankton production 498 497 READ ( numnatp_cfg, namp4zprod, IOSTAT = ios, ERR = 902 ) 499 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zprod in configuration namelist' , lwp)498 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp4zprod in configuration namelist' ) 500 499 IF(lwm) WRITE( numonp, namp4zprod ) 501 500 -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zrem.F90
r10975 r11822 330 330 REWIND( numnatp_ref ) ! Namelist nampisrem in reference namelist : Pisces remineralization 331 331 READ ( numnatp_ref, nampisrem, IOSTAT = ios, ERR = 901) 332 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisrem in reference namelist' , lwp)332 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisrem in reference namelist' ) 333 333 REWIND( numnatp_cfg ) ! Namelist nampisrem in configuration namelist : Pisces remineralization 334 334 READ ( numnatp_cfg, nampisrem, IOSTAT = ios, ERR = 902 ) 335 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisrem in configuration namelist' , lwp)335 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisrem in configuration namelist' ) 336 336 IF(lwm) WRITE( numonp, nampisrem ) 337 337 -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zsbc.F90
r10975 r11822 27 27 LOGICAL , PUBLIC :: ln_ironsed !: boolean for Fe input from sediments 28 28 LOGICAL , PUBLIC :: ln_hydrofe !: boolean for Fe input from hydrothermal vents 29 LOGICAL , PUBLIC :: ln_ironice !: boolean for Fe input from sea ice30 29 REAL(wp), PUBLIC :: sedfeinput !: Coastal release of Iron 31 30 REAL(wp), PUBLIC :: dustsolub !: Solubility of the dust … … 110 109 IF( kt == nit000 .OR. ( kt /= nit000 .AND. ntimes_dust > 1 ) ) THEN 111 110 CALL fld_read( kt, 1, sf_dust ) 112 IF( nn_ice_tr == -1 .AND. .NOT.ln_ironice ) THEN ; dust(:,:) = MAX( rtrn, sf_dust(1)%fnow(:,:,1) ) 113 ELSE ; dust(:,:) = MAX( rtrn, sf_dust(1)%fnow(:,:,1) * ( 1.-fr_i(:,:) ) ) 114 ENDIF 111 dust(:,:) = MAX( rtrn, sf_dust(1)%fnow(:,:,1) ) * ( 1.0 - fr_i(:,:) ) 115 112 ENDIF 116 113 ENDIF … … 176 173 IF( ln_ndepo ) THEN 177 174 IF( kt == nit000 .OR. ( kt /= nit000 .AND. ntimes_ndep > 1 ) ) THEN 178 zcoef = rno3 * 14E6 * ryyss175 zcoef = 14. * rno3 179 176 CALL fld_read( kt, 1, sf_ndepo ) 180 177 nitdep(:,:) = MAX( rtrn, sf_ndepo(1)%fnow(:,:,1) / zcoef / e3t(:,:,1,Kmm) ) 181 178 ENDIF 182 179 IF( .NOT.ln_linssh ) THEN 183 zcoef = rno3 * 14E6 * ryyss184 nitdep(:,:) = MAX( rtrn, sf_ndepo(1)%fnow(:,:,1) / zcoef / e3t(:,:,1,Kmm) )180 zcoef = 14. * rno3 181 nitdep(:,:) = MAX( rtrn, sf_ndepo(1)%fnow(:,:,1) / zcoef / e3t(:,:,1,Kmm) ) 185 182 ENDIF 186 183 ENDIF … … 237 234 REWIND( numnatp_ref ) ! Namelist nampissbc in reference namelist : Pisces external sources of nutrients 238 235 READ ( numnatp_ref, nampissbc, IOSTAT = ios, ERR = 901) 239 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampissbc in reference namelist' , lwp)236 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampissbc in reference namelist' ) 240 237 REWIND( numnatp_cfg ) ! Namelist nampissbc in configuration namelist : Pisces external sources of nutrients 241 238 READ ( numnatp_cfg, nampissbc, IOSTAT = ios, ERR = 902 ) 242 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampissbc in configuration namelist' , lwp)239 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampissbc in configuration namelist' ) 243 240 IF(lwm) WRITE ( numonp, nampissbc ) 244 241 … … 267 264 END IF 268 265 269 IF( nn_ice_tr >= 0 .AND. ln_ironice ) THEN270 IF(lwp) THEN271 WRITE(numout,*) ' ==>>> ln_ironice incompatible with nn_ice_tr = ', nn_ice_tr272 WRITE(numout,*) ' Specify your sea ice iron concentration in nampisice instead '273 WRITE(numout,*) ' ln_ironice is forced to .FALSE. '274 ENDIF275 ln_ironice = .FALSE.276 ENDIF277 278 266 IF( ln_dust .OR. ln_river .OR. ln_ndepo ) THEN ; ll_sbc = .TRUE. 279 267 ELSE ; ll_sbc = .FALSE. -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zsed.F90
r10975 r11822 54 54 INTEGER :: ji, jj, jk, ikt 55 55 REAL(wp) :: zrivalk, zrivsil, zrivno3 56 REAL(wp) :: zwflux, zfminus, zfplus 57 REAL(wp) :: zlim, zfact, zfactcal 56 REAL(wp) :: zwflux, zlim, zfact, zfactcal 58 57 REAL(wp) :: zo2, zno3, zflx, zpdenit, z1pdenit, zolimit 59 58 REAL(wp) :: zsiloss, zcaloss, zws3, zws4, zwsc, zdep … … 105 104 zdep = rfact2 / e3t(ji,jj,1,Kmm) 106 105 zwflux = fmmflx(ji,jj) / 1000._wp 107 zfminus = MIN( 0._wp, -zwflux ) * tr(ji,jj,1,jpfer,Kbb) * zdep 108 zfplus = MAX( 0._wp, -zwflux ) * icefeinput * zdep 109 zironice(ji,jj) = zfplus + zfminus 106 zironice(ji,jj) = MAX( -0.99 * tr(ji,jj,1,jpfer,Kbb), -zwflux * icefeinput * zdep ) 110 107 END DO 111 108 END DO -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p4zsms.F90
r11504 r11822 204 204 REWIND( numnatp_ref ) ! Namelist nampisbio in reference namelist : Pisces variables 205 205 READ ( numnatp_ref, nampisbio, IOSTAT = ios, ERR = 901) 206 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisbio in reference namelist' , lwp)206 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisbio in reference namelist' ) 207 207 REWIND( numnatp_cfg ) ! Namelist nampisbio in configuration namelist : Pisces variables 208 208 READ ( numnatp_cfg, nampisbio, IOSTAT = ios, ERR = 902 ) 209 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisbio in configuration namelist' , lwp)209 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisbio in configuration namelist' ) 210 210 IF(lwm) WRITE( numonp, nampisbio ) 211 211 ! … … 235 235 REWIND( numnatp_ref ) ! Namelist nampisdmp in reference namelist : Pisces damping 236 236 READ ( numnatp_ref, nampisdmp, IOSTAT = ios, ERR = 905) 237 905 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisdmp in reference namelist' , lwp)237 905 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisdmp in reference namelist' ) 238 238 REWIND( numnatp_cfg ) ! Namelist nampisdmp in configuration namelist : Pisces damping 239 239 READ ( numnatp_cfg, nampisdmp, IOSTAT = ios, ERR = 906 ) 240 906 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisdmp in configuration namelist' , lwp)240 906 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisdmp in configuration namelist' ) 241 241 IF(lwm) WRITE( numonp, nampisdmp ) 242 242 ! … … 250 250 REWIND( numnatp_ref ) ! Namelist nampismass in reference namelist : Pisces mass conservation check 251 251 READ ( numnatp_ref, nampismass, IOSTAT = ios, ERR = 907) 252 907 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampismass in reference namelist' , lwp)252 907 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampismass in reference namelist' ) 253 253 REWIND( numnatp_cfg ) ! Namelist nampismass in configuration namelist : Pisces mass conservation check 254 254 READ ( numnatp_cfg, nampismass, IOSTAT = ios, ERR = 908 ) 255 908 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampismass in configuration namelist' , lwp)255 908 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampismass in configuration namelist' ) 256 256 IF(lwm) WRITE( numonp, nampismass ) 257 257 -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p5zlim.F90
r10975 r11822 451 451 REWIND( numnatp_ref ) ! Namelist nampislim in reference namelist : Pisces nutrient limitation parameters 452 452 READ ( numnatp_ref, namp5zlim, IOSTAT = ios, ERR = 901) 453 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampislim in reference namelist' , lwp)453 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampislim in reference namelist' ) 454 454 ! 455 455 REWIND( numnatp_cfg ) ! Namelist nampislim in configuration namelist : Pisces nutrient limitation parameters 456 456 READ ( numnatp_cfg, namp5zlim, IOSTAT = ios, ERR = 902 ) 457 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampislim in configuration namelist' , lwp)457 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampislim in configuration namelist' ) 458 458 IF(lwm) WRITE ( numonp, namp5zlim ) 459 459 ! … … 492 492 REWIND( numnatp_ref ) ! Namelist nampislim in reference namelist : Pisces nutrient limitation parameters 493 493 READ ( numnatp_ref, namp5zquota, IOSTAT = ios, ERR = 903) 494 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisquota in reference namelist' , lwp)494 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampisquota in reference namelist' ) 495 495 ! 496 496 REWIND( numnatp_cfg ) ! Namelist nampislim in configuration namelist : Pisces nutrient limitation parameters 497 497 READ ( numnatp_cfg, namp5zquota, IOSTAT = ios, ERR = 904 ) 498 904 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisquota in configuration namelist' , lwp)498 904 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampisquota in configuration namelist' ) 499 499 IF(lwm) WRITE ( numonp, namp5zquota ) 500 500 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p5zmeso.F90
r10975 r11822 410 410 REWIND( numnatp_ref ) ! Namelist nampismes in reference namelist : Pisces mesozooplankton 411 411 READ ( numnatp_ref, namp5zmes, IOSTAT = ios, ERR = 901) 412 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampismes in reference namelist' , lwp)412 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampismes in reference namelist' ) 413 413 ! 414 414 REWIND( numnatp_cfg ) ! Namelist nampismes in configuration namelist : Pisces mesozooplankton 415 415 READ ( numnatp_cfg, namp5zmes, IOSTAT = ios, ERR = 902 ) 416 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampismes in configuration namelist' , lwp)416 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampismes in configuration namelist' ) 417 417 IF(lwm) WRITE ( numonp, namp5zmes ) 418 418 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p5zmicro.F90
r10975 r11822 352 352 REWIND( numnatp_ref ) ! Namelist nampiszoo in reference namelist : Pisces microzooplankton 353 353 READ ( numnatp_ref, namp5zzoo, IOSTAT = ios, ERR = 901) 354 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp5zzoo in reference namelist' , lwp)354 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp5zzoo in reference namelist' ) 355 355 ! 356 356 REWIND( numnatp_cfg ) ! Namelist nampiszoo in configuration namelist : Pisces microzooplankton 357 357 READ ( numnatp_cfg, namp5zzoo, IOSTAT = ios, ERR = 902 ) 358 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp5zzoo in configuration namelist' , lwp)358 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp5zzoo in configuration namelist' ) 359 359 IF(lwm) WRITE ( numonp, namp5zzoo ) 360 360 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p5zmort.F90
r10975 r11822 292 292 REWIND( numnatp_ref ) ! Namelist nampismort in reference namelist : Pisces phytoplankton 293 293 READ ( numnatp_ref, namp5zmort, IOSTAT = ios, ERR = 901) 294 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp5zmort in reference namelist' , lwp)294 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp5zmort in reference namelist' ) 295 295 296 296 REWIND( numnatp_cfg ) ! Namelist nampismort in configuration namelist : Pisces phytoplankton 297 297 READ ( numnatp_cfg, namp5zmort, IOSTAT = ios, ERR = 902 ) 298 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp5zmort in configuration namelist' , lwp)298 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp5zmort in configuration namelist' ) 299 299 IF(lwm) WRITE ( numonp, namp5zmort ) 300 300 -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/P4Z/p5zprod.F90
r10975 r11822 445 445 ! 446 446 IF( ln_ligand ) THEN 447 zpligprod1(:,:,:) = 0._wp ; zpligprod2(:,:,:) = 0._wp 447 448 DO jk = 1, jpkm1 448 449 DO jj = 1, jpj … … 584 585 REWIND( numnatp_ref ) ! Namelist nampisprod in reference namelist : Pisces phytoplankton production 585 586 READ ( numnatp_ref, namp5zprod, IOSTAT = ios, ERR = 901) 586 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp5zprod in reference namelist' , lwp)587 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namp5zprod in reference namelist' ) 587 588 588 589 REWIND( numnatp_cfg ) ! Namelist nampisprod in configuration namelist : Pisces phytoplankton production 589 590 READ ( numnatp_cfg, namp5zprod, IOSTAT = ios, ERR = 902 ) 590 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp5zprod in configuration namelist' , lwp)591 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namp5zprod in configuration namelist' ) 591 592 IF(lwm) WRITE ( numonp, namp5zprod ) 592 593 -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/SED/sedini.F90
r11504 r11822 459 459 REWIND( numnamsed_ref ) ! Namelist nam_run in reference namelist : Pisces variables 460 460 READ ( numnamsed_ref, nam_run, IOSTAT = ios, ERR = 901) 461 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_run in reference namelist' , lwp)461 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_run in reference namelist' ) 462 462 463 463 REWIND( numnamsed_cfg ) ! Namelist nam_run in reference namelist : Pisces variables 464 464 READ ( numnamsed_cfg, nam_run, IOSTAT = ios, ERR = 902) 465 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_run in configuration namelist' , lwp)465 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_run in configuration namelist' ) 466 466 467 467 IF (lwp) THEN … … 475 475 REWIND( numnamsed_ref ) ! Namelist nam_geom in reference namelist : Pisces variables 476 476 READ ( numnamsed_ref, nam_geom, IOSTAT = ios, ERR = 903) 477 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_geom in reference namelist' , lwp)477 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_geom in reference namelist' ) 478 478 479 479 REWIND( numnamsed_cfg ) ! Namelist nam_geom in reference namelist : Pisces variables 480 480 READ ( numnamsed_cfg, nam_geom, IOSTAT = ios, ERR = 904) 481 904 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_geom in configuration namelist' , lwp)481 904 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_geom in configuration namelist' ) 482 482 483 483 IF (lwp) THEN … … 498 498 REWIND( numnamsed_ref ) ! Namelist nam_trased in reference namelist : Pisces variables 499 499 READ ( numnamsed_ref, nam_trased, IOSTAT = ios, ERR = 905) 500 905 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_trased in reference namelist' , lwp)500 905 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_trased in reference namelist' ) 501 501 502 502 REWIND( numnamsed_cfg ) ! Namelist nam_trased in reference namelist : Pisces variables 503 503 READ ( numnamsed_cfg, nam_trased, IOSTAT = ios, ERR = 906) 504 906 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_trased in configuration namelist' , lwp)504 906 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_trased in configuration namelist' ) 505 505 506 506 DO jn = 1, jpsol … … 531 531 REWIND( numnamsed_ref ) ! Namelist nam_diased in reference namelist : Pisces variables 532 532 READ ( numnamsed_ref, nam_diased, IOSTAT = ios, ERR = 907) 533 907 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_diased in reference namelist' , lwp)533 907 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_diased in reference namelist' ) 534 534 535 535 REWIND( numnamsed_cfg ) ! Namelist nam_diased in reference namelist : Pisces variables 536 536 READ ( numnamsed_cfg, nam_diased, IOSTAT = ios, ERR = 908) 537 908 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_diased in configuration namelist' , lwp)537 908 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_diased in configuration namelist' ) 538 538 539 539 DO jn = 1, jpdia3dsed … … 573 573 REWIND( numnamsed_ref ) ! Namelist nam_inorg in reference namelist : Pisces variables 574 574 READ ( numnamsed_ref, nam_inorg, IOSTAT = ios, ERR = 909) 575 909 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_inorg in reference namelist' , lwp)575 909 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_inorg in reference namelist' ) 576 576 577 577 REWIND( numnamsed_cfg ) ! Namelist nam_inorg in reference namelist : Pisces variables 578 578 READ ( numnamsed_cfg, nam_inorg, IOSTAT = ios, ERR = 910) 579 910 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_inorg in configuration namelist' , lwp)579 910 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_inorg in configuration namelist' ) 580 580 581 581 IF (lwp) THEN … … 599 599 REWIND( numnamsed_ref ) ! Namelist nam_poc in reference namelist : Pisces variables 600 600 READ ( numnamsed_ref, nam_poc, IOSTAT = ios, ERR = 911) 601 911 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_poc in reference namelist' , lwp)601 911 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_poc in reference namelist' ) 602 602 603 603 REWIND( numnamsed_cfg ) ! Namelist nam_poc in reference namelist : Pisces variables 604 604 READ ( numnamsed_cfg, nam_poc, IOSTAT = ios, ERR = 912) 605 912 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_poc in configuration namelist' , lwp)605 912 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_poc in configuration namelist' ) 606 606 607 607 IF (lwp) THEN … … 651 651 REWIND( numnamsed_ref ) ! Namelist nam_btb in reference namelist : Pisces variables 652 652 READ ( numnamsed_ref, nam_btb, IOSTAT = ios, ERR = 913) 653 913 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_btb in reference namelist' , lwp)653 913 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_btb in reference namelist' ) 654 654 655 655 REWIND( numnamsed_cfg ) ! Namelist nam_btb in reference namelist : Pisces variables 656 656 READ ( numnamsed_cfg, nam_btb, IOSTAT = ios, ERR = 914) 657 914 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_btb in configuration namelist' , lwp)657 914 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_btb in configuration namelist' ) 658 658 659 659 IF (lwp) THEN … … 672 672 REWIND( numnamsed_ref ) ! Namelist nam_rst in reference namelist : Pisces variables 673 673 READ ( numnamsed_ref, nam_rst, IOSTAT = ios, ERR = 915) 674 915 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_rst in reference namelist' , lwp)674 915 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_rst in reference namelist' ) 675 675 676 676 REWIND( numnamsed_cfg ) ! Namelist nam_rst in reference namelist : Pisces variables 677 677 READ ( numnamsed_cfg, nam_rst, IOSTAT = ios, ERR = 916) 678 916 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_rst in configuration namelist' , lwp)678 916 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nam_rst in configuration namelist' ) 679 679 680 680 IF (lwp) THEN -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/SED/sedrst.F90
r11504 r11822 49 49 IF( ln_rst_list ) THEN 50 50 nrst_lst = 1 51 nitrst = n stocklist( nrst_lst )51 nitrst = nn_stocklist( nrst_lst ) 52 52 ELSE 53 53 nitrst = nitend 54 54 ENDIF 55 55 ENDIF 56 IF( .NOT. ln_rst_list .AND. MOD( kt - 1, n stock ) == 0 ) THEN56 IF( .NOT. ln_rst_list .AND. MOD( kt - 1, nn_stock ) == 0 ) THEN 57 57 ! we use kt - 1 and not kt - nittrc000 to keep the same periodicity from the beginning of the experiment 58 nitrst = kt + n stock - 1 ! define the next value of nitrst for restart writing58 nitrst = kt + nn_stock - 1 ! define the next value of nitrst for restart writing 59 59 IF( nitrst > nitend ) nitrst = nitend ! make sure we write a restart at the end of the run 60 60 ENDIF … … 62 62 IF( kt == nittrc000 ) lrst_sed = .FALSE. 63 63 ENDIF 64 65 IF( .NOT. ln_rst_list .AND. nn_stock == -1 ) RETURN ! we will never do any restart 64 66 65 67 ! to get better performances with NetCDF format: 66 68 ! we open and define the tracer restart file one tracer time step before writing the data (-> at nitrst - 1) 67 69 ! except if we write tracer restart files every tracer time step or if a tracer restart file was writen at nitend - 1 68 IF( kt == nitrst - 2*nn_dtsed .OR. n stock == nn_dtsed .OR. ( kt == nitend - nn_dtsed .AND. .NOT. lrst_sed ) ) THEN70 IF( kt == nitrst - 2*nn_dtsed .OR. nn_stock == nn_dtsed .OR. ( kt == nitend - nn_dtsed .AND. .NOT. lrst_sed ) ) THEN 69 71 ! beware of the format used to write kt (default is i8.8, that should be large enough) 70 72 IF( nitrst > 1.0e9 ) THEN ; WRITE(clkt,* ) nitrst … … 300 302 IF( l_offline .AND. ln_rst_list ) THEN 301 303 nrst_lst = nrst_lst + 1 302 nitrst = n stocklist( nrst_lst )304 nitrst = nn_stocklist( nrst_lst ) 303 305 ENDIF 304 306 ENDIF -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/sms_pisces.F90
r10425 r11822 67 67 !!* Mass conservation 68 68 LOGICAL :: ln_check_mass !: Flag to check mass conservation 69 LOGICAL , PUBLIC :: ln_ironice !: boolean for Fe input from sea ice 69 70 70 71 !!* Biological fluxes for light : variables shared by pisces & lobster -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/trcice_pisces.F90
r10213 r11822 119 119 zpisc(jpno3,1) = 5.79e-6_wp / rno3 120 120 zpisc(jpnh4,1) = 3.22e-7_wp / rno3 121 zpisc(jplgw,1) = 1.0e-9_wp 121 122 122 123 ! ln_p5z … … 162 163 zpisc(jpno3,2) = 3.51e-06_wp / rno3 163 164 zpisc(jpnh4,2) = 6.15e-08_wp / rno3 165 zpisc(jplgw,2) = 1.0e-9_wp 164 166 165 167 ! ln_p5z … … 205 207 zpisc(jpno3,3) = 2.64e-5_wp / rno3 206 208 zpisc(jpnh4,3) = 3.39e-7_wp / rno3 209 zpisc(jplgw,3) = 1.0e-9_wp 207 210 208 211 ! ln_p5z … … 249 252 zpisc(jpno3,4) = 5.36e-5_wp / rno3 250 253 zpisc(jpnh4,4) = 7.18e-7_wp / rno3 254 zpisc(jplgw,4) = 1.0e-9_wp 251 255 252 256 ! ln_p5z … … 266 270 zpisc(jpgon,4) = 1.05e-8_wp 267 271 zpisc(jpgop,4) = 1.05e-8_wp 268 272 ! 273 ! ln_ironice and tracers in seaice are redundant. Thus, if tracers in ice 274 ! is activated, ln_ironice should be set to false 275 ! ------------------------------------------------------------------------ 276 IF( nn_ice_tr /= 0 .AND. ln_ironice ) THEN 277 IF(lwp) THEN 278 WRITE(numout,*) ' ==>>> ln_ironice incompatible with nn_ice_tr = ', nn_ice_tr 279 WRITE(numout,*) ' Specify your sea ice iron concentration in nampisice instead ' 280 WRITE(numout,*) ' ln_ironice is forced to .FALSE. ' 281 ENDIF 282 ln_ironice = .FALSE. 283 ENDIF 284 ! 269 285 DO jn = jp_pcs0, jp_pcs1 270 286 IF( cn_trc_o(jn) == 'GL ' ) trc_o(:,:,jn) = zpisc(jn,1) ! Global case … … 310 326 trc_i(:,:,jn) = trc_ice_prescr(jn) 311 327 ENDIF 312 313 328 !-- Baltic 314 329 IF( cn_cfg == "orca" .OR. cn_cfg == "ORCA" ) THEN … … 318 333 trc_i(:,:,jn) = zratio(jn,2) * trc_o(:,:,jn) 319 334 END WHERE 320 ELSE ! prescribed tracer concentration in ice 321 WHERE( 14._wp <= glamt(:,:) .AND. glamt(:,:) <= 32._wp .AND. & 322 54._wp <= gphit(:,:) .AND. gphit(:,:) <= 66._wp ) 323 trc_i(:,:,jn) = trc_ice_prescr(jn) 324 END WHERE 325 ENDIF ! trc_ice_ratio 335 ENDIF 326 336 ENDIF 327 337 ! -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/trcini_pisces.F90
r10975 r11822 277 277 278 278 ! Initialization of the sediment model 279 IF( ln_sediment) THEN 280 CALL sed_init 281 ELSE 282 ALLOCATE( profsed(2) ) 283 ENDIF 279 IF( ln_sediment) CALL sed_init 284 280 285 281 IF(lwp) WRITE(numout,*) -
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/TOP/PISCES/trcnam_pisces.F90
r10222 r11822 57 57 REWIND( numnatp_ref ) ! Namelist nampisbio in reference namelist : Pisces variables 58 58 READ ( numnatp_ref, nampismod, IOSTAT = ios, ERR = 901) 59 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampismod in reference namelist' , lwp)59 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'nampismod in reference namelist' ) 60 60 REWIND( numnatp_cfg ) ! Namelist nampisbio in configuration namelist : Pisces variables 61 61 READ ( numnatp_cfg, nampismod, IOSTAT = ios, ERR = 902 ) 62 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampismod in configuration namelist' , lwp)62 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'nampismod in configuration namelist' ) 63 63 IF(lwm) WRITE( numonp, nampismod ) 64 64 !
Note: See TracChangeset
for help on using the changeset viewer.