/[lmdze]/trunk/phylmd/Interface_surf/albsno.f90
ViewVC logotype

Annotation of /trunk/phylmd/Interface_surf/albsno.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 305 - (hide annotations)
Tue Sep 11 11:08:38 2018 UTC (5 years, 8 months ago) by guez
Original Path: trunk/phylmd/Interface_surf/albsno.f
File size: 706 byte(s)
We want to keep the same variable names throughout procedures. In
pbl_surface, rain_fall and snow_fall were passed to clqh and became
precip_rain and precip_snow. Which name should we choose?
Precipitation normally refers to water in all phases. Rainfall and
snowfall seem to be more common names to distinguish liquid water and
snow. Cf. CF standard names. So change everywhere precip_rain to
rain_fall and precip_snow to snow_fall.

1 guez 3 module albsno_m
2    
3 guez 116 ! From phylmd/interface_surf.F90, version 1.8 2005/05/25 13:10:09
4 guez 3
5     IMPLICIT none
6    
7     contains
8    
9 guez 305 SUBROUTINE albsno(agesno, alb_neig, snow_fall)
10 guez 3
11 guez 299 use comconst, only: dtphys
12    
13 guez 174 REAL, intent(inout):: agesno(:) ! (knon)
14     real, intent(out):: alb_neig(:) ! (knon)
15 guez 305 real, intent(in):: snow_fall(:) !(knon)
16 guez 116
17     !------------------------------------------------------------------------
18    
19 guez 174 ! D\'esert partout:
20     alb_neig = 0.55 + 0.3 * EXP(- agesno / 5.)
21 guez 116
22 guez 174 ! Modulation en fonction de l'\^age de la neige :
23 guez 299 agesno = max((agesno + (1. - agesno / 50.) * dtphys / 86400.) &
24 guez 305 * EXP(- MAX(0., snow_fall) * dtphys / 0.3), 0.)
25 guez 116
26 guez 3 END SUBROUTINE albsno
27    
28     end module albsno_m

  ViewVC Help
Powered by ViewVC 1.1.21