Changeset 1825 for LMDZ5/trunk/libf/phylmd/phys_output_mod.F90
- Timestamp:
- Aug 2, 2013, 4:36:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/phys_output_mod.F90
r1821 r1825 42 42 USE aero_mod, only : naero_spc,name_aero 43 43 USE phys_output_ctrlout_mod 44 45 #ifdef CPP_XIOS 46 ! ug Pour les sorties XIOS 47 USE wxios 48 #endif 44 49 45 50 IMPLICIT NONE … … 98 103 CHARACTER(LEN=3) :: ctetaSTD(nbteta) 99 104 REAL, DIMENSION(nfiles) :: ecrit_files 100 CHARACTER(LEN=20), DIMENSION(nfiles) :: phys_out_filenames101 105 INTEGER, DIMENSION(iim*jjmp1) :: ndex2d 102 106 INTEGER, DIMENSION(iim*jjmp1*klev) :: ndex3d … … 117 121 REAL, DIMENSION(nfiles), SAVE :: phys_out_latmin = (/ -90., -90., -90., -90., -90., -90. /) 118 122 REAL, DIMENSION(nfiles), SAVE :: phys_out_latmax = (/ 90., 90., 90., 90., 90., 90. /) 123 124 #ifdef CPP_XIOS 125 ! ug Variables utilisées pour récupérer le calendrier pour xios 126 INTEGER :: x_an, x_mois, x_jour 127 REAL :: x_heure 128 #endif 119 129 120 130 WRITE(lunout,*) 'Debut phys_output_mod.F90' … … 209 219 WRITE(lunout,*)'phys_out_filelevels=',lev_files 210 220 221 #ifdef CPP_XIOS 222 ! ug Réglage du calendrier xios 223 !Temps julian => an, mois, jour, heure 224 CALL ymds2ju(annee_ref, 1, day_ref, 0.0, zjulian) 225 CALL ju2ymds(zjulian, x_an, x_mois, x_jour, x_heure) 226 CALL wxios_set_cal(dtime, calend, x_an, x_mois, x_jour, x_heure) 227 #endif 228 211 229 !!!!!!!!!!!!!!!!!!!!!!! Boucle sur les fichiers !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 212 230 ! Appel de histbeg et histvert pour creer le fichier et les niveaux verticaux !! … … 257 275 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 258 276 IF (phys_out_regfkey(iff)) then 259 260 277 imin_ins=1 261 278 imax_ins=iim … … 297 314 itau_phy,zjulian,dtime,nhorim(iff),nid_files(iff)) 298 315 else 299 CALL histbeg_phy(phys_out_filenames(iff),itau_phy,zjulian,dtime,nhorim(iff),nid_files(iff)) 316 CALL histbeg_phy_all(phys_out_filenames(iff),itau_phy,zjulian,& 317 dtime,chtimestep(iff),lev_files(iff),nhorim(iff),nid_files(iff)) 300 318 endif 301 319 … … 329 347 ! 1,preff,nvertp0(iff)) 330 348 349 #ifdef CPP_XIOS 350 ! ug déclaration des axes verticaux de chaque fichier: 351 CALL wxios_add_vaxis("presnivs", nid_files(iff), levmax(iff) - levmin(iff) + 1, presnivs(levmin(iff):levmax(iff))) 352 CALL wxios_add_vaxis("Ahyb", nid_files(iff), levmax(iff) - levmin(iff) + 1, Ahyb) 353 CALL wxios_add_vaxis("Bhyb", nid_files(iff), levmax(iff) - levmin(iff) + 1, Bhyb) 354 CALL wxios_add_vaxis("Ahyb", nid_files(iff), levmax(iff) - levmin(iff) + 1, Alt) 355 #endif 331 356 332 357 IF (nqtot>=3) THEN
Note: See TracChangeset
for help on using the changeset viewer.