Ignore:
Timestamp:
Jul 10, 2002, 5:07:19 PM (22 years ago)
Author:
lmdzadmin
Message:

Prise en compte du fichier de trait de cote (si il existe) et du masque
correspondant dans les parametrisation de FLott
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ.3.3/branches/rel-LF/libf/dyn3d/startvar.F

    r359 r370  
    7272    !
    7373      SUBROUTINE startget_phys2d(varname, iml, jml, lon_in, lat_in,
    74      . champ, val_exp, jml2, lon_in2, lat_in2 , interbar )
     74     . champ, val_exp, jml2, lon_in2, lat_in2 , interbar, masque_lu )
    7575    !
    7676    !    There is a big mess with the size in logitude, should it be iml or iml+1.
     
    8686      REAL, INTENT(inout) :: champ(iml,jml)
    8787      REAL, INTENT(in) :: val_exp
     88      REAL, INTENT(in), optional :: masque_lu(iml,jml)
    8889      LOGICAL interbar
    8990    !
     
    101102                  IF ( .NOT.ALLOCATED(relief)) THEN
    102103                      !
     104                    if (present(masque_lu)) then
    103105                      CALL start_init_orog( iml, jml, lon_in, lat_in,
    104      .                    jml2,lon_in2,lat_in2, interbar )
     106     .                    jml2,lon_in2,lat_in2, interbar, masque_lu )
     107                    else
     108                      CALL start_init_orog( iml, jml, lon_in, lat_in,
     109     .                    jml2,lon_in2,lat_in2, interbar)
     110                    endif
    105111                      !
    106112                  ENDIF
     
    241247    !
    242248      SUBROUTINE start_init_orog ( iml,jml,lon_in, lat_in,jml2,lon_in2 ,
    243      ,   lat_in2 , interbar )
     249     ,   lat_in2 , interbar, masque_lu )
    244250    !
    245251      INTEGER, INTENT(in) :: iml, jml, jml2
    246252      REAL, INTENT(in) :: lon_in(iml), lat_in(jml)
    247253      REAL, INTENT(in) :: lon_in2(iml), lat_in2(jml2)
     254      REAL, intent(in), optional :: masque_lu(iml,jml)
    248255      LOGICAL interbar
    249256    !
     
    339346      ALLOCATE(tmp_int(iml,jml))
    340347      ALLOCATE(masque(iml,jml))
     348
     349      masque = -99999.
     350      if (present(masque_lu)) then
     351        masque = masque_lu
     352      endif
    341353    !
    342354      CALL grid_noro(iml_rel, jml_rel, lon_rad, lat_rad, relief_hi,
Note: See TracChangeset for help on using the changeset viewer.