Changeset 8955 for branches/NERC
- Timestamp:
- 2017-12-08T12:37:13+01:00 (7 years ago)
- Location:
- branches/NERC/dev_r5518_GO6_ScalingCoupledChl/NEMOGCM/NEMO/TOP_SRC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/NERC/dev_r5518_GO6_ScalingCoupledChl/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcini_medusa.F90
r8147 r8955 271 271 zn_dms_srf(:,:) = 0.0 272 272 za_dms_srf(:,:) = 0.0 273 zn_chl_srf(:,:) = 2.0E-8 !! Chl srf273 zn_chl_srf(:,:) = 2.0E-8 * scl_chl !! Chl cpl - set first as surf 274 274 !! 275 275 IF(lwp) WRITE(numout,*) ' trc_ini_medusa: DMS and CO2 flux (UKESM) initialised to zero' -
branches/NERC/dev_r5518_GO6_ScalingCoupledChl/NEMOGCM/NEMO/TOP_SRC/trcrst.F90
r8632 r8955 277 277 !! as proxy of org matter from the ocean 278 278 !! -- needed for the coupling with atm 279 !! 07-12-2017 -- To make things cleaner we want to pass ans read an 280 !! unscaled Chl field to the restart and scale it when 281 !! reading it. 279 282 IF( iom_varid( numrtr, 'N_CHL_srf', ldstop = .FALSE. ) > 0 ) THEN 280 IF(lwp) WRITE(numout,*) 'Chl surf concentration - reading in ...'283 IF(lwp) WRITE(numout,*) 'Chl cpl concentration - reading in ... - scale by ', scl_chl 281 284 CALL iom_get( numrtr, jpdom_autoglo, 'N_CHL_srf', zn_chl_srf(:,:) ) 285 zn_chl_srf(:,:) = zn_chl_srf(:,:) * scl_chl 282 286 ELSE 283 IF(lwp) WRITE(numout,*) ' Chl surf concentration - setting to zero ...'287 IF(lwp) WRITE(numout,*) 'set Chl coupled concentration - scaled by ', scl_chl 284 288 zn_chl_srf(:,:) = MAX( 0.0, (trn(:,:,1,jpchn) + trn(:,:,1,jpchd)) * scl_chl * 1.E-6 ) 285 289 ENDIF … … 297 301 call trc_rst_dia_stat(zn_dms_srf(:,:), 'DMS surf') 298 302 call trc_rst_dia_stat(zn_co2_flx(:,:), 'CO2 flux') 299 call trc_rst_dia_stat(zn_chl_srf(:,:), 'CHL surf')303 call trc_rst_dia_stat(zn_chl_srf(:,:), 'CHL cpl') 300 304 !! 301 305 !! JPALM 14-06-2016 -- add Carbonate chenistry variables through the restart … … 457 461 CALL iom_rstput( kt, nitrst, numrtw, 'B_CO2_flx', zb_co2_flx(:,:) ) 458 462 CALL iom_rstput( kt, nitrst, numrtw, 'N_CO2_flx', zn_co2_flx(:,:) ) 463 !! JPALM 07-12-2017 -- To make things cleaner we want to pass ans read an 464 !! unscaled Chl field to the restart and scale it when 465 !! reading it. 466 zn_chl_srf(:,:) = zn_chl_srf(:,:) / scl_chl 459 467 CALL iom_rstput( kt, nitrst, numrtw, 'N_CHL_srf', zn_chl_srf(:,:) ) 460 468 !! … … 468 476 call trc_rst_dia_stat(zn_dms_srf(:,:), 'DMS surf') 469 477 call trc_rst_dia_stat(zn_co2_flx(:,:), 'CO2 flux') 470 call trc_rst_dia_stat(zn_chl_srf(:,:), ' CHL surf')478 call trc_rst_dia_stat(zn_chl_srf(:,:), 'unscaled CHL cpl') 471 479 !! 472 480 IF(lwp) WRITE(numout,*) ' MEDUSA averaged prop. for dust and iron dep.'
Note: See TracChangeset
for help on using the changeset viewer.