Index: LMDZ5/trunk/DefLists/field_def_lmdz.xml
===================================================================
--- LMDZ5/trunk/DefLists/field_def_lmdz.xml	(revision 2446)
+++ LMDZ5/trunk/DefLists/field_def_lmdz.xml	(revision 2447)
@@ -656,9 +656,4 @@
       <field id="c14_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="height" />
       <field id="c15_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="height" />
-      <field id="c16_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="height" />
-      <field id="c17_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="height" />
-      <field id="c18_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="height" />
-      <field id="c19_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="height" />
-      <field id="c20_cfad_lidarsr532" long_name="Lidar Scattering Ratio CFAD (532 nm)" unit="1" axis_ref="height" />
       <field id="c01_atb532" long_name="Lidar Attenuated Total Backscatter (532 nm)" unit="1" axis_ref="height_mlev" />
       <field id="c02_atb532" long_name="Lidar Attenuated Total Backscatter (532 nm)" unit="1" axis_ref="height_mlev" />
@@ -703,4 +698,44 @@
     </field_group>  
 
+    <field_group id="fields_COSP_CLOUDSAT" domain_ref="dom_glo" freq_op="3h">
+      <field id="cltlidarradar" long_name="Lidar and Radar Total Cloud Fraction" unit="%" />
+      <field id="clcalipso2"  long_name="CALIPSO Cloud Fraction Undetected by CloudSat" unit="%" axis_ref="height" />
+      <field id="c01_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c02_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c03_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c04_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c05_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c06_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c07_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c08_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c09_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c10_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c11_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c12_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c13_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c14_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c15_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c16_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c17_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c18_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c19_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c20_dbze94" long_name="CloudSat Radar Reflectivity" unit="1" axis_ref="height_mlev" />
+      <field id="c01_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c02_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c03_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c04_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c05_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c06_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c07_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c08_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c09_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c10_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c11_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c12_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c13_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c14_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+      <field id="c15_cfadDbze94" long_name="CloudSat Radar Reflectivity CFAD" unit="1" axis_ref="height" />
+    </field_group>
+
     <field_group id="fields_COSP_ISCCP" domain_ref="dom_glo" freq_op="3h">
       <field id="sunlit" long_name="1 for day points, 0 for nightime" unit="1" />
@@ -722,4 +757,14 @@
     </field_group>
 
+    <field_group id="fields_COSP_MISR" domain_ref="dom_glo" freq_op="3h">
+      <field id="c01_clMISR" long_name="Cloud Fraction as Calculated by the MISR Simulator" unit="1" axis_ref="cth16" />
+      <field id="c02_clMISR" long_name="Cloud Fraction as Calculated by the MISR Simulator" unit="1" axis_ref="cth16" />
+      <field id="c03_clMISR" long_name="Cloud Fraction as Calculated by the MISR Simulator" unit="1" axis_ref="cth16" />
+      <field id="c04_clMISR" long_name="Cloud Fraction as Calculated by the MISR Simulator" unit="1" axis_ref="cth16" />
+      <field id="c05_clMISR" long_name="Cloud Fraction as Calculated by the MISR Simulator" unit="1" axis_ref="cth16" />
+      <field id="c06_clMISR" long_name="Cloud Fraction as Calculated by the MISR Simulator" unit="1" axis_ref="cth16" />
+      <field id="c07_clMISR" long_name="Cloud Fraction as Calculated by the MISR Simulator" unit="1" axis_ref="cth16" />
+    </field_group>
+
 </field_definition>
 
Index: LMDZ5/trunk/DefLists/file_def_histdayCOSP_lmdz.xml
===================================================================
--- LMDZ5/trunk/DefLists/file_def_histdayCOSP_lmdz.xml	(revision 2446)
+++ LMDZ5/trunk/DefLists/file_def_histdayCOSP_lmdz.xml	(revision 2447)
@@ -3,5 +3,5 @@
         <file id="histdayCOSP" name="histdayCOSP" output_freq="1d" output_level="1"  enabled=".TRUE.">
 
-            <!-- VARS 2D -->
+            <!-- VARS Calipso and PARASOL -->
             <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
                 <field field_ref="cllcalipso"         level="1" />
@@ -32,24 +32,19 @@
                 <field field_ref="parasol_crefl"  level="1" axis_ref="sza" />
                 <field field_ref="Ncrefl"  level="1" axis_ref="sza" />
-		<field field_ref="c01_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c02_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c03_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c04_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c05_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c06_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c07_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c08_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c09_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c10_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c11_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c12_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c13_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c14_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c15_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c16_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c17_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c18_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c19_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c20_cfad_lidarsr532"  level="10" axis_ref="height" />
+       		    <field field_ref="c01_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c02_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c03_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c04_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c05_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c06_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c07_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c08_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c09_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c10_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c11_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c12_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c13_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c14_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c15_cfad_lidarsr532"  level="10" axis_ref="height" />
                 <field field_ref="c01_atb532" level="10" axis_ref="height_mlev" />
                 <field field_ref="c02_atb532" level="10" axis_ref="height_mlev" />
@@ -73,4 +68,47 @@
                 <field field_ref="c20_atb532" level="10" axis_ref="height_mlev" />
                 <field field_ref="beta_mol532" level="10" axis_ref="height_mlev" />
+              </field_group>
+             <!-- VARS CLOUDSAT et/ou Calipso -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true."> 
+               <field field_ref="cltlidarradar"  level="1"/>
+               <field field_ref="clcalipso2"  level="1" axis_ref="height" />
+               <field field_ref="c01_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c02_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c03_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c04_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c05_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c06_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c07_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c08_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c09_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c10_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c11_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c12_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c13_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c14_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c15_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c01_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c02_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c03_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c04_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c05_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c06_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c07_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c08_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c09_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c10_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c11_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c12_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c13_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c14_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c15_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c16_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c17_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c18_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c19_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c20_dbze94" level="10" axis_ref="height_mlev" />
+              </field_group>
+             <!-- VARS ISCCP -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
                 <field field_ref="sunlit" level="1" />
                 <field field_ref="c01_clisccp2" level="1" axis_ref="pressure2" />
@@ -89,4 +127,14 @@
                 <field field_ref="meantbisccp" level="10" />
                 <field field_ref="meantbclrisccp" level="10" />
+             </field_group>
+             <!-- VARS MISR -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="c01_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c02_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c03_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c04_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c05_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c06_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c07_clMISR" level="1" axis_ref="cth16" />
             </field_group>
 
Index: LMDZ5/trunk/DefLists/file_def_histhfCOSP_lmdz.xml
===================================================================
--- LMDZ5/trunk/DefLists/file_def_histhfCOSP_lmdz.xml	(revision 2446)
+++ LMDZ5/trunk/DefLists/file_def_histhfCOSP_lmdz.xml	(revision 2447)
@@ -3,6 +3,6 @@
         <file id="histhfCOSP" name="XhisthfCOSP" output_freq="3h" output_level="1"  enabled=".TRUE.">
 
-            <!-- VARS 2D -->
-            <field_group operation="instant" freq_op="1ts">
+            <!-- VARS Calipso and PARASOL -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
                 <field field_ref="cllcalipso"         level="1" />
                 <field field_ref="clmcalipso"         level="1" />
@@ -32,24 +32,19 @@
                 <field field_ref="parasol_crefl"  level="1" axis_ref="sza" />
                 <field field_ref="Ncrefl"  level="1" axis_ref="sza" />
-		<field field_ref="c01_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c02_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c03_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c04_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c05_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c06_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c07_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c08_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c09_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c10_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c11_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c12_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c13_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c14_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c15_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c16_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c17_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c18_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c19_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c20_cfad_lidarsr532"  level="10" axis_ref="height" />
+       		    <field field_ref="c01_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c02_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c03_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c04_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c05_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c06_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c07_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c08_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c09_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c10_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c11_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c12_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c13_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c14_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c15_cfad_lidarsr532"  level="10" axis_ref="height" />
                 <field field_ref="c01_atb532" level="10" axis_ref="height_mlev" />
                 <field field_ref="c02_atb532" level="10" axis_ref="height_mlev" />
@@ -73,4 +68,47 @@
                 <field field_ref="c20_atb532" level="10" axis_ref="height_mlev" />
                 <field field_ref="beta_mol532" level="10" axis_ref="height_mlev" />
+              </field_group>
+             <!-- VARS CLOUDSAT et/ou Calipso -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true."> 
+               <field field_ref="cltlidarradar"  level="1"/>
+               <field field_ref="clcalipso2"  level="1" axis_ref="height" />
+               <field field_ref="c01_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c02_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c03_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c04_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c05_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c06_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c07_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c08_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c09_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c10_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c11_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c12_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c13_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c14_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c15_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c01_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c02_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c03_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c04_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c05_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c06_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c07_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c08_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c09_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c10_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c11_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c12_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c13_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c14_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c15_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c16_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c17_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c18_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c19_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c20_dbze94" level="10" axis_ref="height_mlev" />
+              </field_group>
+             <!-- VARS ISCCP -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
                 <field field_ref="sunlit" level="1" />
                 <field field_ref="c01_clisccp2" level="1" axis_ref="pressure2" />
@@ -84,9 +122,19 @@
                 <field field_ref="boxptopisccp" level="10" axis_ref="column" />
                 <field field_ref="tclisccp" level="1" />
-                <field field_ref="ctpisccp" level="10" />
-                <field field_ref="tauisccp" level="10" /> 
-                <field field_ref="albisccp" level="10" />
+                <field field_ref="ctpisccp" level="1" />
+                <field field_ref="tauisccp" level="1" /> 
+                <field field_ref="albisccp" level="1" />
                 <field field_ref="meantbisccp" level="10" />
                 <field field_ref="meantbclrisccp" level="10" />
+             </field_group>
+             <!-- VARS MISR -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="c01_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c02_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c03_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c04_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c05_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c06_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c07_clMISR" level="1" axis_ref="cth16" />
             </field_group>
 
Index: LMDZ5/trunk/DefLists/file_def_histmthCOSP_lmdz.xml
===================================================================
--- LMDZ5/trunk/DefLists/file_def_histmthCOSP_lmdz.xml	(revision 2446)
+++ LMDZ5/trunk/DefLists/file_def_histmthCOSP_lmdz.xml	(revision 2447)
@@ -3,5 +3,5 @@
         <file id="histmthCOSP" name="histmthCOSP" output_freq="30d" output_level="1"  enabled=".TRUE.">
 
-            <!-- VARS 2D -->
+            <!-- VARS Calipso and PARASOL -->
             <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
                 <field field_ref="cllcalipso"         level="1" />
@@ -32,24 +32,19 @@
                 <field field_ref="parasol_crefl"  level="1" axis_ref="sza" />
                 <field field_ref="Ncrefl"  level="1" axis_ref="sza" />
-		<field field_ref="c01_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c02_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c03_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c04_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c05_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c06_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c07_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c08_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c09_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c10_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c11_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c12_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c13_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c14_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c15_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c16_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c17_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c18_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c19_cfad_lidarsr532"  level="10" axis_ref="height" />
-		<field field_ref="c20_cfad_lidarsr532"  level="10" axis_ref="height" />
+       		    <field field_ref="c01_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c02_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c03_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c04_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c05_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c06_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c07_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c08_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c09_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c10_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c11_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c12_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c13_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c14_cfad_lidarsr532"  level="10" axis_ref="height" />
+		        <field field_ref="c15_cfad_lidarsr532"  level="10" axis_ref="height" />
                 <field field_ref="c01_atb532" level="10" axis_ref="height_mlev" />
                 <field field_ref="c02_atb532" level="10" axis_ref="height_mlev" />
@@ -73,4 +68,47 @@
                 <field field_ref="c20_atb532" level="10" axis_ref="height_mlev" />
                 <field field_ref="beta_mol532" level="10" axis_ref="height_mlev" />
+              </field_group>
+             <!-- VARS CLOUDSAT et/ou Calipso -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true."> 
+               <field field_ref="cltlidarradar"  level="1"/>
+               <field field_ref="clcalipso2"  level="1" axis_ref="height" />
+               <field field_ref="c01_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c02_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c03_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c04_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c05_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c06_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c07_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c08_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c09_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c10_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c11_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c12_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c13_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c14_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c15_cfadDbze94"  level="10" axis_ref="height" />
+               <field field_ref="c01_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c02_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c03_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c04_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c05_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c06_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c07_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c08_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c09_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c10_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c11_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c12_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c13_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c14_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c15_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c16_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c17_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c18_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c19_dbze94" level="10" axis_ref="height_mlev" />
+               <field field_ref="c20_dbze94" level="10" axis_ref="height_mlev" />
+              </field_group>
+             <!-- VARS ISCCP -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
                 <field field_ref="sunlit" level="1" />
                 <field field_ref="c01_clisccp2" level="1" axis_ref="pressure2" />
@@ -89,4 +127,14 @@
                 <field field_ref="meantbisccp" level="10" />
                 <field field_ref="meantbclrisccp" level="10" />
+             </field_group>
+             <!-- VARS MISR -->
+            <field_group operation="average" freq_op="3h" detect_missing_value=".true.">
+                <field field_ref="c01_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c02_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c03_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c04_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c05_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c06_clMISR" level="1" axis_ref="cth16" />
+                <field field_ref="c07_clMISR" level="1" axis_ref="cth16" />
             </field_group>
 
Index: LMDZ5/trunk/libf/phylmd/cosp/cosp_output_mod.F90
===================================================================
--- LMDZ5/trunk/libf/phylmd/cosp/cosp_output_mod.F90	(revision 2446)
+++ LMDZ5/trunk/libf/phylmd/cosp/cosp_output_mod.F90	(revision 2447)
@@ -16,7 +16,8 @@
       INTEGER, DIMENSION(3), SAVE  :: cosp_nidfiles
 !$OMP THREADPRIVATE(cosp_outfilekeys, cosp_nidfiles)
-      INTEGER, DIMENSION(3), SAVE  :: nhoricosp,nvert,nvertmcosp,nvertcol,nvertisccp,nvertp,nverttemp,nvertmisr
+      INTEGER, DIMENSION(3), SAVE  :: nhoricosp,nvert,nvertmcosp,nvertcol,nvertbze, &
+                                      nvertsratio,nvertisccp,nvertp,nverttemp,nvertmisr
       REAL, DIMENSION(3), SAVE                :: zoutm_cosp
-!$OMP THREADPRIVATE(nhoricosp, nvert, nvertmcosp, nvertcol, nvertisccp, nvertp, zoutm_cosp, nverttemp, nvertmisr)
+!$OMP THREADPRIVATE(nhoricosp, nvert,nvertmcosp,nvertcol,nvertsratio,nvertbze,nvertisccp,nvertp,zoutm_cosp,nverttemp,nvertmisr)
       REAL, SAVE                   :: zdtimemoy_cosp
 !$OMP THREADPRIVATE(zdtimemoy_cosp) 
@@ -107,5 +108,7 @@
   TYPE(ctrl_outcosp), SAVE :: o_clcalipso2 = ctrl_outcosp((/ .TRUE., .TRUE., .TRUE. /), &
          "clcalipso2", "CALIPSO Cloud Fraction Undetected by CloudSat", "1", (/ ('', i=1, 3) /))
-
+  TYPE(ctrl_outcosp), SAVE :: o_cltlidarradar = ctrl_outcosp((/ .TRUE., .TRUE.,.TRUE. /), &          
+         "cltlidarradar", "Lidar and Radar Total Cloud Fraction", "%", (/ ('', i=1, 3) /))
+     
 ! ISCCP vars
   TYPE(ctrl_outcosp), SAVE :: o_sunlit = ctrl_outcosp((/ .TRUE., .TRUE., .TRUE. /), &
@@ -220,7 +223,9 @@
 
 !!! Variables locales
-  integer                  :: idayref, iff, ii
-  real                     :: zjulian,zjulian_start
-  real,dimension(Ncolumns) :: column_ax
+  integer                   :: idayref, iff, ii
+  real                      :: zjulian,zjulian_start
+  real,dimension(Ncolumns)  :: column_ax
+  real,dimension(2,SR_BINS) :: sratio_bounds
+  real,dimension(SR_BINS)   ::  sratio_ax
   CHARACTER(LEN=20), DIMENSION(3)  :: chfreq = (/ '1day', '1d', '3h' /)            
 
@@ -239,8 +244,23 @@
     ! Initialisations (Valeurs par defaut)
 
+!! Definition valeurs axes
     do ii=1,Ncolumns
       column_ax(ii) = real(ii)
     enddo
 
+!    do ii=1,DBZE_BINS
+!     dbze_ax(i) = CFAD_ZE_MIN + CFAD_ZE_WIDTH*(ii - 0.5)
+!    enddo
+
+!   sratio_bounds(2,:)=stlidar%srbval(:) ! srbval contains the upper
+!                                         limits from lmd_ipsl_stats.f90
+!   sratio_bounds(1,2:SR_BINS) = stlidar%srbval(1:SR_BINS-1)
+!   sratio_bounds(1,1)         = 0.0
+!   sratio_bounds(2,SR_BINS)   = 1.e5 ! This matches with Chepfer et al., JGR,
+!                                    ! 2009. However, it is not consistent 
+                                     ! with the upper limit in
+                                     ! lmd_ipsl_stats.f90, which is
+                                     ! LIDAR_UNDEF-1=998.999
+!    sratio_ax(:) = (sratio_bounds(1,:)+sratio_bounds(2,:))/2.0 
 
     cosp_outfilenames(1) = 'histmthCOSP'
@@ -303,4 +323,6 @@
    CALL wxios_add_vaxis("temp", LIDAR_NTEMP, LIDAR_PHASE_TEMP)
    CALL wxios_add_vaxis("cth16", MISR_N_CTH, MISR_CTH)
+!   CALL wxios_add_vaxis("dbze", DBZE_BINS, dbze_ax) 
+!   CALL wxios_add_vaxis("scatratio", SR_BINS, sratio_ax)
 #endif
    
@@ -343,4 +365,8 @@
       CALL histvert(cosp_nidfiles(iff),"temp","temperature","C",LIDAR_NTEMP,LIDAR_PHASE_TEMP,nverttemp(iff))                                       
       CALL histvert(cosp_nidfiles(iff),"cth16","altitude","m",MISR_N_CTH,MISR_CTH,nvertmisr(iff))                                                                                                  
+!      CALL histvert(cosp_nidfiles(iff),"dbze","equivalent_reflectivity_factor","dBZ",DBZE_BINS,dbze_ax,nvertbze(iff))
+     
+!      CALL histvert(cosp_nidfiles(iff),"scatratio","backscattering_ratio","1",SR_BINS,sratio_ax,nvertsratio(iff))
+     
 !!! Valeur indefinie en cas IOIPSL
      Cosp_fill_value=0.
Index: LMDZ5/trunk/libf/phylmd/cosp/cosp_output_write_mod.F90
===================================================================
--- LMDZ5/trunk/libf/phylmd/cosp/cosp_output_write_mod.F90	(revision 2446)
+++ LMDZ5/trunk/libf/phylmd/cosp/cosp_output_write_mod.F90	(revision 2447)
@@ -209,4 +209,7 @@
                            stradar%lidar_only_freq_cloud = 0.0
    CALL histwrite3d_cosp(o_clcalipso2,stradar%lidar_only_freq_cloud,nvert)
+   where(stradar%radar_lidar_tcc == R_UNDEF) &
+                           stradar%radar_lidar_tcc = 0.0 
+   CALL histwrite2d_cosp(o_cltlidarradar,stradar%radar_lidar_tcc)
  endif
 
