Ignore:
Timestamp:
Mar 12, 2018, 9:52:27 AM (7 years ago)
Author:
idelkadi
Message:

Recriture de la routine de gestion des cles de sorties Cosp :

ecriture d'un module cosp_read_otputkeys.F90 incluant 3 routines :

  • une subroutine pour initialiser au 1er appel a Cosp les Cles
  • une subroutine appelee au 2e passage dans Cosp, permettant de piloter les cles de sorties en fonction de ce qui est demande dans les fichiers xml (dans le cas ou les sorties sont geres par Xios)
  • une routine appelee au 2e passage dans Cosp, permettant de lire les cles dans le ficher cosp_output_nl.txt dans le cas ou les sorties ne sont pas geres par Xios

Nettoyage dans le module cosp_output_write.F90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/cosp/cosp_output_mod.F90

    r3241 r3247  
    255255  real                      :: zjulian,zjulian_start
    256256  real,dimension(Ncolumns)  :: column_ax
    257   real,dimension(2,SR_BINS) :: sratio_bounds
    258   real,dimension(SR_BINS)   ::  sratio_ax
    259257  real,dimension(DBZE_BINS) ::  dbze_ax
    260258  CHARACTER(LEN=20), DIMENSION(3)  :: chfreq = (/ '1day', '1d  ', '3h  ' /)           
     259  real,parameter,dimension(SR_BINS) :: sratio_ax = (/0.005, &
     260                                                  0.605,2.09,4.,6., &
     261                                          8.5,12.5,17.5,22.5,27.5,35.,45.,55.,70.,50040./)
    261262
    262263!!! Variables d'entree
     
    283284    enddo
    284285 
    285 
    286     sratio_bounds(2,:)=stlidar%srbval(:) ! srbval contains the upper
    287 !                                         limits from lmd_ipsl_stats.f90
    288     sratio_bounds(1,2:SR_BINS) = stlidar%srbval(1:SR_BINS-1)
    289     sratio_bounds(1,1)         = 0.0
    290     sratio_bounds(2,SR_BINS)   = 1.e5 ! This matches with Chepfer et al., JGR,
    291 !                                    ! 2009. However, it is not consistent
    292                                      ! with the upper limit in
    293                                      ! lmd_ipsl_stats.f90, which is
    294                                      ! LIDAR_UNDEF-1=998.999
    295      sratio_ax(:) = (sratio_bounds(1,:)+sratio_bounds(2,:))/2.0
    296 
    297286    cosp_outfilenames(1) = 'histmthCOSP'
    298287    cosp_outfilenames(2) = 'histdayCOSP'
Note: See TracChangeset for help on using the changeset viewer.