Changeset 2268 for LMDZ5/trunk/libf


Ignore:
Timestamp:
Apr 30, 2015, 11:12:46 AM (9 years ago)
Author:
idelkadi
Message:

Mise a jour et corrections pour les sorties Cosp via Xios.

Location:
LMDZ5/trunk/libf/phylmd/cosp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/cosp/cosp_output_mod.F90

    r2137 r2268  
    5050  TYPE(ctrl_outcosp), SAVE :: o_parasol_crefl = ctrl_outcosp((/ .TRUE., .TRUE., .TRUE. /), &             
    5151         "parasol_crefl", "PARASOL-like mono-directional reflectance (integral)","1", (/ ('', i=1, 3) /))                 
     52  TYPE(ctrl_outcosp), SAVE :: o_Ncrefl = ctrl_outcosp((/ .TRUE., .TRUE., .TRUE. /), &
     53         "Ncrefl", "Nb PARASOL-like mono-directional reflectance (integral)","1", (/ ('', i=1, 3) /))
    5254  TYPE(ctrl_outcosp), SAVE :: o_atb532 = ctrl_outcosp((/ .FALSE., .FALSE., .FALSE. /), &
    5355         "atb532", "Lidar Attenuated Total Backscatter (532 nm)","1", (/ ('', i=1, 3) /))
     
    172174    ! ug R\'eglage du calendrier xios
    173175    !Temps julian => an, mois, jour, heure
    174     CALL ju2ymds(zjulian, x_an, x_mois, x_jour, x_heure)
    175     CALL ju2ymds(zjulian_start, ini_an, ini_mois, ini_jour, ini_heure)
    176     CALL wxios_set_cal(dtime, calend, x_an, x_mois, x_jour, x_heure, ini_an, &
    177                        ini_mois, ini_jour, ini_heure )
     176!    CALL ju2ymds(zjulian, x_an, x_mois, x_jour, x_heure)
     177!    CALL ju2ymds(zjulian_start, ini_an, ini_mois, ini_jour, ini_heure)
     178!    CALL wxios_set_cal(dtime, calend, x_an, x_mois, x_jour, x_heure, ini_an, &
     179!                       ini_mois, ini_jour, ini_heure )
    178180       ! ug d�claration des axes verticaux de chaque fichier:
    179     if (use_vgrid) then
     181!    if (use_vgrid) then
    180182        CALL wxios_add_vaxis("height", vgrid%Nlvgrid, vgrid%z)
    181     else
    182          WRITE(lunout,*) 'wxios_add_vaxis "presnivs", vgrid%Nlvgrid ',vgrid%Nlvgrid
    183         CALL wxios_add_vaxis("presnivs", vgrid%Nlvgrid, presnivs)
    184     endif
     183!    else
     184!         WRITE(lunout,*) 'wxios_add_vaxis "presnivs", vgrid%Nlvgrid ',vgrid%Nlvgrid
     185!        CALL wxios_add_vaxis("presnivs", vgrid%Nlvgrid, presnivs)
     186!    endif
    185187    WRITE(lunout,*) 'wxios_add_vaxis height_mlev, Nlevlmdz ',Nlevlmdz
    186188    CALL wxios_add_vaxis("height_mlev", Nlevlmdz, vgrid%mz)
  • LMDZ5/trunk/libf/phylmd/cosp/cosp_output_write_mod.F90

    r2137 r2268  
    7373   endif
    7474
    75 #ifdef CPP_XIOS
    76  !$OMP MASTER
    77 IF (cosp_varsdefined) THEN
    78    if (prt_level >= 10) then
    79          WRITE(lunout,*)'Apell xios_update_calendar cosp_varsdefined iinitend ', &
    80                          cosp_varsdefined,iinitend
    81    endif
    82     CALL xios_update_calendar(itau_wcosp)
    83 ENDIF
    84   !$OMP END MASTER
    85   !$OMP BARRIER
    86 #endif
     75!#ifdef CPP_XIOS
     76! !$OMP MASTER
     77!IF (cosp_varsdefined) THEN
     78!   if (prt_level >= 10) then
     79!         WRITE(lunout,*)'Apell xios_update_calendar cosp_varsdefined iinitend ', &
     80!                         cosp_varsdefined,iinitend
     81!   endif
     82!    CALL xios_update_calendar(itau_wcosp)
     83!ENDIF
     84!  !$OMP END MASTER
     85!  !$OMP BARRIER
     86!#endif
    8787
    8888 if (cfg%Llidar_sim) then
     
    153153    enddo
    154154   enddo
     155   CALL histwrite3d_cosp(o_Ncrefl,Ncref,nvertp)
    155156   CALL histwrite3d_cosp(o_parasol_crefl,parasolcrefl,nvertp)
    156157
Note: See TracChangeset for help on using the changeset viewer.