Changeset 2095 for LMDZ5/trunk/libf
- Timestamp:
- Jul 17, 2014, 1:12:30 PM (10 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/bibio/wxios.F90
r2055 r2095 161 161 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 162 162 163 SUBROUTINE wxios_set_cal(pasdetemps, calendrier, annee, mois, jour, heure )163 SUBROUTINE wxios_set_cal(pasdetemps, calendrier, annee, mois, jour, heure, ini_an, ini_mois, ini_jour, ini_heure) 164 164 IMPLICIT NONE 165 165 INCLUDE 'iniprint.h' … … 167 167 !Paramètres: 168 168 CHARACTER(len=*), INTENT(IN) :: calendrier 169 INTEGER, INTENT(IN) :: annee, mois, jour 170 REAL, INTENT(IN) :: pasdetemps, heure 169 INTEGER, INTENT(IN) :: annee, mois, jour, ini_an, ini_mois, ini_jour 170 REAL, INTENT(IN) :: pasdetemps, heure, ini_heure 171 171 172 172 !Variables: … … 197 197 END SELECT 198 198 199 !Formatage de la date de départ: 200 WRITE(date, "(i4.4,'-',i2.2,'-',i2.2,' 00:00:00')") annee, mois, jour 201 202 IF (prt_level >= 10) WRITE(lunout,*) "wxios_set_cal: Initial time: ", date 203 204 CALL xios_set_context_attr_hdl(g_ctx, start_date= date) 199 !Formatage de la date d'origine: 200 WRITE(date, "(i4.4,'-',i2.2,'-',i2.2,' ',i2.2,':00:00')") annee, mois, jour, int(heure) 201 202 IF (prt_level >= 10) WRITE(lunout,*) "wxios_set_cal: Time origin: ", date 203 204 CALL xios_set_context_attr_hdl(g_ctx, time_origin = date) 205 206 !Formatage de la date de debut: 207 208 WRITE(date, "(i4.4,'-',i2.2,'-',i2.2,' ',i2.2,':00:00')") ini_an, ini_mois, ini_jour, int(ini_heure) 209 210 IF (prt_level >= 10) WRITE(lunout,*) "wxios_set_cal: Start date: ", date 211 212 CALL xios_set_context_attr_hdl(g_ctx, start_date = date) 205 213 206 214 !Et enfin,le pas de temps: … … 550 558 SUBROUTINE wxios_closedef() 551 559 CALL xios_close_context_definition() 552 CALL xios_update_calendar(0)560 ! CALL xios_update_calendar(0) 553 561 END SUBROUTINE wxios_closedef 554 562 -
LMDZ5/trunk/libf/phylmd/phys_output_mod.F90
r2086 r2095 94 94 REAL :: dtime 95 95 INTEGER :: idayref 96 REAL :: zjulian 96 REAL :: zjulian_start, zjulian 97 97 REAL, DIMENSION(klev) :: Ahyb, Bhyb, Alt 98 98 CHARACTER(LEN=4), DIMENSION(nlevSTD) :: clevSTD … … 133 133 INTEGER :: x_an, x_mois, x_jour 134 134 REAL :: x_heure 135 INTEGER :: ini_an, ini_mois, ini_jour 136 REAL :: ini_heure 135 137 #endif 136 138 … … 255 257 ELSE 256 258 CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) 259 CALL ymds2ju(annee_ref, 1, day_ini, start_time, zjulian_start) 257 260 END IF 258 261 … … 261 264 !Temps julian => an, mois, jour, heure 262 265 CALL ju2ymds(zjulian, x_an, x_mois, x_jour, x_heure) 263 CALL wxios_set_cal(dtime, calend, x_an, x_mois, x_jour, x_heure) 266 CALL ju2ymds(zjulian_start, ini_an, ini_mois, ini_jour, ini_heure) 267 CALL wxios_set_cal(dtime, calend, x_an, x_mois, x_jour, x_heure, ini_an, & 268 ini_mois, ini_jour, ini_heure ) 264 269 #endif 265 270 -
LMDZ5/trunk/libf/phylmd/phys_output_write_mod.F90
r2086 r2095 300 300 write(lunout,*)"phys_output_write: call xios_update_calendar, itau_w=",itau_w 301 301 endif 302 CALL xios_update_calendar(itau_w) 302 ! CALL xios_update_calendar(itau_w) 303 CALL xios_update_calendar(itap) 303 304 END IF 304 305 !$OMP END MASTER
Note: See TracChangeset
for help on using the changeset viewer.