Changeset 10753 for branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC/ICB/icbclv.F90
- Timestamp:
- 2019-03-14T16:34:25+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC/ICB/icbclv.F90
r8046 r10753 56 56 INTEGER :: imx ! temporary integer for max berg class 57 57 LOGICAL, SAVE :: ll_first_call = .TRUE. 58 LOGICAL :: ll_write 58 59 !!---------------------------------------------------------------------- 59 60 ! … … 68 69 ! nn_coupled_iceshelf_fluxes uninitialised unless lk_oasis=true 69 70 IF( nn_coupled_iceshelf_fluxes .gt. 0 ) THEN 70 71 ll_write = ( MOD( kt, sn_cfctl%ptimincr ) == 0 ) .OR. ( kt == nitend ) .AND. lwp 71 72 ! Adjust total calving rates so that sum of iceberg calving and iceshelf melting in the northern 72 73 ! and southern hemispheres equals rate of increase of mass of greenland and antarctic ice sheets … … 80 81 81 82 ! check 82 IF(l wp) WRITE(numout, *) 'Greenland iceberg calving climatology (kg/s) : ',zgreenland_calving_sum83 IF(ll_write) WRITE(numout, *) 'Greenland iceberg calving climatology (kg/s) : ',zgreenland_calving_sum 83 84 zgreenland_calving_sum = SUM( berg_grid%calving(:,:) * greenland_icesheet_mask(:,:) ) 84 85 IF( lk_mpp ) CALL mpp_sum( zgreenland_calving_sum ) 85 IF(l wp) WRITE(numout, *) 'Greenland iceberg calving adjusted value (kg/s) : ',zgreenland_calving_sum86 IF(ll_write) WRITE(numout, *) 'Greenland iceberg calving adjusted value (kg/s) : ',zgreenland_calving_sum 86 87 87 88 zantarctica_calving_sum = SUM( berg_grid%calving(:,:) * antarctica_icesheet_mask(:,:) ) … … 92 93 93 94 ! check 94 IF(l wp) WRITE(numout, *) 'Antarctica iceberg calving climatology (kg/s) : ',zantarctica_calving_sum95 IF(ll_write) WRITE(numout, *) 'Antarctica iceberg calving climatology (kg/s) : ',zantarctica_calving_sum 95 96 zantarctica_calving_sum = SUM( berg_grid%calving(:,:) * antarctica_icesheet_mask(:,:) ) 96 97 IF( lk_mpp ) CALL mpp_sum( zantarctica_calving_sum ) 97 IF(l wp) WRITE(numout, *) 'Antarctica iceberg calving adjusted value (kg/s) : ',zantarctica_calving_sum98 IF(ll_write) WRITE(numout, *) 'Antarctica iceberg calving adjusted value (kg/s) : ',zantarctica_calving_sum 98 99 99 100 ENDIF … … 218 219 CALL lbc_lnk( berg_grid%stored_heat, 'T', 1._wp ) 219 220 ! 220 IF( nn_verbose_level > 0 .AND. icntmax > 1 ) WRITE(numicb,*) 'icb_clv: icnt=', icnt,' on', narea221 IF( nn_verbose_level > 0 .AND. icntmax > 1 .AND. numicb.NE.-1) WRITE(numicb,*) 'icb_clv: icnt=', icnt,' on', narea 221 222 ! 222 223 END SUBROUTINE icb_clv
Note: See TracChangeset
for help on using the changeset viewer.