Ignore:
Timestamp:
Sep 9, 2008, 3:22:23 PM (16 years ago)
Author:
lsce
Message:
  • Modifications liées au calcul des nouveau sous-fractions
  • Nettoyage de ocean slab : il reste uniquement la version avec glace de mer forcé
  • Nouveaux variables pour distiguer la version et type d'ocean : type_ocean=force/slab/couple, version_ocean=opa8/nemo pour couplé ou version_ocean=sicOBS pour slab

JG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/surf_seaice_mod.F90

    r888 r996  
    55
    66  USE dimphy
    7   USE surface_data, ONLY     : ocean
    8   USE ocean_slab_mod, ONLY   : ocean_slab_ice
     7  USE surface_data
    98  USE ocean_forced_mod, ONLY : ocean_forced_ice
    109  USE ocean_cpl_mod, ONLY    : ocean_cpl_ice
     
    2423       snow, qsurf, qsol, agesno, tsoil, &
    2524       z0_new, alb1_new, alb2_new, evap, fluxsens, fluxlat, &
    26        tsurf_new, dflux_s, dflux_l, pctsrf_sic)
     25       tsurf_new, dflux_s, dflux_l)
    2726!
    2827! This subroutine will make a call to ocean_XXX_ice according to the ocean mode (force,
     
    7069    REAL, DIMENSION(klon), INTENT(OUT)       :: tsurf_new
    7170    REAL, DIMENSION(klon), INTENT(OUT)       :: dflux_s, dflux_l     
    72     REAL, DIMENSION(klon), INTENT(OUT)       :: pctsrf_sic
    7371
    7472! Local arguments
     
    9189!
    9290!****************************************************************************************
    93     SELECT CASE(ocean)
    94     CASE('couple')
     91    IF (type_ocean == 'couple') THEN
     92       
    9593       CALL ocean_cpl_ice( &
    96           rlon, rlat, swnet, lwnet, alb1, &
    97           fder, &
    98           itime, dtime, knon, knindex, &
    99           lafin,&
    100           p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,&
    101           petAcoef, peqAcoef, petBcoef, peqBcoef, &
    102           ps, u1_lay, v1_lay, pctsrf, &
    103           radsol, snow, qsurf, &
    104           alb1_new, alb2_new, evap, fluxsens, fluxlat, &
    105           tsurf_new, dflux_s, dflux_l, pctsrf_sic)
     94            rlon, rlat, swnet, lwnet, alb1, &
     95            fder, &
     96            itime, dtime, knon, knindex, &
     97            lafin,&
     98            p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,&
     99            petAcoef, peqAcoef, petBcoef, peqBcoef, &
     100            ps, u1_lay, v1_lay, pctsrf, &
     101            radsol, snow, qsurf, &
     102            alb1_new, alb2_new, evap, fluxsens, fluxlat, &
     103            tsurf_new, dflux_s, dflux_l)
     104       
     105    ELSE IF (type_ocean == 'force' .OR. (type_ocean == 'slab' .AND. version_ocean=='sicOBS')) THEN
     106       CALL ocean_forced_ice(itime, dtime, jour, knon, knindex, &
     107            debut, &
     108            tsurf, p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,&
     109            petAcoef, peqAcoef, petBcoef, peqBcoef, &
     110            ps, u1_lay, v1_lay, &
     111            radsol, snow, qsol, agesno, tsoil, &
     112            qsurf, alb1_new, alb2_new, evap, fluxsens, fluxlat, &
     113            tsurf_new, dflux_s, dflux_l)
    106114
    107     CASE('slab')
    108        CALL ocean_slab_ice( &
    109           itime, dtime, jour, knon, knindex, &
    110           debut, &
    111           tsurf, p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,&
    112           petAcoef, peqAcoef, petBcoef, peqBcoef, &
    113           ps, u1_lay, v1_lay, &
    114           radsol, snow, qsurf, qsol, agesno, tsoil, &
    115           alb1_new, alb2_new, evap, fluxsens, fluxlat, &
    116           tsurf_new, dflux_s, dflux_l, pctsrf_sic)
    117    
    118     CASE('force')
    119        CALL ocean_forced_ice(itime, dtime, jour, knon, knindex, &
    120           debut, &
    121           tsurf, p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,&
    122           petAcoef, peqAcoef, petBcoef, peqBcoef, &
    123           ps, u1_lay, v1_lay, &
    124           radsol, snow, qsol, agesno, tsoil, &
    125           qsurf, alb1_new, alb2_new, evap, fluxsens, fluxlat, &
    126           tsurf_new, dflux_s, dflux_l, pctsrf_sic)
    127     END SELECT
     115    ELSE IF (type_ocean == 'slab') THEN
     116!!$       CALL ocean_slab_ice( &
     117!!$          itime, dtime, jour, knon, knindex, &
     118!!$          debut, &
     119!!$          tsurf, p1lay, tq_cdrag, precip_rain, precip_snow, temp_air, spechum,&
     120!!$          petAcoef, peqAcoef, petBcoef, peqBcoef, &
     121!!$          ps, u1_lay, v1_lay, pctsrf, &
     122!!$          radsol, snow, qsurf, qsol, agesno, tsoil, &
     123!!$          alb1_new, alb2_new, evap, fluxsens, fluxlat, &
     124!!$          tsurf_new, dflux_s, dflux_l)
     125
     126    END IF
    128127
    129128!****************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.