source: trunk/SOURCES/Ant40_files/massbal-anteis-0.2.f @ 93

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

initial import GRISLI trunk

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