New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 8607 for branches/NERC/dev_r5518_GO6_ScalingCoupledChl/NEMOGCM/NEMO/TOP_SRC/MEDUSA/bio_medusa_diag_slice.F90 – NEMO

Ignore:
Timestamp:
2017-10-10T12:43:01+02:00 (7 years ago)
Author:
jpalmier
Message:

JPALM -- enable to scale Chl sent to the UM and choose between surf or MLD chl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5518_GO6_ScalingCoupledChl/NEMOGCM/NEMO/TOP_SRC/MEDUSA/bio_medusa_diag_slice.F90

    r8442 r8607  
    4848                                   jdms, ocal_ccd, xpar, xze,              & 
    4949                                   zb_co2_flx, zb_dms_srf,                 & 
    50                                    zn_co2_flx, zn_dms_srf, zn_chl_srf 
     50                                   zn_co2_flx, zn_dms_srf, zn_chl_srf,     & 
     51                                   scl_chl, chl_out 
    5152      USE trc,               ONLY: med_diag 
    5253 
     
    7071         !! no need to output, just pass to cpl var 
    7172         IF (lk_oasis) THEN 
    72             zn_chl_srf(:,:) = (trn(:,:,1,jpchd) + trn(:,:,1,jpchn)) * 1.0E-6  !! surf Chl in Kg-chl/m3 as needed for cpl 
     73            IF (chl_out.eq.1) THEN 
     74               !! export and scale surface chl 
     75               zn_chl_srf(:,:) = (trn(:,:,1,jpchd) + trn(:,:,1,jpchn)) * scl_chl * 1.0E-6   
     76                                 !! surf Chl in Kg-chl/m3 as needed for cpl 
     77            ELSEIF (chl_out.eq.2) THEN 
     78               !! export and scale mld chl 
     79               zn_chl_srf(:,:) = fchl_ml * scl_chl * 1.0E-6   
     80                                 !! mld Chl in Kg-chl/m3 as needed for cpl 
     81            ENDIF 
    7382            chloro_out_cpl(:,:) = zn_chl_srf(:,:)        !! Coupling Chl 
    7483         END IF 
Note: See TracChangeset for help on using the changeset viewer.