Changeset 29 for LMDZ.3.3/trunk/libf/bibio
- Timestamp:
- Jan 24, 2000, 1:07:41 PM (25 years ago)
- Location:
- LMDZ.3.3/trunk/libf/bibio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/trunk/libf/bibio/writedynav.F
r2 r29 58 58 C Variables locales 59 59 C 60 integer ndex (1),iq, ii, ll60 integer ndex2d(iip1*jjp1),ndex3d(iip1*jjp1*llm),iq, ii, ll 61 61 character*3 str 62 62 real us(ip1jmp1*llm), vs(ip1jmp1*llm) … … 68 68 C 69 69 str='q ' 70 ndex(1) = 0 70 ndex3d = 0 71 ndex2d = 0 71 72 ok_sync = .TRUE. 72 73 … … 81 82 call gr_u_scal(llm, unat, us) 82 83 call histwrite(histid, 'u', time, us, 83 . iip1*jjp1*llm, ndex )84 . iip1*jjp1*llm, ndex3d) 84 85 C 85 86 C Vents V scalaire … … 87 88 call gr_v_scal(llm, vnat, vs) 88 89 call histwrite(histid, 'v', time, vs, 89 . iip1*jjp1*llm, ndex )90 . iip1*jjp1*llm, ndex3d) 90 91 C 91 92 C Temperature moyennee … … 95 96 enddo 96 97 call histwrite(histid, 'temp', time, tm, 97 . iip1*jjp1*llm, ndex )98 . iip1*jjp1*llm, ndex3d) 98 99 C 99 100 C Geopotentiel 100 101 C 101 102 call histwrite(histid, 'phi', time, phi, 102 . iip1*jjp1*llm, ndex )103 . iip1*jjp1*llm, ndex3d) 103 104 C 104 105 C Traceurs … … 112 113 ENDIF 113 114 call histwrite(histid, str, time, q(:,:,iq), 114 . iip1*jjp1*llm, ndex )115 . iip1*jjp1*llm, ndex3d) 115 116 enddo 116 117 endif … … 118 119 C Masse 119 120 C 120 call histwrite(histid, 'masse', time, masse, iip1*jjp1, ndex )121 call histwrite(histid, 'masse', time, masse, iip1*jjp1, ndex2d) 121 122 C 122 123 C Pression au sol 123 124 C 124 call histwrite(histid, 'ps', time, ps, iip1*jjp1, ndex )125 call histwrite(histid, 'ps', time, ps, iip1*jjp1, ndex2d) 125 126 C 126 127 C Geopotentiel au sol 127 128 C 128 call histwrite(histid, 'phis', time, phis, iip1*jjp1, ndex )129 call histwrite(histid, 'phis', time, phis, iip1*jjp1, ndex2d) 129 130 C 130 131 C Fin 131 132 C 132 if (ok_sync) call histsync 133 if (ok_sync) call histsync(histid) 133 134 return 134 135 end -
LMDZ.3.3/trunk/libf/bibio/writehist.F
r2 r29 59 59 C Variables locales 60 60 C 61 integer ndex(1),iq, ii, ll 61 integer iq, ii, ll 62 integer ndexu(ip1jmp1,llm),ndexv(ip1jm,llm),ndex2d(ip1jmp1) 62 63 character*3 str 63 64 logical ok_sync … … 66 67 C 67 68 str='q ' 68 ndex(1) = 0 69 ndexu = 0 70 ndexv = 0 71 ndex2d = 0 69 72 ok_sync =.TRUE. 70 73 C … … 74 77 C 75 78 call histwrite(histid, 'ucov', time, ucov, 76 . iip1*jjp1*llm, ndex )79 . iip1*jjp1*llm, ndexu) 77 80 78 81 C … … 80 83 C 81 84 call histwrite(histvid, 'vcov', time, vcov, 82 . iip1*jjm*llm, ndex )85 . iip1*jjm*llm, ndexv) 83 86 84 87 C … … 86 89 C 87 90 call histwrite(histid, 'teta', time, teta, 88 . iip1*jjp1*llm, ndex )91 . iip1*jjp1*llm, ndexu) 89 92 C 90 93 C Geopotentiel 91 94 C 92 95 call histwrite(histid, 'phi', time, phi, 93 . iip1*jjp1*llm, ndex )96 . iip1*jjp1*llm, ndexu) 94 97 C 95 98 C Traceurs … … 103 106 ENDIF 104 107 call histwrite(histid, str, time, q(:,:,iq), 105 . iip1*jjp1*llm, ndex )108 . iip1*jjp1*llm, ndexu) 106 109 enddo 107 110 endif … … 109 112 C Masse 110 113 C 111 call histwrite(histid, 'masse', time, masse, iip1*jjp1, ndex )114 call histwrite(histid, 'masse', time, masse, iip1*jjp1, ndex2d) 112 115 C 113 116 C Pression au sol 114 117 C 115 call histwrite(histid, 'ps', time, ps, iip1*jjp1, ndex )118 call histwrite(histid, 'ps', time, ps, iip1*jjp1, ndex2d) 116 119 C 117 120 C Geopotentiel au sol 118 121 C 119 call histwrite(histid, 'phis', time, phis, iip1*jjp1, ndex )122 call histwrite(histid, 'phis', time, phis, iip1*jjp1, ndex2d) 120 123 C 121 124 C Fin 122 125 C 123 if (ok_sync) call histsync 126 if (ok_sync) then 127 call histsync(histid) 128 call histsync(histvid) 129 endif 124 130 return 125 131 end
Note: See TracChangeset
for help on using the changeset viewer.