Changeset 2160 for LMDZ5/branches/testing/libf/bibio
- Timestamp:
- Nov 28, 2014, 4:36:29 PM (10 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2072,2075-2115,2117-2126,2128-2158
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/bibio/handle_err_m.F90
r1910 r2160 39 39 end if 40 40 end if 41 stop 141 call abort_gcm("NetCDF95 handle_err", "", 1) 42 42 end if 43 43 -
LMDZ5/branches/testing/libf/bibio/wxios.F90
r2056 r2160 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: … … 424 432 ! Pour déclarer un champ !!!!!!!!!!!!!!!!! 425 433 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 426 SUBROUTINE wxios_add_field_to_file(fieldname, fdim, fid, fname, fieldlongname, fieldunit, field_level, op )434 SUBROUTINE wxios_add_field_to_file(fieldname, fdim, fid, fname, fieldlongname, fieldunit, field_level, op, nam_axvert) 427 435 IMPLICIT NONE 428 436 INCLUDE 'iniprint.h' … … 437 445 438 446 CHARACTER(len=20) :: axis_id ! Ehouarn: dangerous... 447 CHARACTER(len=20), INTENT(IN), OPTIONAL :: nam_axvert 439 448 CHARACTER(len=100) :: operation 440 449 TYPE(xios_file) :: f … … 450 459 ELSE 451 460 axis_id="plev" 461 ENDIF 462 463 IF (PRESENT(nam_axvert)) THEN 464 axis_id=nam_axvert 465 print*,'nam_axvert=',axis_id 452 466 ENDIF 453 467 … … 550 564 SUBROUTINE wxios_closedef() 551 565 CALL xios_close_context_definition() 552 CALL xios_update_calendar(0)566 ! CALL xios_update_calendar(0) 553 567 END SUBROUTINE wxios_closedef 554 568
Note: See TracChangeset
for help on using the changeset viewer.