1 | ! |
---|
2 | ! $Header$ |
---|
3 | ! |
---|
4 | IF (ok_isccp) THEN |
---|
5 | c |
---|
6 | ndex2d = 0 |
---|
7 | ndex3d = 0 |
---|
8 | c |
---|
9 | itau_w = itau_phy + itap |
---|
10 | c |
---|
11 | IF(type_run.EQ."ENSP".OR.type_run.EQ."CLIM") THEN |
---|
12 | c |
---|
13 | DO k=1,kmaxm1 |
---|
14 | zx_tmp_fi3d(1:klon, 1:lmaxm1)=fq_isccp(1:klon,k,1:lmaxm1)*100. |
---|
15 | CALL gr_fi_ecrit(lmaxm1,klon,iim,jjmp1,zx_tmp_fi3d, |
---|
16 | . zx_tmp_3d) |
---|
17 | c |
---|
18 | cIM: champ 3d : (lon,lat,pres) pour un tau fixe |
---|
19 | c |
---|
20 | CALL histwrite(nid_isccp,"cldISCCP_"//taulev(k),itau_w, |
---|
21 | . zx_tmp_3d,iim*jjmp1*lmaxm1,ndex3d) |
---|
22 | ENDDO !k |
---|
23 | c |
---|
24 | CALL gr_fi_ecrit(1, klon,iim,jjmp1,nbsunlit(1,:),zx_tmp_2d) |
---|
25 | CALL histwrite(nid_isccp,"nsunlit",itau_w, |
---|
26 | . zx_tmp_2d,iim*jjmp1,ndex2d) |
---|
27 | c |
---|
28 | ELSE IF(type_run.EQ."AMIP".OR.type_run.EQ."CFMI") THEN |
---|
29 | c |
---|
30 | DO k=1, kmaxm1 |
---|
31 | DO l=1, lmaxm1 |
---|
32 | c |
---|
33 | zx_tmp_fi2d(1:klon)=fq_isccp(1:klon,k,l)*100. |
---|
34 | CALL gr_fi_ecrit(1,klon,iim,jjmp1,zx_tmp_fi2d, |
---|
35 | . zx_tmp_2d) |
---|
36 | c |
---|
37 | cIM: champ 2d : (lon,lat) pour un tau et une pc fixes |
---|
38 | c |
---|
39 | CALL histwrite(nid_isccp,pclev(l)//taulev(k),itau_w, |
---|
40 | . zx_tmp_2d,iim*jjmp1,ndex2d) |
---|
41 | ENDDO !l |
---|
42 | ENDDO !k |
---|
43 | c |
---|
44 | CALL gr_fi_ecrit(1, klon,iim,jjmp1,nbsunlit(1,:),zx_tmp_2d) |
---|
45 | CALL histwrite(nid_isccp,"nsunlit",itau_w, |
---|
46 | . zx_tmp_2d,iim*jjmp1,ndex2d) |
---|
47 | c |
---|
48 | ENDIF |
---|
49 | c |
---|
50 | if (ok_sync) then |
---|
51 | call histsync(nid_isccp) |
---|
52 | endif |
---|
53 | |
---|
54 | ENDIF !ok_isccp |
---|