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 878 for branches – NEMO

Changeset 878 for branches


Ignore:
Timestamp:
2008-04-04T14:53:06+02:00 (16 years ago)
Author:
ctlod
Message:

dev_001_SBC: clean and add freeze(:,:) & tn_ice(:,:) update, see ticket:#103

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_001_SBC/NEMO/LIM_SRC/limsbc.F90

    r872 r878  
    152152               !                                                   !  ice-covered fraction: 
    153153 
    154 !!gm old    zemp = + evap(ji,jj) * frld(ji,jj)                 &   !  evaporation over oceanic fraction 
    155 !!gm old       &   - tprecip(ji,jj)                            &   !  total precipitation 
    156 !!gm old       &   + sprecip(ji,jj) * ( 1. - pfrld(ji,jj) )    &   !  remov. snow precip over ice (store over sea-ice) 
    157 !!gm old       &   + rdmsnif(ji,jj) / rdt_ice                      !  freshwaterflux due to snow melting  
    158              
    159154            !  computing salt exchanges at the ice/ocean interface 
    160155            zfons =  ( soce - sice ) * ( rdmicif(ji,jj) / rdt_ice )  
    161156             
    162157            !  converting the salt flux from ice to a freshwater flux from ocean 
    163 !!gm old    zfm  = zfons / ( sss_io(ji,jj) + epsi16 ) 
    164158            zfm  = zfons / ( sss_m(ji,jj) + epsi16 ) 
    165159             
     
    185179            DO ji = 1, jpi 
    186180               ! ... change the cosinus angle sign in the south hemisphere 
    187 !!              zsang  = SIGN(1.e0, gphif(ji-1,jj-1) ) * sangvg    ! do the full loop and avoid lbc_lnk 
    188181               zsang  = SIGN(1.e0, gphif(ji,jj) ) * sangvg 
    189182               ! ... ice velocity relative to the ocean 
     
    219212      ENDIF 
    220213 
     214      !-----------------------------------------------! 
     215      !   Storing the transmitted variables           ! 
     216      !-----------------------------------------------! 
     217 
     218      freeze(:,:) = 1.0 - frld(:,:)       ! Sea ice cover             
     219      tn_ice(:,:) = sist(:,:)             ! Ice surface temperature                       
     220 
    221221#if defined key_coupled             
    222222      !------------------------------------------------! 
     
    234234 
    235235      IF(ln_ctl) THEN 
    236          CALL prt_ctl(tab2d_1=qsr , clinfo1=' lim_sbc: qsr  : ', tab2d_2=qns , clinfo2=' qns  : ') 
    237          CALL prt_ctl(tab2d_1=emp , clinfo1=' lim_sbc: emp  : ', tab2d_2=emps, clinfo2=' emps : ') 
    238          CALL prt_ctl(tab2d_1=utau, clinfo1=' lim_sbc: utau : ', tab2d_2=vtau, clinfo2=' vtau : ') 
    239 !!gm tn_ice ???  what is it now? 
    240 !!gm     CALL prt_ctl(tab2d_1=freeze, clinfo1=' lim_sbc: freeze : ', tab2d_2=tn_ice , clinfo2=' tn_ice  : ') 
     236         CALL prt_ctl(tab2d_1=qsr   , clinfo1=' lim_sbc: qsr    : ', tab2d_2=qns   , clinfo2=' qns     : ') 
     237         CALL prt_ctl(tab2d_1=emp   , clinfo1=' lim_sbc: emp    : ', tab2d_2=emps  , clinfo2=' emps    : ') 
     238         CALL prt_ctl(tab2d_1=utau  , clinfo1=' lim_sbc: utau   : ', mask1=umask,   & 
     239            &         tab2d_2=vtau  , clinfo2=' vtau    : '        , mask2=vmask ) 
     240         CALL prt_ctl(tab2d_1=freeze, clinfo1=' lim_sbc: freeze : ', tab2d_2=tn_ice, clinfo2=' tn_ice  : ') 
    241241      ENDIF  
    242242    
Note: See TracChangeset for help on using the changeset viewer.