Changeset 1577
- Timestamp:
- Oct 20, 2011, 5:06:47 PM (13 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/conf_gcm.F
r1563 r1577 155 155 nday = 10 156 156 CALL getin('nday',nday) 157 158 !Config Key = starttime 159 !Config Desc = Heure de depart de la simulation 160 !Config Def = 0 161 !Config Help = Heure de depart de la simulation 162 !Config en jour 163 starttime = 0 164 CALL getin('starttime',starttime) 157 165 158 166 !Config Key = day_step -
LMDZ5/trunk/libf/dyn3d/control_mod.F90
r1502 r1577 10 10 IMPLICIT NONE 11 11 12 REAL :: periodav 12 REAL :: periodav, starttime 13 13 INTEGER :: nday,day_step,iperiod,iapp_tracvl,nsplit_phys 14 14 INTEGER :: iconser,iecri,dissip_period,iphysiq,iecrimoy -
LMDZ5/trunk/libf/dyn3d/dynetat0.F
r1421 r1577 119 119 day_ini = tab_cntrl(30) 120 120 itau_dyn = tab_cntrl(31) 121 start_time = tab_cntrl(32) 121 122 c ................................................................. 122 123 c -
LMDZ5/trunk/libf/dyn3d/dynredem.F
r1563 r1577 120 120 tab_cntrl(30) = REAL(iday_end) 121 121 tab_cntrl(31) = REAL(itau_dyn + itaufin) 122 c start_time: start_time of simulation (not necessarily 0.) 123 tab_cntrl(32) = start_time 122 124 c 123 125 c ......................................................... -
LMDZ5/trunk/libf/dyn3d/gcm.F
r1563 r1577 305 305 C on remet le calendrier à zero si demande 306 306 c 307 IF (start_time /= starttime) then 308 WRITE(lunout,*)' GCM: Attention l''heure de depart lue dans le' 309 &,' fichier restart ne correspond pas à celle lue dans le run.def' 310 IF (raz_date == 1) then 311 WRITE(lunout,*)'Je prends l''heure lue dans run.def' 312 start_time = starttime 313 ELSE 314 WRITE(lunout,*)'Je m''arrete' 315 CALL abort 316 ENDIF 317 ENDIF 307 318 IF (raz_date == 1) THEN 308 319 annee_ref = anneeref -
LMDZ5/trunk/libf/dyn3d/leapfrog.F
r1529 r1577 224 224 1 CONTINUE 225 225 226 jD_cur = jD_ref + day_ini - day_ref + int (itau * dtvr / daysec) 227 jH_cur = jH_ref + & 226 jD_cur = jD_ref + day_ini - day_ref + & 227 & int (itau * dtvr / daysec) 228 jH_cur = jH_ref + start_time + & 228 229 & (itau * dtvr / daysec - int(itau * dtvr / daysec)) 230 jD_cur = jD_cur + int(jH_cur) 231 jH_cur = jH_cur - int(jH_cur) 229 232 230 233 … … 372 375 ! rdaym_ini = itau * dtvr / daysec 373 376 ! rdayvrai = rdaym_ini + day_ini 374 jD_cur = jD_ref + day_ini - day_ref 375 $ + int (itau * dtvr / daysec) 376 jH_cur = jH_ref + & 377 & (itau * dtvr / daysec - int(itau * dtvr / daysec)) 377 ! jD_cur = jD_ref + day_ini - day_ref 378 ! $ + int (itau * dtvr / daysec) 379 ! jH_cur = jH_ref + & 380 ! & (itau * dtvr / daysec - int(itau * dtvr / daysec)) 381 jD_cur = jD_ref + day_ini - day_ref + & 382 & int (itau * dtvr / daysec) 383 jH_cur = jH_ref + start_time + & 384 & (itau * dtvr / daysec - int(itau * dtvr / daysec)) 385 jD_cur = jD_cur + int(jH_cur) 386 jH_cur = jH_cur - int(jH_cur) 378 387 ! write(lunout,*)'itau, jD_cur = ', itau, jD_cur, jH_cur 379 388 ! call ju2ymds(jD_cur+jH_cur, an, mois, jour, secondes) … … 652 661 ! if (planet_type.eq."earth") then 653 662 ! Write an Earth-format restart file 654 CALL dynredem1("restart.nc", 0.0,663 CALL dynredem1("restart.nc",start_time, 655 664 & vcov,ucov,teta,q,masse,ps) 656 665 ! endif ! of if (planet_type.eq."earth") … … 763 772 IF(itau.EQ.itaufin) THEN 764 773 ! if (planet_type.eq."earth") then 765 CALL dynredem1("restart.nc", 0.0,774 CALL dynredem1("restart.nc",start_time, 766 775 & vcov,ucov,teta,q,masse,ps) 767 776 ! endif ! of if (planet_type.eq."earth") -
LMDZ5/trunk/libf/dyn3d/temps.h
r1279 r1577 14 14 15 15 COMMON/temps/itaufin, dt, day_ini, day_end, annee_ref, day_ref, & 16 & itau_dyn, itau_phy, jD_ref, jH_ref, calend 16 & itau_dyn, itau_phy, jD_ref, jH_ref, calend, & 17 & start_time 18 17 19 18 20 INTEGER itaufin 19 21 INTEGER itau_dyn, itau_phy 20 22 INTEGER day_ini, day_end, annee_ref, day_ref 21 REAL dt, jD_ref, jH_ref 23 REAL dt, jD_ref, jH_ref, start_time 22 24 CHARACTER (len=10) :: calend 23 25 -
LMDZ5/trunk/libf/dyn3dpar/conf_gcm.F
r1575 r1577 167 167 nday = 10 168 168 CALL getin('nday',nday) 169 170 !Config Key = starttime 171 !Config Desc = Heure de depart de la simulation 172 !Config Def = 0 173 !Config Help = Heure de depart de la simulation 174 !Config en jour 175 starttime = 0 176 CALL getin('starttime',starttime) 169 177 170 178 !Config Key = day_step -
LMDZ5/trunk/libf/dyn3dpar/control_mod.F90
r1502 r1577 10 10 IMPLICIT NONE 11 11 12 REAL :: periodav 12 REAL :: periodav, starttime 13 13 INTEGER :: nday,day_step,iperiod,iapp_tracvl,nsplit_phys 14 14 INTEGER :: iconser,iecri,dissip_period,iphysiq,iecrimoy -
LMDZ5/trunk/libf/dyn3dpar/dynetat0.F
r1421 r1577 119 119 day_ini = tab_cntrl(30) 120 120 itau_dyn = tab_cntrl(31) 121 start_time = tab_cntrl(32) 121 122 c ................................................................. 122 123 c -
LMDZ5/trunk/libf/dyn3dpar/dynredem.F
r1563 r1577 120 120 tab_cntrl(30) = REAL(iday_end) 121 121 tab_cntrl(31) = REAL(itau_dyn + itaufin) 122 c start_time: start_time of simulation (not necessarily 0.) 123 tab_cntrl(32) = start_time 122 124 c 123 125 c ......................................................... -
LMDZ5/trunk/libf/dyn3dpar/dynredem_p.F
r1563 r1577 120 120 tab_cntrl(30) = REAL(iday_end) 121 121 tab_cntrl(31) = REAL(itau_dyn + itaufin) 122 c start_time: start_time of simulation (not necessarily 0.) 123 tab_cntrl(32) = start_time 122 124 c 123 125 c ......................................................... -
LMDZ5/trunk/libf/dyn3dpar/gcm.F
r1563 r1577 323 323 C on remet le calendrier à zero si demande 324 324 c 325 IF (start_time /= starttime) then 326 WRITE(lunout,*)' GCM: Attention l''heure de depart lue dans le' 327 &,' fichier restart ne correspond pas à celle lue dans le run.def' 328 IF (raz_date == 1) then 329 WRITE(lunout,*)'Je prends l''heure lue dans run.def' 330 start_time = starttime 331 ELSE 332 WRITE(lunout,*)'Je m''arrete' 333 CALL abort 334 ENDIF 335 ENDIF 325 336 IF (raz_date == 1) THEN 326 337 annee_ref = anneeref -
LMDZ5/trunk/libf/dyn3dpar/leapfrog_p.F
r1575 r1577 247 247 1 CONTINUE 248 248 249 jD_cur = jD_ref + day_ini - day_ref + int (itau * dtvr / daysec) 250 jH_cur = jH_ref + & 249 jD_cur = jD_ref + day_ini - day_ref + & 250 & int (itau * dtvr / daysec) 251 jH_cur = jH_ref + start_time + & 251 252 & (itau * dtvr / daysec - int(itau * dtvr / daysec)) 253 if (jH_cur > 1.0 ) then 254 jD_cur = jD_cur +1. 255 jH_cur = jH_cur -1. 256 endif 252 257 253 258 … … 701 706 jD_cur = jD_ref + day_ini - day_ref 702 707 $ + int (itau * dtvr / daysec) 703 jH_cur = jH_ref + 708 jH_cur = jH_ref + start_time + & 704 709 & (itau * dtvr / daysec - int(itau * dtvr / daysec)) 705 710 ! call ju2ymds(jD_cur+jH_cur, an, mois, jour, secondes) 711 if (jH_cur > 1.0 ) then 712 jD_cur = jD_cur +1. 713 jH_cur = jH_cur -1. 714 endif 706 715 707 716 c rajout debug -
LMDZ5/trunk/libf/dyn3dpar/temps.h
r1279 r1577 14 14 15 15 COMMON/temps/itaufin, dt, day_ini, day_end, annee_ref, day_ref, & 16 & itau_dyn, itau_phy, jD_ref, jH_ref, calend 16 & itau_dyn, itau_phy, jD_ref, jH_ref, calend, & 17 & start_time 18 17 19 18 20 INTEGER itaufin 19 21 INTEGER itau_dyn, itau_phy 20 22 INTEGER day_ini, day_end, annee_ref, day_ref 21 REAL dt, jD_ref, jH_ref 23 REAL dt, jD_ref, jH_ref, start_time 22 24 CHARACTER (len=10) :: calend 23 25 -
LMDZ5/trunk/libf/phylmd/cpl_mod.F90
r1454 r1577 345 345 IF (is_sequential) THEN 346 346 ndexcs(:) = 0 347 itau_w = itau_phy + itime 347 itau_w = itau_phy + itime + start_time * day_step / iphysiq 348 348 DO i = 1, maxrecv 349 349 IF (inforecv(i)%action) THEN … … 1232 1232 IF (is_sequential) THEN 1233 1233 ndexct(:) = 0 1234 itau_w = itau_phy + itime 1234 itau_w = itau_phy + itime + start_time * day_step / iphysiq 1235 1235 CALL histwrite(nidct,'tauxe',itau_w,tmp_taux,iim*(jjm+1),ndexct) 1236 1236 CALL histwrite(nidct,'tauyn',itau_w,tmp_tauy,iim*(jjm+1),ndexct) -
LMDZ5/trunk/libf/phylmd/limit_read_mod.F90
r1001 r1577 150 150 151 151 INCLUDE "indicesol.h" 152 INCLUDE "iniprint.h" 152 153 153 154 ! In- and ouput arguments … … 165 166 !$OMP THREADPRIVATE(lmt_pas) 166 167 LOGICAL, SAVE :: first_call=.TRUE. 167 !$OMP THREADPRIVATE(first_call) 168 !$OMP THREADPRIVATE(first_call) 169 INTEGER, SAVE :: jour_lu = -1 170 !$OMP THREADPRIVATE(jour_lu) 168 171 ! Locals variables 169 172 !**************************************************************************************** … … 209 212 210 213 is_modified = .FALSE. 211 IF (MOD(itime-1, lmt_pas) == 0) THEN ! time to read 214 IF (MOD(itime-1, lmt_pas) == 0 .OR. jour_lu /= jour ) THEN ! time to read 215 jour_lu = jour 212 216 is_modified = .TRUE. 213 217 !$OMP MASTER ! Only master thread -
LMDZ5/trunk/libf/phylmd/phys_output_write.h
r1562 r1577 1 itau_w = itau_phy + itap 1 itau_w = itau_phy + itap + start_time * day_step / iphysiq 2 2 3 3 DO iff=1,nfiles -
LMDZ5/trunk/libf/phylmd/write_bilKP_ave.h
r776 r1577 9 9 c Champs 2D: 10 10 c 11 itau_w = itau_phy + itap 11 itau_w = itau_phy + itap + start_time * day_step / iphysiq 12 12 c 13 13 cym CALL gr_fi_ecrit(klev, klon,iim,jjmp1, ue_lay,zx_tmp_3d) -
LMDZ5/trunk/libf/phylmd/write_bilKP_ins.h
r776 r1577 7 7 ndex3d = 0 8 8 c 9 itau_w = itau_phy + itap 9 itau_w = itau_phy + itap + start_time * day_step / iphysiq 10 10 c 11 11 c Champs 3D: -
LMDZ5/trunk/libf/phylmd/write_histISCCP.h
r1403 r1577 9 9 ndex3d = 0 10 10 c 11 itau_w = itau_phy + itap 11 itau_w = itau_phy + itap + start_time * day_step / iphysiq 12 12 c 13 13 IF(type_run.EQ."ENSP".OR.type_run.EQ."CLIM") THEN -
LMDZ5/trunk/libf/phylmd/write_histREGDYN.h
r776 r1577 8 8 9 9 ndex3d = 0 10 itau_w = itau_phy + itap 10 itau_w = itau_phy + itap + start_time * day_step / iphysiq 11 11 c 12 12 CALL histwrite(nid_regdyn,"hw1",itau_w,histoW(:,:,:,1), -
LMDZ5/trunk/libf/phylmd/write_histdayNMC.h
r1539 r1577 5 5 c 6 6 ndex3d = 0 7 itau_w = itau_phy + itap 7 itau_w = itau_phy + itap + start_time * day_step / iphysiq 8 8 ccc 9 9 c Champs interpolles sur des niveaux de pression du NMC -
LMDZ5/trunk/libf/phylmd/write_histday_seri.h
r996 r1577 7 7 c 8 8 ndex2d = 0 9 itau_w = itau_phy + itap 9 itau_w = itau_phy + itap + start_time * day_step / iphysiq 10 10 c 11 11 c Champs 2D: -
LMDZ5/trunk/libf/phylmd/write_histhf3d.h
r776 r1577 7 7 ndex3d = 0 8 8 c 9 itau_w = itau_phy + itap 9 itau_w = itau_phy + itap + start_time * day_step / iphysiq 10 10 c 11 11 c Champs 3D: -
LMDZ5/trunk/libf/phylmd/write_histhfNMC.h
r1539 r1577 5 5 c 6 6 ndex3d = 0 7 itau_w = itau_phy + itap 7 itau_w = itau_phy + itap + start_time * day_step / iphysiq 8 8 ccc 9 9 c Champs interpolles sur des niveaux de pression du NMC -
LMDZ5/trunk/libf/phylmd/write_histmthNMC.h
r1539 r1577 5 5 c 6 6 ndex3d = 0 7 itau_w = itau_phy + itap 7 itau_w = itau_phy + itap + start_time * day_step / iphysiq 8 8 ccc 9 9 c Champs interpolles sur des niveaux de pression du NMC -
LMDZ5/trunk/libf/phylmd/write_histrac.h
r1570 r1577 5 5 IF (ecrit_tra > 0.) THEN 6 6 7 itau_w = itau_phy + nstep 7 itau_w = itau_phy + nstep + start_time * day_step / iphysiq 8 8 9 9 CALL histwrite_phy(nid_tra,.FALSE.,"phis",itau_w,pphis) -
LMDZ5/trunk/libf/phylmd/write_paramLMDZ_phy.h
r1538 r1577 27 27 c 28 28 ndex2d = 0 29 itau_w = itau_phy + itap 29 itau_w = itau_phy + itap + start_time * day_step / iphysiq 30 30 c 31 31 c Variables globales
Note: See TracChangeset
for help on using the changeset viewer.