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 1482 for trunk/NEMO/OPA_SRC/SBC/sbcblk_core.F90 – NEMO

Ignore:
Timestamp:
2009-07-03T17:28:06+02:00 (15 years ago)
Author:
smasson
Message:

distribution of iom_put + cleaning of LIM2 outputs, see ticket:437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcblk_core.F90

    r1465 r1482  
    44   !! Ocean forcing:  momentum, heat and freshwater flux formulation 
    55   !!===================================================================== 
    6    !! History :  1.0   !  04-08  (U. Schweckendiek)  Original code 
    7    !!            2.0   !  05-04  (L. Brodeau, A.M. Treguier) additions:  
    8    !!                            -  new bulk routine for efficiency 
    9    !!                            -  WINDS ARE NOW ASSUMED TO BE AT T POINTS in input files !!!! 
    10    !!                            -  file names and file characteristics in namelist  
    11    !!                            -  Implement reading of 6-hourly fields    
    12    !!            3.0   !  06-06  (G. Madec) sbc rewritting 
     6   !! History :  1.0  !  2004-08  (U. Schweckendiek)  Original code 
     7   !!            2.0  !  2005-04  (L. Brodeau, A.M. Treguier) additions:  
     8   !!                           -  new bulk routine for efficiency 
     9   !!                           -  WINDS ARE NOW ASSUMED TO BE AT T POINTS in input files !!!! 
     10   !!                           -  file names and file characteristics in namelist  
     11   !!                           -  Implement reading of 6-hourly fields    
     12   !!            3.0  !  2006-06  (G. Madec) sbc rewritting    
     13   !!            3.2  !  2009-04  (B. Lemaire)  Introduce iom_put 
    1314   !!---------------------------------------------------------------------- 
    1415 
     
    6869#  include "vectopt_loop_substitute.h90" 
    6970   !!---------------------------------------------------------------------- 
    70    !!   OPA 9.0 , LOCEAN-IPSL (2006)  
     71   !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009)  
    7172   !! $Id$ 
    7273   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     
    190191      !!              - qns     : Non Solar heat flux over the ocean    (W/m2) 
    191192      !!              - evap    : Evaporation over the ocean            (kg/m2/s) 
    192       !!              - tprecip : Total precipitation                   (Kg/m2/s) 
    193       !!              - sprecip : Solid precipitation                   (Kg/m2/s) 
     193      !!              - emp(s)  : evaporation minus precipitation       (kg/m2/s) 
    194194      !! 
    195195      !!  ** Nota  :   sf has to be a dummy argument for AGRIF on NEC 
     
    329329      emp (:,:) = zevap(:,:) - sf(jp_prec)%fnow(:,:) * alpha_precip * tmask(:,:,1) 
    330330!CDIR COLLAPSE 
    331       emps(:,:) = zevap(:,:) - sf(jp_prec)%fnow(:,:) * alpha_precip * tmask(:,:,1) 
     331      emps(:,:) = emp(:,:) 
     332      ! 
     333      CALL iom_put( "qlw_oce",   zqlw )                 ! output downward longwave heat over the ocean 
     334      CALL iom_put( "qsb_oce", - zqsb )                 ! output downward sensible heat over the ocean 
     335      CALL iom_put( "qla_oce", - zqla )                 ! output downward latent   heat over the ocean 
     336      CALL iom_put( "qns_oce",   qns  )                 ! output downward non solar heat over the ocean 
     337      ! 
     338      IF(ln_ctl) THEN 
     339         CALL prt_ctl(tab2d_1=zqsb , clinfo1=' blk_oce_core: zqsb   : ', tab2d_2=zqlw , clinfo2=' zqlw  : ') 
     340         CALL prt_ctl(tab2d_1=zqla , clinfo1=' blk_oce_core: zqla   : ', tab2d_2=qsr  , clinfo2=' qsr   : ') 
     341         CALL prt_ctl(tab2d_1=pst  , clinfo1=' blk_oce_core: pst    : ', tab2d_2=emp  , clinfo2=' emp   : ') 
     342         CALL prt_ctl(tab2d_1=utau , clinfo1=' blk_oce_core: utau   : ', mask1=umask,   & 
     343            &         tab2d_2=vtau , clinfo2=              ' vtau  : ' , mask2=vmask ) 
     344      ENDIF 
    332345      ! 
    333346   END SUBROUTINE blk_oce_core 
     
    377390      REAL(wp) ::             zwndi_t , zwndj_t                  ! relative wind components at T-point 
    378391      REAL(wp), DIMENSION(jpi,jpj) ::   z_wnds_t                 ! wind speed ( = | U10m - U_ice | ) at T-point 
    379       REAL(wp), DIMENSION(jpi,jpj,pdim) ::   z_qlw                ! long wave heat flux over ice 
    380       REAL(wp), DIMENSION(jpi,jpj,pdim) ::   z_qsb                ! sensible  heat flux over ice 
    381       REAL(wp), DIMENSION(jpi,jpj,pdim) ::   z_dqlw               ! sensible  heat flux over ice 
    382       REAL(wp), DIMENSION(jpi,jpj,pdim) ::   z_dqsb               ! sensible  heat flux over ice 
     392      REAL(wp), DIMENSION(jpi,jpj,pdim) ::   z_qlw               ! long wave heat flux over ice 
     393      REAL(wp), DIMENSION(jpi,jpj,pdim) ::   z_qsb               ! sensible  heat flux over ice 
     394      REAL(wp), DIMENSION(jpi,jpj,pdim) ::   z_dqlw              ! long wave heat sensitivity over ice 
     395      REAL(wp), DIMENSION(jpi,jpj,pdim) ::   z_dqsb              ! sensible  heat sensitivity over ice 
    383396      !!--------------------------------------------------------------------- 
    384397 
     
    523536!CDIR COLLAPSE 
    524537      p_spr(:,:) = sf(jp_snow)%fnow(:,:) * alpha_precip      ! solid precipitation [kg/m2/s] 
     538      CALL iom_put( 'snowpre', p_spr )                       ! Snow precipitation  
    525539      ! 
    526540      IF(ln_ctl) THEN 
     
    680694      !!   9.0  !  06-12  (L. Brodeau) Original code for 2Z 
    681695      !!---------------------------------------------------------------------- 
    682       !! * Arguments 
    683696      REAL(wp), INTENT(in)   :: & 
    684697         zt,      &     ! height for T_zt and q_zt                   [m] 
Note: See TracChangeset for help on using the changeset viewer.