Ignore:
Timestamp:
Sep 5, 2014, 5:42:24 PM (10 years ago)
Author:
Laurent Fairhead
Message:

Suite (et fin?) des modifications pour permettre un controle 'tout xml'
des fichiers de sorties XIOS.
Un nouveau paramètre logique est introduit, ok_all_xml, false par défaut, et lu
dans le run.def qui permet de faire du 'tout xml'


Follow-up modifications to ensure total xlm control over the output files
from XIOS.
A new logical parameter, ok_all_wml, is introduced. False by default, it is
read from the run.def file and, if true, will give over control to the
XIOS xml files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/phys_output_mod.F90

    r2110 r2114  
    236236    type_ecri_files(:)=type_ecri(:)
    237237
     238!    if (ok_all_xml) phys_out_filelevels = 999
     239
    238240    WRITE(lunout,*)'phys_out_lonmin=',phys_out_lonmin
    239241    WRITE(lunout,*)'phys_out_lonmax=',phys_out_lonmax
     
    305307       zoutm(iff) = ecrit_files(iff) ! Frequence ou l on ecrit en seconde
    306308
    307     IF (clef_files(iff)) THEN
    308309
    309310#ifdef CPP_XIOS
    310311!!! Ouverture de chaque fichier XIOS !!!!!!!!!!!
    311     if (prt_level >= 10) then
    312       print*,'phys_output_open: call wxios_add_file with phys_out_filenames(iff)=',trim(phys_out_filenames(iff))                                                                       
    313     endif
    314     CALL wxios_add_file(phys_out_filenames(iff),chtimestep(iff),lev_files(iff)) 
     312    IF (.not. ok_all_xml) then
     313      if (prt_level >= 10) then
     314        print*,'phys_output_open: call wxios_add_file with phys_out_filenames(iff)=',trim(phys_out_filenames(iff))   
     315      endif
     316      CALL wxios_add_file(phys_out_filenames(iff),chtimestep(iff),lev_files(iff)) 
     317    ENDIF
    315318
    316319!!! Declaration des axes verticaux de chaque fichier:
     
    334337#endif
    335338
     339        IF (clef_files(iff)) THEN
    336340!!!!!!!!!!!!!!!!! Traitement dans le cas ou l'on veut stocker sur un domaine limite !!
    337341!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    404408#endif
    405409
     410     ENDIF ! clef_files
     411
    406412!CR: ajout d'une variable eau
    407413!      IF (nqtot>=3) THEN
     414
    408415       IF (nqtot>=nqo+1) THEN
    409416!            DO iq=3,nqtot 
     
    413420                           tname(iiq),'Tracer '//ttext(iiq), "-",  &
    414421                           (/ '', '', '', '', '', '', '', '', '' /))
    415 
    416             o_dtr_vdf(iq-nqo) = ctrl_out((/ 5, 7, 7, 7, 10, 10, 11, 11, 11 /), &
     422            o_dtr_vdf(iq-nqo) = ctrl_out((/ 4, 7, 7, 7, 10, 10, 11, 11, 11 /), &
    417423                              'd'//trim(tname(iq))//'_vdf',  &
    418424                              'Tendance tracer '//ttext(iiq), "-" , &
     
    491497      ENDIF
    492498
    493      ENDIF ! clef_files
    494499
    495500   ENDDO !  iff
Note: See TracChangeset for help on using the changeset viewer.