Ignore:
Timestamp:
Jul 17, 2017, 5:52:31 PM (7 years ago)
Author:
musat
Message:

Ajout modifs de Rodrigo Guzman et Marine Bonazolla dans la version COSP/CMIP6
IM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/cosp/cosp_types.F90

    r2713 r2955  
    5151                Lcltmodis,Lclwmodis,Lclimodis,Lclhmodis,Lclmmodis,Lcllmodis,Ltautmodis,Ltauwmodis,Ltauimodis,Ltautlogmodis, &
    5252                Ltauwlogmodis,Ltauilogmodis,Lreffclwmodis,Lreffclimodis,Lpctmodis,Llwpmodis, &
    53                 Liwpmodis,Lclmodis,Lcrimodis,Lcrlmodis
     53                Liwpmodis,Lclmodis,Lcrimodis,Lcrlmodis,Lclopaquecalipso,Lclthincalipso, & !OPAQ (2)
     54                Lclzopaquecalipso,Lclcalipsoopaque,Lclcalipsothin,Lclcalipsozopaque,    & !OPAQ (4)
     55                Lclcalipsoopacity,LprofSR,Lproftemp                                       !OPAQ (1) !TIBO (2)
    5456
    5557     character(len=32) :: out_list(N_OUT_LIST)
     
    199201    ! Arrays with dimensions (Npoints,Nlevels)
    200202    real, dimension(:,:),pointer :: lidarcld    ! 3D "lidar" cloud fraction
     203    real, dimension(:,:),pointer :: proftemp    ! Temperature profiles 40 levs !TIBO
    201204    ! Arrays with dimensions (Npoints,LIDAR_NCAT)
    202205    real, dimension(:,:),pointer :: cldlayer      ! low, mid, high-level, total lidar cloud cover
    203    ! Arrays with dimensions (Npoints,Nlevels,Nphase)
     206    ! Arrays with dimensions (Npoints,LIDAR_NTYPE)                                               !OPAQ
     207    real, dimension(:,:),pointer :: cldtype       ! opaque and thin cloud covers, z_opaque       !OPAQ
     208    ! Arrays with dimensions (Npoints,Nlevels,Nphase)
    204209    real, dimension(:,:,:),pointer :: lidarcldphase    ! 3D "lidar" phase cloud fraction
    205      ! Arrays with dimensions (Npoints,LIDAR_NCAT,Nphase)
     210    ! Arrays with dimensions (Npoints,Nlevels,LIDAR_NTYPE+1)                                     !OPAQ
     211    real, dimension(:,:,:),pointer :: lidarcldtype     ! 3D "lidar" OPAQ type fraction + opacity !OPAQ
     212    ! Arrays with dimensions (Npoints,LIDAR_NCAT,Nphase)
    206213    real, dimension(:,:,:),pointer :: cldlayerphase      ! low, mid, high-level lidar phase cloud cover
    207214    ! Arrays with dimensions (Npoints,Ntemps,Nphase)
     
    209216    ! Arrays with dimensions (Npoints,PARASOL_NREFL)
    210217    real, dimension(:,:),pointer :: parasolrefl   ! mean parasol reflectance
     218!    ! Arrays with dimensions (Npoints,Ncolumns,Nlevels)                     !TIBO
     219!    real, dimension(:,:,:),pointer :: profSR      ! subcolumns for each day !TIBO
     220    ! Arrays with dimensions (Npoints,Nlevels,Ncolumns)                     !TIBO2
     221    real, dimension(:,:,:),pointer :: profSR      ! subcolumns for each day !TIBO2
    211222
    212223  END TYPE COSP_LIDARSTATS
     
    803814    allocate(x%lidarcldphase(i,k,6),x%lidarcldtmp(i,LIDAR_NTEMP,5),&
    804815             x%cldlayerphase(i,LIDAR_NCAT,6))
     816    allocate(x%lidarcldtype(i,k,LIDAR_NTYPE+1),x%cldtype(i,LIDAR_NTYPE)) !OPAQ
     817!    allocate(x%profSR(i,j,k),x%proftemp(i,k))                            !TIBO
     818    allocate(x%profSR(i,k,j),x%proftemp(i,k))                            !TIBO2
    805819    ! --- Initialise to zero ---
    806820    x%srbval    = 0.0
     
    812826    x%cldlayerphase  = 0.0
    813827    x%lidarcldtmp  = 0.0
     828    x%lidarcldtype  = 0.0 !OPAQ
     829    x%cldtype  = 0.0      !OPAQ
     830    x%profSR   = 0.0      !TIBO
     831    x%proftemp = 0.0      !TIBO
    814832
    815833   END SUBROUTINE CONSTRUCT_COSP_LIDARSTATS
     
    823841    deallocate(x%srbval, x%cfad_sr, x%lidarcld, x%cldlayer, x%parasolrefl)
    824842    deallocate(x%cldlayerphase, x%lidarcldtmp, x%lidarcldphase)
     843    deallocate(x%lidarcldtype, x%cldtype) !OPAQ
     844    deallocate(x%profSR, x%proftemp)      !TIBO
    825845  END SUBROUTINE FREE_COSP_LIDARSTATS
    826846
     
    13671387    y%cldlayerphase(iy(1):iy(2),:,:)  = x%cldlayerphase(ix(1):ix(2),:,:)
    13681388    y%lidarcldtmp(iy(1):iy(2),:,:)    = x%lidarcldtmp(ix(1):ix(2),:,:)
     1389    y%lidarcldtype(iy(1):iy(2),:,:)    = x%lidarcldtype(ix(1):ix(2),:,:) !OPAQ
     1390    y%cldtype(iy(1):iy(2),:)           = x%cldtype(ix(1):ix(2),:)        !OPAQ
     1391    y%profSR(iy(1):iy(2),:,:)          = x%profSR(ix(1):ix(2),:,:)       !TIBO
     1392    y%proftemp(iy(1):iy(2),:)          = x%proftemp(ix(1):ix(2),:)       !TIBO
    13691393END SUBROUTINE COSP_LIDARSTATS_CPSECTION
    13701394!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     
    15991623    ! Arrays with dimensions (Npoints,SR_BINS,Nlevels)
    16001624    print *, 'shape(x%cfad_sr): ',shape(x%cfad_sr)
     1625!    ! Arrays with dimensions (Npoints,Ncolumns,Nlevels) !TIBO
     1626!    print *, 'shape(x%profSR): ',shape(x%profSR)        !TIBO
     1627    ! Arrays with dimensions (Npoints,Nlevels,Ncolumns) !TIBO2
     1628    print *, 'shape(x%profSR): ',shape(x%profSR)        !TIBO2
    16011629    ! Arrays with dimensions (Npoints,Nlevels)
    16021630    print *, 'shape(x%lidarcld): ',shape(x%lidarcld)
     1631    print *, 'shape(x%proftemp): ',shape(x%proftemp)    !TIBO
    16031632    ! Arrays with dimensions (Npoints,LIDAR_NCAT)
    16041633    print *, 'shape(x%cldlayer): ',shape(x%cldlayer)
     1634    ! Arrays with dimensions (Npoints,LIDAR_NTYPE)            !OPAQ
     1635    print *, 'shape(x%cldtype): ',shape(x%cldtype)            !OPAQ
    16051636    ! Arrays with dimensions (Npoints,PARASOL_NREFL)
    16061637    print *, 'shape(x%parasolrefl): ',shape(x%parasolrefl)
    16071638     ! Arrays with dimensions (Npoints,Nlevels,Nphase)
    16081639    print *, 'shape(x%lidarcldphase): ',shape(x%lidarcldphase)
     1640     ! Arrays with dimensions (Npoints,Nlevels,LIDAR_NTYPE+1) !OPAQ
     1641    print *, 'shape(x%lidarcldtype): ',shape(x%lidarcldtype)  !OPAQ
    16091642     ! Arrays with dimensions (Npoints,LIDAR_NCAT,Nphase)
    16101643    print *, 'shape(x%cldlayerphase): ',shape(x%cldlayerphase)
Note: See TracChangeset for help on using the changeset viewer.