[1351] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
[1374] | 4 | IF (ok_histNMC(2)) THEN |
---|
[1351] | 5 | c |
---|
| 6 | ndex3d = 0 |
---|
| 7 | itau_w = itau_phy + itap |
---|
| 8 | ccc |
---|
| 9 | c Champs interpolles sur des niveaux de pression du NMC |
---|
| 10 | c |
---|
| 11 | c PARAMETER(nout=3) |
---|
| 12 | c nout=1 : in=pdtphys, out=mth |
---|
| 13 | c nout=2 : in=pdtphys, out=day |
---|
| 14 | c nout=3 : in=pdtphys, out=hf |
---|
| 15 | ccc |
---|
| 16 | IF(lev_histdayNMC.EQ.nlevSTD) THEN |
---|
| 17 | CALL histwrite_phy(nid_daynmc,"tnondef",itau_w,tnondef(:,:,2)) |
---|
| 18 | CALL histwrite_phy(nid_daynmc,"ta",itau_w,twriteSTD(:,:,2)) |
---|
| 19 | CALL histwrite_phy(nid_daynmc,"zg",itau_w,phiwriteSTD(:,:,2)) |
---|
| 20 | CALL histwrite_phy(nid_daynmc,"hus",itau_w,qwriteSTD(:,:,2)) |
---|
| 21 | CALL histwrite_phy(nid_daynmc,"hur",itau_w,rhwriteSTD(:,:,2)) |
---|
| 22 | CALL histwrite_phy(nid_daynmc,"ua",itau_w,uwriteSTD(:,:,2)) |
---|
| 23 | CALL histwrite_phy(nid_daynmc,"va",itau_w,vwriteSTD(:,:,2)) |
---|
| 24 | CALL histwrite_phy(nid_daynmc,"wap",itau_w,wwriteSTD(:,:,2)) |
---|
| 25 | ELSE IF(lev_histdayNMC.EQ.nlevSTD8) THEN |
---|
| 26 | CALL histwrite_phy(nid_daynmc,"tnondef",itau_w,tnondefSTD8) |
---|
| 27 | CALL histwrite_phy(nid_daynmc,"ta",itau_w,twriteSTD8) |
---|
| 28 | CALL histwrite_phy(nid_daynmc,"zg",itau_w,phiwriteSTD8) |
---|
| 29 | CALL histwrite_phy(nid_daynmc,"hus",itau_w,qwriteSTD8) |
---|
| 30 | CALL histwrite_phy(nid_daynmc,"hur",itau_w,rhwriteSTD8) |
---|
| 31 | CALL histwrite_phy(nid_daynmc,"ua",itau_w,uwriteSTD8) |
---|
| 32 | CALL histwrite_phy(nid_daynmc,"va",itau_w,vwriteSTD8) |
---|
| 33 | CALL histwrite_phy(nid_daynmc,"wap",itau_w,wwriteSTD8) |
---|
| 34 | ENDIF |
---|
| 35 | c |
---|
| 36 | if (ok_sync) then |
---|
| 37 | c$OMP MASTER |
---|
| 38 | call histsync(nid_daynmc) |
---|
| 39 | c$OMP END MASTER |
---|
| 40 | endif |
---|
[1374] | 41 | c |
---|
| 42 | ENDIF ! (ok_histNMC(2)) THEN |
---|