Index: LMDZ5/trunk/libf/phylmd/ini_paramLMDZ_phy.h
===================================================================
--- LMDZ5/trunk/libf/phylmd/ini_paramLMDZ_phy.h	(revision 2452)
+++ LMDZ5/trunk/libf/phylmd/ini_paramLMDZ_phy.h	(revision 2454)
@@ -10,5 +10,5 @@
 !
        zstophy = pdtphys
-       zout = mth_len*un_jour
+       zout = -1
 !
        idayref = day_ref
@@ -33,20 +33,20 @@
                       "Excentricite","-", &
                       1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
+                      "ave(X)", zstophy,zout)
 !
        CALL histdef(nid_ctesGCM, "R_peri",  &
                       "Equinoxe","-", &
                       1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
+                      "ave(X)", zstophy,zout)
 !
        CALL histdef(nid_ctesGCM, "R_incl",  &
                       "Inclinaison","deg", &
                       1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
+                      "ave(X)", zstophy,zout)
 !
        CALL histdef(nid_ctesGCM, "solaire",  &
                       "Constante solaire","W/m2", &
                       1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
+                      "ave(X)", zstophy,zout)
 !
        CALL histdef(nid_ctesGCM, "co2_ppm",  &
@@ -75,54 +75,4 @@
                       "ave(X)", zstophy,zout)
 !
-       CALL histdef(nid_ctesGCM, "bils", &
-                      "Surface total heat flux", "W m-2", &
-                      1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
-!
-       CALL histdef(nid_ctesGCM, "evap", &
-                      "Evaporation", "kg m-2 s-1", &
-                      1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
-!
-       CALL histdef(nid_ctesGCM, "evap_land", &
-                      "Land evaporation", "kg m-2 s-1", &
-                      1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
-!
-       CALL histdef(nid_ctesGCM, "flat", &
-                      "Latent heat flux", "W m-2", &
-                      1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
-!
-       CALL histdef(nid_ctesGCM, "nettop0", &
-                      "Clear sky net downward radiatif flux at TOA",  &
-                      "W m-2", &
-                      1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
-!
-       CALL histdef(nid_ctesGCM, "nettop", &
-                      "Net downward radiatif flux at TOA", "W m-2", &
-                      1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
-!
-       CALL histdef(nid_ctesGCM, "precip", &
-                      "Total precipitation (liq+sol)", "kg m-2 s-1", &
-                      1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
-!
-       CALL histdef(nid_ctesGCM, "tsol", &
-                      "Surface temperature", "K", &
-                      1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
-!
-       CALL histdef(nid_ctesGCM, "t2m", &
-                      "Temperature at 2m", "K", &
-                      1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout)
-!
-       CALL histdef(nid_ctesGCM, "prw", &
-                      "Precipitable water", "kg m-2", &
-                      1,1,nhori, 1,1,1, -99, 32, &
-                      "ave", zstophy,zout) 
 !=================================================================
 !
Index: LMDZ5/trunk/libf/phylmd/write_paramLMDZ_phy.h
===================================================================
--- LMDZ5/trunk/libf/phylmd/write_paramLMDZ_phy.h	(revision 2452)
+++ LMDZ5/trunk/libf/phylmd/write_paramLMDZ_phy.h	(revision 2454)
@@ -1,25 +1,2 @@
-!
-! calcul moyennes globales
-!
-       zx_tmp_fi2d=bils*cell_area
-       CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gbils)
-       zx_tmp_fi2d=evap*cell_area
-       CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gevap)
-       zx_tmp_fi2d(:)=fevap(:, is_ter)*cell_area(:)
-       CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gevapt)
-       zx_tmp_fi2d=zxfluxlat*cell_area
-       CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,glat)
-       zx_tmp_fi2d=(topsw0-toplw0)*cell_area
-       CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gnet0)
-       zx_tmp_fi2d=(topsw-toplw)*cell_area
-       CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gnet)
-       zx_tmp_fi2d=(rain_fall+snow_fall)*cell_area
-       CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,grain)
-       zx_tmp_fi2d=zxtsol*cell_area
-       CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gtsol)
-       zx_tmp_fi2d=zt2m*cell_area
-       CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gt2m)
-       zx_tmp_fi2d=prw*cell_area
-       CALL global_mean(zx_tmp_fi2d,cell_area,.TRUE.,gprw)
 !
 !$OMP MASTER
@@ -68,27 +45,4 @@
 !
 !=================================================================
-! moyennes globales
-!
-      CALL histwrite(nid_ctesGCM,"bils",itau_w, &
-                     gbils,np,ndex2d)
-      CALL histwrite(nid_ctesGCM,"evap",itau_w, &
-                     gevap,np,ndex2d)
-      CALL histwrite(nid_ctesGCM,"evap_land",itau_w, &
-                     gevapt,np,ndex2d)
-      CALL histwrite(nid_ctesGCM,"flat",itau_w, &
-                     glat,np,ndex2d)
-      CALL histwrite(nid_ctesGCM,"nettop0",itau_w, &
-                     gnet0,np,ndex2d)
-      CALL histwrite(nid_ctesGCM,"nettop",itau_w, &
-                     gnet,np,ndex2d)
-      CALL histwrite(nid_ctesGCM,"precip",itau_w, &
-                     grain,np,ndex2d)
-      CALL histwrite(nid_ctesGCM,"tsol",itau_w, &
-                     gtsol,np,ndex2d)
-      CALL histwrite(nid_ctesGCM,"t2m",itau_w, &
-                     gt2m,np,ndex2d)
-      CALL histwrite(nid_ctesGCM,"prw",itau_w, &
-                     gprw,np,ndex2d)
-!=================================================================
 !
       if (ok_sync) then
