Ignore:
Timestamp:
Jul 5, 2000, 4:58:04 PM (24 years ago)
Author:
lmdzadmin
Message:

Interface avec les differentes surface, version de travail.LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ.3.3/branches/rel-LF/libf/phylmd/oasis.F

    r79 r98  
    386386      END
    387387
    388       SUBROUTINE fromcpl(kt, imjm, sst, gla)
     388      SUBROUTINE fromcpl(kt, imjm, sst,sic, alb_sst, alb_sic )
    389389      IMPLICIT none
    390390c
     
    399399      INTEGER imjm, kt
    400400      REAL sst(imjm)          ! sea-surface-temperature
    401       REAL gla(imjm)          ! sea-ice
     401      REAL alb_sst(imjm)  ! open sea albedo
     402      REAL sic(imjm)      ! sea ice cover
     403      REAL alb_sic(imjm)  ! sea ice albedo
     404
    402405c
    403406      INTEGER nuout             ! listing output unit
     
    447450     $          nuout)
    448451            IF (jf.eq.2)
    449      $          CALL locread(cl_read(jf), gla, imjm, nuread, iflag,
     452     $          CALL locread(cl_read(jf), sic, imjm, nuread, iflag,
     453     $          nuout)
     454            IF (jf.eq.3)
     455     $          CALL locread(cl_read(jf), alb_sst, imjm, nuread, iflag,
     456     $          nuout)
     457            IF (jf.eq.4)
     458     $          CALL locread(cl_read(jf), alb_sic, imjm, nuread, iflag,
    450459     $          nuout)
    451460            CLOSE (nuread)
     
    474483c
    475484          CALL SIPC_Read_Model(index, imjm, cmodinf,
    476      $              cljobnam_r,infos, gla)
     485     $              cljobnam_r,infos, sic)
     486c         Index of open sea albedo in total number of fields jpfldo2a:
     487          index = 3
     488c
     489          CALL SIPC_Read_Model(index, imjm, cmodinf,
     490     $              cljobnam_r,infos, alb_sst)
     491c         Index of sea-ice albedo in total number of fields jpfldo2a:
     492          index = 4
     493c
     494          CALL SIPC_Read_Model(index, imjm, cmodinf,
     495     $              cljobnam_r,infos, alb_sic)
    477496c
    478497c
     
    482501c exchanges from ocean=CPL to atmosphere
    483502c
    484           DO jf=1,jpfldo2a
    485             IF (jf.eq.1) CALL CLIM_Import (cl_read(jf) , kt, sst, info)
    486             IF (jf.eq.2) CALL CLIM_Import (cl_read(jf) , kt, gla, info)
    487             IF ( info .NE. CLIM_Ok) THEN
     503        DO jf=1,jpfldo2a
     504          IF (jf.eq.1) CALL CLIM_Import (cl_read(jf) , kt, sst, info)
     505          IF (jf.eq.2) CALL CLIM_Import (cl_read(jf) , kt, sic, info)
     506         IF (jf.eq.3) CALL CLIM_Import (cl_read(jf) , kt, alb_sst, info)
     507         IF (jf.eq.4) CALL CLIM_Import (cl_read(jf) , kt, alb_sic, info)
     508          IF ( info .NE. CLIM_Ok) THEN
    488509                WRITE(nuout,*)'Pb in reading ', cl_read(jf), jf
    489510                WRITE(nuout,*)'Couplage kt is = ',kt
Note: See TracChangeset for help on using the changeset viewer.