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 13043 – NEMO

Changeset 13043


Ignore:
Timestamp:
2020-06-04T13:07:22+02:00 (4 years ago)
Author:
dancopsey
Message:

Remove outer IF test that tests for snow thicknesses greater than 0.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.1_snow_frac_cpl/src/ICE/icethd_zdf_bl99.F90

    r11715 r13043  
    839839      ! effective conductivity and 1st layer temperature (needed by Met Office) 
    840840      DO ji = 1, npti 
    841          IF( h_s_1d(ji) > 0.1_wp ) THEN  
    842             cnd_ice_1d(ji) = 2._wp * zkappa_s(ji,0) 
     841         IF( h_i_1d(ji) > 0.1_wp ) THEN 
     842            cnd_ice_1d(ji) = 2._wp * zkappa_i(ji,0) 
    843843         ELSE 
    844             IF( h_i_1d(ji) > 0.1_wp ) THEN 
    845                cnd_ice_1d(ji) = 2._wp * zkappa_i(ji,0) 
    846             ELSE 
    847                cnd_ice_1d(ji) = 2._wp * ztcond_i(ji,0) * 10._wp 
    848             ENDIF 
     844            cnd_ice_1d(ji) = 2._wp * ztcond_i(ji,0) * 10._wp 
    849845         ENDIF 
    850846         t1_ice_1d(ji) = isnow(ji) * t_s_1d(ji,1) + ( 1._wp - isnow(ji) ) * t_i_1d(ji,1) 
Note: See TracChangeset for help on using the changeset viewer.