/[MITgcm]/MITgcm/pkg/land/land_albedo.F
ViewVC logotype

Contents of /MITgcm/pkg/land/land_albedo.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Wed Jan 31 23:02:06 2007 UTC (17 years, 3 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint58w_post, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint58x_post, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, checkpoint58v_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y, HEAD
Changes since 1.1: +9 -5 lines
Making snow albedo model similar to that used in thsice

1 C $Header: /u/gcmpack/MITgcm/pkg/land/land_albedo.F,v 1.1 2004/03/11 14:41:59 jmc Exp $
2 C $Name: $
3
4 #include "LAND_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: LAND_DIAGNOSTICS
8 C !INTERFACE:
9 SUBROUTINE LAND_ALBEDO(
10 I land_frc, grnd_alb,
11 O alb_land,
12 I bi,bj, myTime, myIter, myThid )
13
14 C !DESCRIPTION: \bv
15 C *==========================================================*
16 C | S/R LAND_ALBEDO
17 C | o Calculate snow albedo over land
18 C *==========================================================*
19 C \ev
20
21 C !USES:
22 IMPLICIT NONE
23
24 C == Global variables ===
25 C-- size for MITgcm & Land package :
26 #include "LAND_SIZE.h"
27
28 #include "EEPARAMS.h"
29 #include "PARAMS.h"
30 #include "LAND_PARAMS.h"
31 #include "LAND_VARS.h"
32
33 C !INPUT/OUTPUT PARAMETERS:
34 C == Routine arguments ==
35 C land_frc :: land fraction [0-1]
36 C grnd_alb :: ground albedo [0-1]
37 C alb_land :: albedo of land (including snow effect) [0-1]
38 C bi,bj :: Tile index
39 C myTime :: Current time of simulation ( s )
40 C myIter :: Current iteration number in simulation
41 C myThid :: Number of this instance of the routine
42 _RS land_frc(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
43 _RS grnd_alb(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
44 _RL alb_land(sNx,sNy)
45 INTEGER bi, bj, myIter, myThid
46 _RL myTime
47 CEOP
48
49 #ifdef ALLOW_LAND
50
51 C == Local Variables ==
52 C i,j :: Loop counters
53 C albSnow :: albedo of snow
54 C ageSnow :: age of snow [days]
55 INTEGER i,j
56 _RL albSnow, ageSnow, hSnow, Tsf
57
58 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
59 C- Compute albedo of snow and then albedo of land.
60
61 DO j=1,sNy
62 DO i=1,sNx
63 alb_land(i,j) = grnd_alb(i,j,bi,bj)
64 IF ( land_frc(i,j,bi,bj).GT.0. ) THEN
65 Tsf = land_skinT(i,j,bi,bj)
66 C snow age (units = days):
67 ageSnow = land_snowAge(i,j,bi,bj)/86400. _d 0
68 hSnow = land_hSnow(i,j,bi,bj)
69
70 C--------------------------------------------
71 C--- taken from thsice/thsice_albedo.F :
72 C- New snow: (linear) transition between tempSnowAlbL (oC) and 0.oC
73 C from cold/dry snow albedo to warm/wet snow albedo
74 IF ( tempSnowAlbL.LT.0. _d 0 ) THEN
75 albSnow = albColdSnow
76 & + (albWarmSnow - albColdSnow)
77 & *MAX( 0. _d 0, MIN(1. _d 0 - Tsf/tempSnowAlbL, 1. _d 0) )
78 ELSE
79 albSnow = albColdSnow
80 ENDIF
81 C- albedo of snow is function of snow-age
82 albSnow = albOldSnow
83 & +(albSnow-albOldSnow)*exp(-0.2 _d 0*ageSnow)
84
85 C- layer of snow over the ground:
86 alb_land(i,j) = albSnow
87 & +(alb_land(i,j)-albSnow)*exp(-hSnow/hAlbSnow)
88 C--------------------------------------------
89 ENDIF
90 ENDDO
91 ENDDO
92
93 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
94
95 #endif /* ALLOW_LAND */
96
97 RETURN
98 END

  ViewVC Help
Powered by ViewVC 1.1.22