source: trunk/SOURCES/Ant40_files/massb-ant_forcage-0.4.f @ 23

Last change on this file since 23 was 4, checked in by dumas, 10 years ago

initial import GRISLI trunk

File size: 2.8 KB
Line 
1!> \file massb-ant_forcage-0.4.f
2!! Calcule du bilan de masse avec forcage en temps anuelle
3!<
4
5!> SUBROUTINE:  MASSB_ANTEIS_FORCAGE ()
6!! \author Vincent
7!! \date  Juin 2004
8!! @note Cette routine calcul le bilan de masse avec forcage en temps anuelle
9!! @note copie de massbal-anteis-0.2.f (modif calcul TA)
10!! @note Used modules:
11!! @note    - use module3D_phy
12!! @note    - use CLIMAT_FORCAGE_MOD
13!<
14
15      subroutine MASSB_ANTEIS_FORCAGE ()
16c     subroutine Mass Balance eismint pour l'Antarctique
17
18       USE module3D_phy
19      USE CLIMAT_FORCAGE_MOD
20! Vincent juin2004 : copie de massbal-anteis-0.2.f (modif calcul TA )
21! Cette routine calcul le bilan de masse avec forcage en temp. annuelle
22! on utilise delTatime(i,j)
23      implicit none
24
25
26        INTEGER:: RETROAC
27
28        RETROAC=1
29
30
31         if (itracebug.eq.1)  call tracebug(
32     &         ' Antar: entree dans MASSB_ANTEIS_FORCAGE ')
33
34c     surface temperature et accumulation
35      do J=1,NY
36        do I=1,NX
37
38c       les quatres lignes suivantes sont pour la temperature parametree
39
40c             TANN(I,J)=34.46-0.00914*S(I,J)-0.68775*abs(YLAT(i,j))
41c             TANN(I,J)=TANN(I,J)+TAFOR
42c            TJULY(I,J)=16.81-0.00692*S(I,J)-0.27973*abs(YLAT(I,J))
43c             TJULY(I,J)=TJULY(I,J)+TAFOR
44
45c       Pour utiliser la carte de temperature, on utilise les
46c       gradients de la parametrisation et on garde la meme
47c       amplitude saisonniere
48c            TJULY=TANN+(16.81-34.46)-(0.00692-0.00914)S(I,J)
49c                      -(0.27973-0.68775)YLAT(I,J)
50c            TJULY=TANN-17.65+0.00222*S(I,J)+0.40802*Ylat(i,j)
51
52c       les lignes suivantes sont pour la temperature "carte"
53
54             if(RETROAC.eq.1) then
55! Modif pour temp avec forcage Vince juin 2004
56            Tann(i,j)=TA0(I,J)-0.00914*(S(i,j)-S0(I,J))+delTatime(i,j)
57                 TJULY(I,J)=TANN(I,J)-17.65+0.00222*S(I,J)
58     &                                 +0.40802*abs(YLAT(I,J))
59
60
61                  if (icouple.eq.2) then
62                   ACC(I,J)=1.5*2.**(Tann(I,J)/10.)
63                   else if (icouple.eq.4) then
64                   ACC(I,J)=PRECIP(I,J)*exp(0.070*(TANN(I,J)-TA0(I,J)))
65c                  ACC(I,J)=1.5*2.**(Tann(I,J)/10.)  ! test pour pref8
66                  endif
67
68           else if(RETROAC.eq.0) then
69                 Tann(i,j)=TA0(I,J)
70                 TJULY(I,J)=TANN(I,J)
71
72                  if (icouple.eq.2) then
73                ACC(I,J)=1.5*2.**(Tann(I,J)/10.)
74c                  ACC(I,J)=(Tann(I,J)/10.)
75                  else if (icouple.eq.4) then
76C                 ACC(I,J)=PRECIP(I,J)
77c                 ACC(I,J)=1.5*2.**(Tann(I,J)/10.)  ! test pour pref8
78                ACC(I,J)=PRECIP(I,J)*exp(0.070*(TANN(I,J)-TA0(I,J)))
79                  endif
80
81           endif
82
83        end do
84      end do
85
86c     ablation et bilan de masse
87c       call ablation()
88
89      return
90      end
Note: See TracBrowser for help on using the repository browser.