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 13424 for branches/UKMO/dev_r5518_GO6_reduce_iceberg_output/NEMOGCM/NEMO/OPA_SRC/ICB/icbclv.F90 – NEMO

Ignore:
Timestamp:
2020-08-21T16:45:04+02:00 (4 years ago)
Author:
dancopsey
Message:

Enable turning off of iceberg prints when nn_print=0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_reduce_iceberg_output/NEMOGCM/NEMO/OPA_SRC/ICB/icbclv.F90

    r12233 r13424  
    6969      ! nn_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true 
    7070      IF( nn_coupled_iceshelf_fluxes .gt. 0 ) THEN 
    71         ll_write = ((MOD( kt, sn_cfctl%ptimincr ) == 0) .OR. ( kt == nitend )) .AND. lwp 
     71        ll_write = ((MOD( kt, sn_cfctl%ptimincr ) == 0) .OR. ( kt == nitend )) .AND. lwp .AND. (nn_print>0) 
    7272        ! Adjust total calving rates so that sum of iceberg calving and iceshelf melting in the northern 
    7373        ! and southern hemispheres equals rate of increase of mass of greenland and antarctic ice sheets 
Note: See TracChangeset for help on using the changeset viewer.