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 5390 for branches/UKMO/dev_r5377_UKMO1_CICE_coupling_GSI7/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90 – NEMO

Ignore:
Timestamp:
2015-06-10T10:48:39+02:00 (9 years ago)
Author:
jamrae
Message:

Changes required for GSI7 in coupled configuration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5377_UKMO1_CICE_coupling_GSI7/NEMOGCM/NEMO/OPA_SRC/SBC/sbcice_cice.F90

    r5162 r5390  
    1616   USE domvvl 
    1717   USE eosbn2, only : eos_fzp ! Function to calculate freezing point of seawater 
    18    USE phycst, only : rcp, rau0, r1_rau0, rhosn, rhoic 
     18   USE phycst, only : rcp, rau0, r1_rau0, rhosn, rhoic, rt0 
    1919   USE in_out_manager  ! I/O manager 
    2020   USE iom, ONLY : iom_put,iom_use              ! I/O manager library !!Joakim edit 
     
    3939   USE ice_calendar, only: dt 
    4040# if defined key_cice4 
    41    USE ice_state, only: aice,aicen,uvel,vvel,vsno,vsnon,vice,vicen 
     41   USE ice_state, only: aice,aicen,uvel,vvel,vsno,vsnon,vice,vicen, & 
     42                        nt_Tsfc 
    4243   USE ice_flux, only: strax,stray,strocnx,strocny,frain,fsnow,  & 
    4344                sst,sss,uocn,vocn,ss_tltx,ss_tlty,fsalt_gbm,     & 
     
    4546                flatn_f,fsurfn_f,fcondtopn_f,                    & 
    4647                uatm,vatm,wind,fsw,flw,Tair,potT,Qa,rhoa,zlvl,   & 
    47                 swvdr,swvdf,swidr,swidf,Tf 
     48                swvdr,swvdf,swidr,swidf,Tf              !!!   & 
     49!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
     50!!! LINE BELOW COMMENTED OUT TEMPORARILY UNTIL CICE MULTILAYERS  !!! 
     51!!! BRANCH CAN BE INCLUDED AT CICE5.                             !!! 
     52!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
     53!!              ,keffn_top,Tn_top 
     54!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
     55!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  
     56 
    4857   USE ice_therm_vertical, only: calc_Tsfc 
    4958#else 
     
    5665                uatm,vatm,wind,fsw,flw,Tair,potT,Qa,rhoa,zlvl,   & 
    5766                swvdr,swvdf,swidr,swidf,Tf 
    58    USE ice_therm_shared, only: calc_Tsfc 
     67   USE ice_therm_shared, only: calc_Tsfc, heat_capacity 
    5968   USE ice_shortwave, only: apeffn 
    6069#endif 
     
    453462      CALL nemo2cice(sss_m,sss,'T', 1. ) 
    454463 
     464! Sea ice surface skin temperature 
     465      DO jpl=1,ncat 
     466        CALL nemo2cice(tsfc_ice(:,:,jpl), trcrn(:,:,nt_tsfc,jpl,:),'T',1.) 
     467      ENDDO  
     468 
    455469! x comp and y comp of surface ocean current 
    456470! U point to F point 
     
    727741      ENDDO 
    728742#endif 
     743 
     744 
     745! If using multilayers thermodynamics in CICE then get top layer temperature 
     746! and effective conductivity        
     747!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
     748!!!!! LINES COMMENTED OUT UNTIL CICE MULTILAYERS BRANCH IS IMPLEMENTED  
     749!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  
     750!!      IF (heat_capacity) THEN 
     751!!         DO jpl = 1,ncat 
     752!!            CALL cice2nemo(Tn_top(:,:,jpl,:),tn_ice(:,:,jpl),'T', 1. ) 
     753!!            CALL cice2nemo(keffn_top(:,:,jpl,:),kn_ice(:,:,jpl),'T', 1. ) 
     754!!         ENDDO 
     755!!! Convert surface temperature to Kelvin 
     756!!         tn_ice(:,:,:)=tn_ice(:,:,:)+rt0 
     757!!      ELSE 
     758!!         tn_ice(:,:,:) = 0.0 
     759!!         kn_ice(:,:,:) = 0.0 
     760!!      ENDIF        
     761!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
     762!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  
    729763 
    730764      ! 
Note: See TracChangeset for help on using the changeset viewer.