Ignore:
Timestamp:
May 26, 2021, 12:20:31 PM (3 years ago)
Author:
abierjon
Message:

Mars GCM:
Make a cleaner initialization of some variables in simu_MCS.F90

AB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/util/simu_MCS.F90

    r2443 r2525  
    155155integer :: nbvar                                       ! nb of variables that will be processed
    156156logical :: var_ok                                      ! is this variable to be processed?
    157 logical :: dustok1,dustok2,dustok3,wiceok = .false.    ! is it possible to compute opacities and how?
     157logical :: dustok1,dustok2,dustok3,wiceok              ! is it possible to compute opacities and how?
    158158character(len=64) :: GCMvarname,OBSvarname,outvarname  ! name of the variables
    159159integer :: nbdim                                       ! nb of dimensions of a variable
     
    539539! 2.1.1 Read the GCM variables
    540540!================================================================
     541! Initialize logicals
     542dustok1 = .false.
     543dustok2 = .false.
     544dustok3 = .false.
     545wiceok = .false.
     546
    541547! Get nbvarfile (total number of variables in the GCM file)
    542548status=NF90_INQUIRE(gcmfid,nVariables=nbvarfile)
Note: See TracChangeset for help on using the changeset viewer.