Changeset 353 for LMDZ.3.3/branches/rel-LF/libf/bibio
- Timestamp:
- Mar 21, 2002, 4:09:32 PM (23 years ago)
- Location:
- LMDZ.3.3/branches/rel-LF/libf/bibio
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/bibio/initdynav.F
r350 r353 1 c 2 c $Header$ 3 c 1 4 subroutine initdynav(infile,day0,anne0,tstep,t_ops,t_wrt 2 5 . ,nq,fileid) -
LMDZ.3.3/branches/rel-LF/libf/bibio/initfluxsto.F
r177 r353 66 66 integer uhoriid, vhoriid, thoriid, zvertiid,dhoriid,dvertiid 67 67 integer ii,jj 68 integer zan 68 integer zan, idayref 69 69 logical ok_sync 70 70 C … … 79 79 C 80 80 81 zan = anne _ini82 CALL ymds2ju(zan, 1, 1, 0.0, zjulian)83 zjulian = zjulian + day_ini84 tau0 = 081 zan = annee_ref 82 idayref = day_ref 83 CALL ymds2ju(zan, 1, idayref, 0.0, zjulian) 84 tau0 = itau_dyn 85 85 86 86 do jj = 1, jjp1 … … 91 91 enddo 92 92 93 call histbeg(infile, iip1, rlong , jjp1, rlat,93 call histbeg(infile, iip1, rlong(:,1), jjp1, rlat(1,:), 94 94 . 1, iip1, 1, jjp1, 95 95 . tau0, zjulian, tstep, uhoriid, fileid) … … 107 107 enddo 108 108 109 call histbeg('fluxstokev.nc', iip1, rlong , jjm, rlat,109 call histbeg('fluxstokev.nc', iip1, rlong(:,1), jjm, rlat(1,:), 110 110 . 1, iip1, 1, jjm, 111 111 . tau0, zjulian, tstep, vhoriid, filevid) -
LMDZ.3.3/branches/rel-LF/libf/bibio/inithist.F
r177 r353 64 64 integer uhoriid, vhoriid, thoriid, zvertiid 65 65 integer ii,jj 66 integer zan 66 integer zan, dayref 67 67 C 68 68 C Initialisations … … 76 76 77 77 zan = anne0 78 CALL ymds2ju(zan, 1, 1, 0.0, zjulian)79 zjulian = zjulian + day080 tau0 = 078 dayref = day0 79 CALL ymds2ju(zan, 1, dayref, 0.0, zjulian) 80 tau0 = itau_dyn 81 81 82 82 do jj = 1, jjp1 … … 87 87 enddo 88 88 89 call histbeg(infile, iip1, rlong , jjp1, rlat,89 call histbeg(infile, iip1, rlong(:,1), jjp1, rlat(1,:), 90 90 . 1, iip1, 1, jjp1, 91 91 . tau0, zjulian, tstep, uhoriid, fileid) … … 102 102 enddo 103 103 104 call histbeg('dyn_histv.nc', iip1, rlong , jjm, rlat,104 call histbeg('dyn_histv.nc', iip1, rlong(:,1), jjm, rlat(1,:), 105 105 . 1, iip1, 1, jjm, 106 106 . tau0, zjulian, tstep, vhoriid, filevid) -
LMDZ.3.3/branches/rel-LF/libf/bibio/writedynav.F
r295 r353 64 64 REAL vnat(ip1jm,llm),unat(ip1jmp1,llm) 65 65 logical ok_sync 66 integer itau_w 66 67 C 67 68 C Initialisations … … 76 77 vnat = 999.999 77 78 unat = 999.999 79 itau_w = itau_dyn + time 78 80 79 81 C Passage aux composantes naturelles du vent … … 86 88 C 87 89 call gr_u_scal(llm, unat, us) 88 call histwrite(histid, 'u', time, us,90 call histwrite(histid, 'u', itau_w, us, 89 91 . iip1*jjp1*llm, ndex3d) 90 92 C … … 92 94 C 93 95 call gr_v_scal(llm, vnat, vs) 94 call histwrite(histid, 'v', time, vs,96 call histwrite(histid, 'v', itau_w, vs, 95 97 . iip1*jjp1*llm, ndex3d) 96 98 C 97 99 C Temperature potentielle moyennee 98 100 C 99 call histwrite(histid, 'theta', time, teta,101 call histwrite(histid, 'theta', itau_w, teta, 100 102 . iip1*jjp1*llm, ndex3d) 101 103 C … … 105 107 tm(ii) = teta(ii) * ppk(ii)/cpp 106 108 enddo 107 call histwrite(histid, 'temp', time, tm,109 call histwrite(histid, 'temp', itau_w, tm, 108 110 . iip1*jjp1*llm, ndex3d) 109 111 C 110 112 C Geopotentiel 111 113 C 112 call histwrite(histid, 'phi', time, phi,114 call histwrite(histid, 'phi', itau_w, phi, 113 115 . iip1*jjp1*llm, ndex3d) 114 116 C … … 122 124 WRITE(str(2:3),'(i2.2)') iq 123 125 ENDIF 124 call histwrite(histid, str, time, q(:,:,iq),126 call histwrite(histid, str, itau_w, q(:,:,iq), 125 127 . iip1*jjp1*llm, ndex3d) 126 128 enddo … … 129 131 C Masse 130 132 C 131 call histwrite(histid, 'masse', time, masse, iip1*jjp1, ndex2d)133 call histwrite(histid, 'masse', itau_w, masse, iip1*jjp1, ndex2d) 132 134 C 133 135 C Pression au sol 134 136 C 135 call histwrite(histid, 'ps', time, ps, iip1*jjp1, ndex2d)137 call histwrite(histid, 'ps', itau_w, ps, iip1*jjp1, ndex2d) 136 138 C 137 139 C Geopotentiel au sol 138 140 C 139 call histwrite(histid, 'phis', time, phis, iip1*jjp1, ndex2d)141 call histwrite(histid, 'phis', itau_w, phis, iip1*jjp1, ndex2d) 140 142 C 141 143 C Fin -
LMDZ.3.3/branches/rel-LF/libf/bibio/writehist.F
r30 r353 63 63 character*3 str 64 64 logical ok_sync 65 integer itau_w 65 66 C 66 67 C Initialisations … … 71 72 ndex2d = 0 72 73 ok_sync =.TRUE. 74 itau_w = itau_dyn + time 73 75 C 74 76 C Appels a histwrite pour l'ecriture des variables a sauvegarder … … 76 78 C Vents U 77 79 C 78 call histwrite(histid, 'ucov', time, ucov,80 call histwrite(histid, 'ucov', itau_w, ucov, 79 81 . iip1*jjp1*llm, ndexu) 80 82 … … 82 84 C Vents V 83 85 C 84 call histwrite(histvid, 'vcov', time, vcov,86 call histwrite(histvid, 'vcov', itau_w, vcov, 85 87 . iip1*jjm*llm, ndexv) 86 88 … … 88 90 C Temperature potentielle 89 91 C 90 call histwrite(histid, 'teta', time, teta,92 call histwrite(histid, 'teta', itau_w, teta, 91 93 . iip1*jjp1*llm, ndexu) 92 94 C 93 95 C Geopotentiel 94 96 C 95 call histwrite(histid, 'phi', time, phi,97 call histwrite(histid, 'phi', itau_w, phi, 96 98 . iip1*jjp1*llm, ndexu) 97 99 C … … 105 107 WRITE(str(2:3),'(i2.2)') iq 106 108 ENDIF 107 call histwrite(histid, str, time, q(:,:,iq),109 call histwrite(histid, str, itau_w, q(:,:,iq), 108 110 . iip1*jjp1*llm, ndexu) 109 111 enddo … … 112 114 C Masse 113 115 C 114 call histwrite(histid, 'masse', time, masse, iip1*jjp1, ndex2d)116 call histwrite(histid, 'masse', itau_w, masse, iip1*jjp1, ndex2d) 115 117 C 116 118 C Pression au sol 117 119 C 118 call histwrite(histid, 'ps', time, ps, iip1*jjp1, ndex2d)120 call histwrite(histid, 'ps', itau_w, ps, iip1*jjp1, ndex2d) 119 121 C 120 122 C Geopotentiel au sol 121 123 C 122 call histwrite(histid, 'phis', time, phis, iip1*jjp1, ndex2d)124 call histwrite(histid, 'phis', itau_w, phis, iip1*jjp1, ndex2d) 123 125 C 124 126 C Fin -
LMDZ.3.3/branches/rel-LF/libf/bibio/writephys.F90
r284 r353 93 93 real, dimension(llm) :: zlev 94 94 real :: date0, dtime 95 integer :: itau_deb 95 96 ! 96 97 ! Variables locales … … 121 122 ! Initialisation du fichier 122 123 ! 123 call histbeg(nom_fichier, iim, temp_lon , jjm, temp_lat, &124 & 1, iim, 1, jjm, 0, date0, dtime, &124 call histbeg(nom_fichier, iim, temp_lon(:,1), jjm, temp_lat(1,:), & 125 & 1, iim, 1, jjm, itau_deb, date0, dtime, & 125 126 & nhori, file_id) 126 127 call histvert(file_id, "presnivs", "Vertical levels", "mb", &
Note: See TracChangeset
for help on using the changeset viewer.