[1351] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
[1374] | 4 | IF (ok_histNMC(2)) THEN |
---|
[1351] | 5 | c |
---|
| 6 | ndex3d = 0 |
---|
[1665] | 7 | itau_w = itau_phy + itap + start_time * day_step / iphysiq |
---|
[1351] | 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 |
---|
[1539] | 17 | CALL histwrite_phy(nid_daynmc,lNMC,"tnondef",itau_w, |
---|
| 18 | $tnondef(:,:,2)) |
---|
| 19 | CALL histwrite_phy(nid_daynmc,lNMC,"ta",itau_w, |
---|
| 20 | $twriteSTD(:,:,2)) |
---|
| 21 | CALL histwrite_phy(nid_daynmc,lNMC,"zg",itau_w, |
---|
| 22 | $phiwriteSTD(:,:,2)) |
---|
| 23 | CALL histwrite_phy(nid_daynmc,lNMC,"hus",itau_w, |
---|
| 24 | $qwriteSTD(:,:,2)) |
---|
| 25 | CALL histwrite_phy(nid_daynmc,lNMC,"hur",itau_w, |
---|
| 26 | $rhwriteSTD(:,:,2)) |
---|
| 27 | CALL histwrite_phy(nid_daynmc,lNMC,"ua",itau_w, |
---|
| 28 | $uwriteSTD(:,:,2)) |
---|
| 29 | CALL histwrite_phy(nid_daynmc,lNMC,"va",itau_w, |
---|
| 30 | $vwriteSTD(:,:,2)) |
---|
| 31 | CALL histwrite_phy(nid_daynmc,lNMC,"wap",itau_w, |
---|
| 32 | $wwriteSTD(:,:,2)) |
---|
[1351] | 33 | ELSE IF(lev_histdayNMC.EQ.nlevSTD8) THEN |
---|
[1539] | 34 | CALL histwrite_phy(nid_daynmc,lNMC,"tnondef",itau_w, |
---|
| 35 | $tnondefSTD8) |
---|
| 36 | CALL histwrite_phy(nid_daynmc,lNMC,"ta",itau_w, |
---|
| 37 | $twriteSTD8) |
---|
| 38 | CALL histwrite_phy(nid_daynmc,lNMC,"zg",itau_w, |
---|
| 39 | $phiwriteSTD8) |
---|
| 40 | CALL histwrite_phy(nid_daynmc,lNMC,"hus",itau_w, |
---|
| 41 | $qwriteSTD8) |
---|
| 42 | CALL histwrite_phy(nid_daynmc,lNMC,"hur",itau_w, |
---|
| 43 | $rhwriteSTD8) |
---|
| 44 | CALL histwrite_phy(nid_daynmc,lNMC,"ua",itau_w, |
---|
| 45 | $uwriteSTD8) |
---|
| 46 | CALL histwrite_phy(nid_daynmc,lNMC,"va",itau_w, |
---|
| 47 | $vwriteSTD8) |
---|
| 48 | CALL histwrite_phy(nid_daynmc,lNMC,"wap",itau_w, |
---|
| 49 | $wwriteSTD8) |
---|
[1351] | 50 | ENDIF |
---|
| 51 | c |
---|
| 52 | if (ok_sync) then |
---|
| 53 | c$OMP MASTER |
---|
| 54 | call histsync(nid_daynmc) |
---|
| 55 | c$OMP END MASTER |
---|
| 56 | endif |
---|
[1374] | 57 | c |
---|
| 58 | ENDIF ! (ok_histNMC(2)) THEN |
---|