1 | !> \file lect-clim-act-eurasie_mod.f90 |
---|
2 | !!Module pour la lecture du climat |
---|
3 | !< |
---|
4 | |
---|
5 | !> \namespace lect_clim_act_eurasie |
---|
6 | !! Module pour la lecture du climat |
---|
7 | !! \author ... |
---|
8 | !! \date ... |
---|
9 | !! @note Used module |
---|
10 | !! @note - use module3D_phy |
---|
11 | !< |
---|
12 | |
---|
13 | module lect_clim_act_eurasie |
---|
14 | |
---|
15 | use module3D_phy |
---|
16 | |
---|
17 | character(len=100) :: file3 |
---|
18 | |
---|
19 | contains |
---|
20 | |
---|
21 | subroutine input_climat_ref |
---|
22 | |
---|
23 | if (geoplace(1:5).eq.'euras') then |
---|
24 | ! test sur geoplace car plusieurs resolutions (10, 20, 40) |
---|
25 | file3=TRIM(DIRNAMEINP)//'climat_'//geoplace//'.dat' |
---|
26 | else |
---|
27 | print*,'dans lect_clim_act_nord40 wrong geoplace :',geoplace |
---|
28 | endif |
---|
29 | |
---|
30 | write(42,*) 'climat de reference ',file3 |
---|
31 | |
---|
32 | ! lecture du fichier climat actuel |
---|
33 | ! -------------------------------- |
---|
34 | open (11,file=file3) |
---|
35 | read(11,*) |
---|
36 | read(11,*) |
---|
37 | read(11,*) |
---|
38 | do J=1,NY |
---|
39 | do I=1,NX |
---|
40 | read(11,*) MK(I,J),PRECIP0(I,J),TA0(I,J),TJ0(I,J) |
---|
41 | enddo |
---|
42 | enddo |
---|
43 | close(11) |
---|
44 | |
---|
45 | !---------------------------------------------- |
---|
46 | end subroutine input_climat_ref |
---|
47 | |
---|
48 | |
---|
49 | end module lect_clim_act_eurasie |
---|