Changeset 2276


Ignore:
Timestamp:
May 13, 2015, 6:25:50 PM (10 years ago)
Author:
Laurent Fairhead
Message:

Backport of trunk revision 2268 into LMDZ6_rc0 branch:

  • modifications for COSP/XIOS
Location:
LMDZ5/branches/LMDZ6_rc0
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/LMDZ6_rc0/DefLists/field_def_lmdz.xml

    r2161 r2276  
    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">  -->
     
    598598    </field_group>
    599599
    600     <field_group id="fields_COSP_CALIPSO" domain_ref="dom_glo">
     600    <field_group id="fields_COSP_CALIPSO" domain_ref="dom_glo" freq_op="3h">
    601601      <field id="cllcalipso"    long_name="Lidar Low-level Cloud Fraction"   unit="1" />
    602602      <field id="clhcalipso"    long_name="Lidar Hight-level Cloud Fraction"   unit="1" />
     
    606606      <field id="parasol_refl"  long_name="PARASOL-like mono-directional reflectance" unit="1" axis_ref="sza" />
    607607      <field id="parasol_crefl"  long_name="PARASOL-like mono-directional reflectance (integral)" unit="1" axis_ref="sza" />
     608      <field id="Ncrefl"  long_name="Nb for PARASOL-like mono-directional reflectance" unit="1" axis_ref="sza" />
    608609      <field id="c01_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="presnivs" />
    609610      <field id="c02_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="presnivs" />
     
    649650    </field_group> 
    650651
    651     <field_group id="fields_COSP_ISCCP" domain_ref="dom_glo">
     652    <field_group id="fields_COSP_ISCCP" domain_ref="dom_glo" freq_op="3h">
    652653      <field id="sunlit" long_name="1 for day points, 0 for nightime" unit="1" />
    653654      <field id="c01_clisccp2" long_name="Cloud Fraction as Calculated by the ISCCP Simulator" unit="1" axis_ref="pressure2" />
  • LMDZ5/branches/LMDZ6_rc0/DefLists/file_def_histdayCOSP_lmdz.xml

    r2160 r2276  
    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/branches/LMDZ6_rc0/DefLists/file_def_histhfCOSP_lmdz.xml

    r2160 r2276  
    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/branches/LMDZ6_rc0/DefLists/file_def_histmthCOSP_lmdz.xml

    r2160 r2276  
    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/branches/LMDZ6_rc0/libf/cosp/cosp_output_mod.F90

    r2160 r2276  
    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/branches/LMDZ6_rc0/libf/cosp/cosp_output_write_mod.F90

    r2160 r2276  
    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.