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 9435 for branches/UKMO/dev_r5518_GO6_package_asm_3d_bgc/NEMOGCM/NEMO/OPA_SRC/ASM/asmbgc.F90 – NEMO

Ignore:
Timestamp:
2018-03-27T15:20:18+02:00 (6 years ago)
Author:
dford
Message:

Allow assimilation of PFT chlorophyll.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_asm_3d_bgc/NEMOGCM/NEMO/OPA_SRC/ASM/asmbgc.F90

    r9432 r9435  
    249249      ENDIF 
    250250 
     251      IF ( ln_phytobal .AND.                                      & 
     252         & ( ( ln_slchlnoninc .AND.( .NOT. ln_slchldiainc ) ).OR. & 
     253         &   ( ln_slchldiainc .AND.( .NOT. ln_slchlnoninc ) ) ) ) THEN 
     254         CALL ctl_stop( ' Cannot calculate phytoplankton balancing increments', & 
     255            &           ' unless assimilating all model PFTs,') 
     256      ENDIF 
     257 
    251258      IF ( ln_slphytotinc .AND. ( ln_slphydiainc .OR. ln_slphynoninc ) ) THEN 
    252259         CALL ctl_stop( ' Can only assimilate total or PFT surface phytoplankton carbon, not both' ) 
     260      ENDIF 
     261 
     262      IF ( ln_phytobal .AND.                                      & 
     263         & ( ( ln_slphynoninc .AND.( .NOT. ln_slphydiainc ) ).OR. & 
     264         &   ( ln_slphydiainc .AND.( .NOT. ln_slphynoninc ) ) ) ) THEN 
     265         CALL ctl_stop( ' Cannot calculate phytoplankton balancing increments', & 
     266            &           ' unless assimilating all model PFTs,') 
    253267      ENDIF 
    254268 
     
    905919 
    906920         ! Un-log any log increments for passing to balancing routines 
     921         ! Remember that two sets of non-log increments should not be 
     922         ! expected to be in the same ratio as their log equivalents 
     923          
    907924         ! Total chlorophyll 
    908925         IF ( ln_slchltotinc ) THEN 
Note: See TracChangeset for help on using the changeset viewer.