Changeset 2655 for LMDZ5/trunk/libf


Ignore:
Timestamp:
Oct 10, 2016, 9:47:19 AM (8 years ago)
Author:
Ehouarn Millour
Message:

Correction in pbl_surface_mod to better account and set default values for ocean and sea ice when such new fractions are created.
NB: This correction changes test-bench results.
FC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/pbl_surface_mod.F90

    r2455 r2655  
    30953095                endif
    30963096                mfois(nsrf) = mfois(nsrf) + 1
     3097                ! F. Codron sensible default values for ocean and sea ice
     3098                IF (nsrf.EQ.is_oce) THEN
     3099                    tsurf(i,nsrf) = 271.35 ! Freezing sea water
     3100                    DO k=1,nsw
     3101                      alb_dir(i,k,nsrf) = 0.06 ! typical Ocean albedo
     3102                      alb_dif(i,k,nsrf) = 0.06
     3103                    END DO
     3104                ELSE IF (nsrf.EQ.is_sic) THEN
     3105                    tsurf(i,nsrf) = 273.15 ! Melting ice
     3106                    DO k=1,nsw
     3107                      alb_dir(i,k,nsrf) = 0.3 ! thin ice
     3108                      alb_dif(i,k,nsrf) = 0.3
     3109                    END DO
     3110                END IF
     3111                ! F. Codron
    30973112             ELSE
    30983113                ! The continents have changed. The new fraction receives the mean sum of the existent fractions
Note: See TracChangeset for help on using the changeset viewer.