Changeset 2268 for LMDZ5/trunk


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

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

Location:
LMDZ5/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/DefLists/field_def_lmdz.xml

    r2256 r2268  
    1 <field_definition level="1" prec="4" operation="average" freq_op="1ts" enabled=".true.">
     1<field_definition level="1" prec="4" operation="average" freq_op="1ts" enabled=".true." default_value="9.96921e+36">
    22   
    33<!--    <field_group id="fields_1D" grid_ref="vertical">  -->
     
    621621    </field_group>
    622622
    623     <field_group id="fields_COSP_CALIPSO" domain_ref="dom_glo">
     623    <field_group id="fields_COSP_CALIPSO" domain_ref="dom_glo" freq_op="3h">
    624624      <field id="cllcalipso"    long_name="Lidar Low-level Cloud Fraction"   unit="1" />
    625625      <field id="clhcalipso"    long_name="Lidar Hight-level Cloud Fraction"   unit="1" />
     
    629629      <field id="parasol_refl"  long_name="PARASOL-like mono-directional reflectance" unit="1" axis_ref="sza" />
    630630      <field id="parasol_crefl"  long_name="PARASOL-like mono-directional reflectance (integral)" unit="1" axis_ref="sza" />
     631      <field id="Ncrefl"  long_name="Nb for PARASOL-like mono-directional reflectance" unit="1" axis_ref="sza" />
    631632      <field id="c01_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="presnivs" />
    632633      <field id="c02_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="presnivs" />
     
    672673    </field_group> 
    673674
    674     <field_group id="fields_COSP_ISCCP" domain_ref="dom_glo">
     675    <field_group id="fields_COSP_ISCCP" domain_ref="dom_glo" freq_op="3h">
    675676      <field id="sunlit" long_name="1 for day points, 0 for nightime" unit="1" />
    676677      <field id="c01_clisccp2" long_name="Cloud Fraction as Calculated by the ISCCP Simulator" unit="1" axis_ref="pressure2" />
  • LMDZ5/trunk/DefLists/file_def_histdayCOSP_lmdz.xml

    r2138 r2268  
    44
    55            <!-- VARS 2D -->
    6             <field_group operation="instant" freq_op="1ts">
     6            <field_group operation="average" freq_op="3h">
    77                <field field_ref="cllcalipso"         level="1" />
    88                <field field_ref="clmcalipso"         level="1" />
     
    1212                <field field_ref="parasol_refl"  level="1" axis_ref="sza" />
    1313                <field field_ref="parasol_crefl"  level="1" axis_ref="sza" />
     14                <field field_ref="Ncrefl"  level="1" axis_ref="sza" />
    1415                <field field_ref="c01_cfad_lidarsr532"  level="10" axis_ref="presnivs" />
    1516                <field field_ref="c02_cfad_lidarsr532"  level="10" axis_ref="presnivs" />
  • LMDZ5/trunk/DefLists/file_def_histhfCOSP_lmdz.xml

    r2138 r2268  
    11<file_definition>
    22     <file_group id="defile">
    3         <file id="histhfCOSP" name="XhisthfCOSP" output_freq="6h" output_level="10"  enabled=".FALSE.">
     3        <file id="histhfCOSP" name="XhisthfCOSP" output_freq="3h" output_level="10"  enabled=".FALSE.">
    44
    55            <!-- VARS 2D -->
    6             <field_group operation="instant" freq_op="1ts">
     6            <field_group operation="instant" freq_op="3h">
    77                <field field_ref="cllcalipso"         level="1" />
    88                <field field_ref="clmcalipso"         level="1" />
     
    1212                <field field_ref="parasol_refl"  level="1" axis_ref="sza" />
    1313                <field field_ref="parasol_crefl"  level="1" axis_ref="sza" />
     14                <field field_ref="Ncrefl"  level="1" axis_ref="sza" />
    1415                <field field_ref="c01_cfad_lidarsr532"  level="10" axis_ref="presnivs" />
    1516                <field field_ref="c02_cfad_lidarsr532"  level="10" axis_ref="presnivs" />
  • LMDZ5/trunk/DefLists/file_def_histmthCOSP_lmdz.xml

    r2138 r2268  
    11<file_definition>
    22     <file_group id="defile">
    3         <file id="histmthCOSP" name="XhistmthCOSP" output_freq="5d" output_level="10"  enabled=".FALSE.">
     3        <file id="histmthCOSP" name="XhistmthCOSP" output_freq="1mo" output_level="10"  enabled=".FALSE.">
    44
    55            <!-- VARS 2D -->
    6             <field_group operation="instant" freq_op="1ts">
     6            <field_group operation="average" freq_op="3h">
    77                <field field_ref="cllcalipso"         level="1" />
    88                <field field_ref="clmcalipso"         level="1" />
     
    1212                <field field_ref="parasol_refl"  level="1" axis_ref="sza" />
    1313                <field field_ref="parasol_crefl"  level="1" axis_ref="sza" />
     14                <field field_ref="Ncrefl"  level="1" axis_ref="sza" />
    1415                <field field_ref="c01_cfad_lidarsr532"  level="10" axis_ref="presnivs" />
    1516                <field field_ref="c02_cfad_lidarsr532"  level="10" axis_ref="presnivs" />
  • 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.