Ignore:
Timestamp:
Dec 18, 2015, 8:27:39 PM (8 years ago)
Author:
oboucher
Message:

limiting iflag_rrtm=0 to NSW=2 case (NSW=4 and 6 were possible with slightly different averaging procedures)
limiting iflag_rrtm choices to 0 and 1
limiting iflag_albedo choices to 0 and 1
cleaning up surface ocean albedo parametrisations
fmagic and pmagic corrections are now done in surf_ocean_albedo.F90
fmagic and pmagic corrections also possible for iflag_rrtm=1 now

File:
1 edited

Legend:

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

    r2405 r2413  
    175175
    176176!******************************************************************************
    177 ! Calculate albedo
     177! Calculate ocean surface albedo
    178178!******************************************************************************
    179179!albedo SB >>>
    180   if(iflag_albedo==1)then
    181     call ocean_albedo(knon,rmu0,knindex,windsp,SFRWL,alb_dir_new,alb_dif_new)
    182   else
     180IF (iflag_albedo==0) THEN
     181!--old parametrizations of ocean surface albedo
     182!
    183183    IF (cycle_diurne) THEN
     184!
    184185       CALL alboc_cd(rmu0,alb_eau)
     186!
     187!--ad-hoc correction for model radiative balance tuning
     188!--now outside alboc_cd routine
     189       alb_eau(:) = fmagic*alb_eau(:) + pmagic
     190       alb_eau=MIN(MAX(alb_eau,0.0),1.0)
     191!
    185192    ELSE
     193!
    186194       CALL alboc(REAL(jour),rlat,alb_eau)
     195!--ad-hoc correction for model radiative balance tuning
     196!--now outside alboc routine
     197       alb_eau(:) = fmagic*alb_eau(:) + pmagic
     198       alb_eau=MIN(MAX(alb_eau(i),0.04),0.60)
     199!
    187200    ENDIF
    188 
     201!
    189202    DO i =1, knon
    190       do  k=1,nsw
     203      DO  k=1,nsw
    191204       alb_dir_new(i,k) = alb_eau(knindex(i))
    192       enddo
     205      ENDDO
    193206    ENDDO
    194 !IM 09122015 beg
    195 !IM next line corresponds to Sunghye Baek change that she made when she added new ocean albedo
    196 !    alb_dif_new=0.05 !alb_dir_new
    197 !IM next line corresponds to the old values of LMDZ5A/IPSLCM5A versions
     207!IM 09122015 next line corresponds to the old way of doing in LMDZ5A/IPSLCM5A versions
     208!albedo for diffuse radiation is taken the same as for direct radiation
    198209     alb_dif_new=alb_dir_new
    199210!IM 09122015 end
    200 endif
    201 
     211!
     212ELSE IF (iflag_albedo==1) THEN
     213!--new parametrization of ocean surface albedo by Sunghye Baek
     214!--albedo for direct and diffuse radiation are different
     215!
     216    CALL ocean_albedo(knon,rmu0,knindex,windsp,SFRWL,alb_dir_new,alb_dif_new)
     217!
     218!--ad-hoc correction for model radiative balance tuning
     219    alb_dir_new(:,:) = fmagic*alb_dir_new(:,:) + pmagic
     220    alb_dir_new=MIN(MAX(alb_dir_new,0.0),1.0)
     221    alb_dif_new=MIN(MAX(alb_dif_new,0.0),1.0)
     222!
     223ENDIF
    202224!albedo SB <<<
    203225
Note: See TracChangeset for help on using the changeset viewer.