Ignore:
Timestamp:
Mar 27, 2001, 11:09:52 AM (24 years ago)
Author:
lmdzadmin
Message:

Interversion dans les sorties netcdf des champs venant du coupleur
MAFO/LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ.3.3/branches/rel-LF/libf/phylmd/interface_surf.F90

    r179 r180  
    12051205      CALL histwrite(nidcs,cl_read(1),itime,read_sst,iim*(jjm+1),ndexcs)
    12061206      CALL histwrite(nidcs,cl_read(2),itime,read_sic,iim*(jjm+1),ndexcs)
    1207       CALL histwrite(nidcs,cl_read(3),itime,read_sit,iim*(jjm+1),ndexcs)
    1208       CALL histwrite(nidcs,cl_read(4),itime,read_alb_sic,iim*(jjm+1),ndexcs)
     1207      CALL histwrite(nidcs,cl_read(3),itime,read_alb_sic,iim*(jjm+1),ndexcs)
     1208      CALL histwrite(nidcs,cl_read(4),itime,read_sit,iim*(jjm+1),ndexcs)
    12091209      CALL histsync(nidcs)
    12101210! pas utile      IF (npas-itime.LT.nexca )CALL histclo(nidcs)
     
    12711271!
    12721272! allocation memoire
    1273     if (nisurf == is_oce) then
     1273    if (nisurf == is_oce .and. (.not. cumul) ) then
    12741274      sum_error = 0
    12751275      allocate(tmp_sols(iim,jjm+1,2), stat=error); sum_error = sum_error + error
     
    19471947! Traitement neige et humidite du sol
    19481948!
    1949 !    if (first .and. nisurf == is_ter) then
    1950 !      do i = 1, knon
    1951 !        write(67,*)i, snow(i), precip_snow(i), evap(i)
    1952 !      enddo
    1953 !    endif
    1954 !    if (second .and. nisurf == is_ter) then
    1955 !      do i = 1, knon
    1956 !        write(77,*)i, snow(i), precip_snow(i), evap(i)
    1957 !      enddo
    1958 !    endif
    19591949    if (nisurf == is_oce) then
    19601950      snow = 0.
     
    20041994     & * p1lay(i)/(RD*t1lay(i))
    20051995
    2006 !    if (first .and. nisurf == is_ter) then
    2007 !      write(43,*) &
    2008 !     &i,zx_coef(i),coef1lay(i),u1lay(i),v1lay(i),p1lay(i),t1lay(i)
    2009 !    endif
    2010 !    if (second .and. nisurf == is_ter) then
    2011 !      write(53,*) &
    2012 !     &i,zx_coef(i),coef1lay(i),u1lay(i),v1lay(i),p1lay(i),t1lay(i)
    2013 !    endif
    2014    
    20151996  ENDDO
    20161997
     
    20422023    zx_nh(i) = - (zx_k1(i) * RCPD * zx_pkh(i))/ zx_oh(i)
    20432024
    2044 !    if (first .and. nisurf == is_ter) then
    2045 !      write(41,*) &
    2046 !     &            i,zx_k1(i),petAcoef(i),petBcoef(i),&
    2047 !     & zx_oh(i),zx_mh(i),zx_nh(i)
    2048 !    endif
    2049 
    2050 !    if (second .and. nisurf == is_ter) then
    2051 !      write(51,*) &
    2052 !     &            i,zx_k1(i),petAcoef(i),petBcoef(i),&
    2053 !     & zx_oh(i),zx_mh(i),zx_nh(i)
    2054 !    endif
    20552025
    20562026! Tsurface
     
    20812051    dflux_l(i) = (zx_sl(i) * zx_nq(i))
    20822052
    2083 !    if (first .and. nisurf == is_ter) then
    2084 !      write(42,*) &
    2085 !     &            i,tsurf_new(i),d_ts(i),zx_h_ts(i),zx_q_0(i),&
    2086 !     & evap(i),fluxsens(i)
    2087 !    endif
    2088 
    2089 !    if (second .and. nisurf == is_ter) then
    2090 !      write(52,*) &
    2091 !     &            i,tsurf_new(i),d_ts(i),zx_h_ts(i),zx_q_0(i),&           
    2092 !     & evap(i),fluxsens(i)
    2093 !    endif
    20942053!
    20952054! en cas de fonte de neige
     
    21082067    qsol(i) = min(qsol(i), max_eau_sol)
    21092068  ENDDO
    2110 
    2111 !  if (nisurf == is_oce .and. second) then
    2112 !    second =.f.
    2113 !  endif
    2114 
    2115 !  if (nisurf == is_oce .and. first) then
    2116 !    first = .f.
    2117 !    second = .t.
    2118 !  endif
    21192069
    21202070  END SUBROUTINE calcul_fluxs
Note: See TracChangeset for help on using the changeset viewer.