Ignore:
Timestamp:
Sep 23, 2024, 4:28:20 PM (7 weeks ago)
Author:
abarral
Message:

missing bits from r5199 merge

Location:
LMDZ6/branches/Amaury_dev/libf
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/dyn3d/lmdz_dynetat0.f90

    r5192 r5222  
    1111    ! Purpose: Initial state reading.
    1212    !-------------------------------------------------------------------------------
    13     USE lmdz_infotrac, ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName
     13    USE lmdz_infotrac, ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName, &
     14                         new2oldH2O, newHNO3, oldHNO3, getKey
    1415    USE lmdz_strings, ONLY: maxlen, msg, strStack, real2str, int2str
    1516    USE netcdf, ONLY: nf90_open, nf90_nowrite, nf90_inq_varid, nf90_close, nf90_get_var, nf90_noerr
    16     USE lmdz_readTracFiles, ONLY: new2oldH2O, newHNO3, oldHNO3, getKey
    1717    USE control_mod, ONLY: planet_type
    1818    USE lmdz_assert_eq, ONLY: assert_eq
     
    123123    var = "temps"
    124124    IF(nf90_inq_varid(fID, var, vID)/=nf90_noerr) THEN
    125       CALL msg('missing field <temps> ; trying with <Time>', modname)
     125      CALL msg('Missing field <temps> ; trying with <Time>', modname)
    126126      var = "Time"
    127127      CALL err(nf90_inq_varid(fID, var, vID), "inq", var)
     
    155155        !--------------------------------------------------------------------------------------------------------------------------
    156156      ELSE IF(nf90_inq_varid(fID, oldVar, vID) == nf90_noerr) THEN                         !=== TRY WITH ALTERNATE NAME
    157         CALL msg('Tracer <' // TRIM(var) // '> is missing => initialized to <' // TRIM(oldVar) // '>', modname)
     157        CALL msg('Missing tracer <' // TRIM(var) // '> => initialized to <' // TRIM(oldVar) // '>', modname)
    158158        CALL err(nf90_get_var(fID, vID, q(:, :, :, iq)), "get", oldVar)
    159159        !--------------------------------------------------------------------------------------------------------------------------
     
    171171                    CALL abort_gcm(TRIM(modname), 'missing isotopic parameters', 1)
    172172          endif
    173           CALL msg('Tracer <' // TRIM(var) // '> is missing => initialized with a simplified Rayleigh distillation law.', modname)
     173          CALL msg('Missing tracer <' // TRIM(var) // '> => initialized with a simplified Rayleigh distillation law.', modname)
    174174          q(:, :, :, iq) = q(:, :, :, iqParent) * tnat * (q(:, :, :, iqParent) / 30.e-3)**(alpha_ideal - 1.)
    175175        ELSE
    176           CALL msg('Tracer <' // TRIM(var) // '> is missing => initialized to its parent isotope concentration.', modname)
     176          CALL msg('Missing tracer <' // TRIM(var) // '> => initialized to its parent isotope concentration.', modname)
    177177          ! Camille 9 mars 2023: attention!! seuls les tags qui correspondent à
    178178          ! izone=izone_init (définie dans isotrac_mod) sont initialisés comme
     
    188188        !--------------------------------------------------------------------------------------------------------------------------
    189189      ELSE                                                                                 !=== MISSING: SET TO 0
    190         CALL msg('Tracer <' // TRIM(var) // '> is missing => initialized to zero', modname)
     190        CALL msg('Missing tracer <' // TRIM(var) // '> => initialized to zero', modname)
    191191        q(:, :, :, iq) = 0.
    192192        !--------------------------------------------------------------------------------------------------------------------------
  • LMDZ6/branches/Amaury_dev/libf/dyn3d/qminimum.F90

    r5186 r5222  
    33SUBROUTINE qminimum(q, nqtot, deltap)
    44
    5   USE lmdz_infotrac, ONLY: niso, ntiso, iqIsoPha, tracers
     5  USE lmdz_infotrac, ONLY: niso, ntiso, iqIsoPha, tracers, addPhase
    66  USE lmdz_strings, ONLY: strIdx
    7   USE lmdz_readTracFiles, ONLY: addPhase
    87  USE lmdz_ssum_scopy, ONLY: ssum
    98
  • LMDZ6/branches/Amaury_dev/libf/dyn3dmem/dynetat0_loc.f90

    r5195 r5222  
    77  !-------------------------------------------------------------------------------
    88  USE parallel_lmdz
    9   USE lmdz_infotrac, ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName
     9  USE lmdz_infotrac, ONLY: nqtot, tracers, niso, iqIsoPha, iH2O, isoName, &
     10                         new2oldH2O, newHNO3, oldHNO3, getKey
    1011  USE lmdz_strings, ONLY: maxlen, msg, strStack, real2str, int2str, strIdx
    1112  USE netcdf, ONLY: nf90_open, nf90_nowrite, nf90_inquire_dimension, nf90_inq_varid, &
    1213          nf90_close, nf90_get_var, nf90_inquire_variable, nf90_noerr
    13   USE lmdz_readTracFiles, ONLY: new2oldH2O, newHNO3, oldHNO3, getKey
    1414  USE control_mod, ONLY: planet_type
    1515  USE lmdz_assert_eq, ONLY: assert_eq
     
    124124  var = "temps"
    125125  IF(nf90_inq_varid(fID, var, vID)/=nf90_noerr) THEN
    126     CALL msg('missing field <temps> ; trying with <Time>', modname)
     126    CALL msg('Missing field <temps> ; trying with <Time>', modname)
    127127    var = "Time"
    128128    CALL err(nf90_inq_varid(fID, var, vID), "inq", var)
     
    175175      !--------------------------------------------------------------------------------------------------------------------------
    176176    ELSE IF(nf90_inq_varid(fID, oldVar, vID) == nf90_noerr) THEN                         !=== TRY WITH ALTERNATE NAME
    177       CALL msg('Tracer <' // TRIM(var) // '> is missing => initialized to <' // TRIM(oldVar) // '>', modname)
     177      CALL msg('Missing tracer <'//TRIM(var)//'> => initialized to <' // TRIM(oldVar) // '>', modname)
    178178      CALL get_var2(oldVar, q_glo); q(ijb_u:ije_u, :, iq) = q_glo(ijb_u:ije_u, :)
    179179      !--------------------------------------------------------------------------------------------------------------------------
     
    191191                  CALL abort_gcm(TRIM(modname), 'missing isotopic parameters', 1)
    192192        endif
    193         CALL msg('Tracer <' // TRIM(var) // '> is missing => initialized with a simplified Rayleigh distillation law.', modname)
     193        CALL msg('Missing tracer <'//TRIM(var)//'> => initialized with a simplified Rayleigh distillation law.', modname)
    194194        q(ijb_u:ije_u, :, iq) = q(ijb_u:ije_u, :, iqParent) * tnat * (q(ijb_u:ije_u, :, iqParent) / 30.e-3)**(alpha_ideal - 1.)
    195195        ! Camille 9 mars 2023: point de vigilence: initialisation incohérente
    196196        ! avec celle de xt_ancien dans la physiq.
    197197      ELSE
    198         CALL msg('Tracer <' // TRIM(var) // '> is missing => initialized to its parent isotope concentration.', modname)
     198        CALL msg('Missing tracer <'//TRIM(var)//'> => initialized to its parent isotope concentration.', modname)
    199199        ! Camille 9 mars 2023: attention!! seuls les tags qui correspondent à
    200200        ! izone=izone_init (définie dans isotrac_mod) sont initialisés comme
     
    210210      !--------------------------------------------------------------------------------------------------------------------------
    211211    ELSE                                                                                 !=== MISSING: SET TO 0
    212       CALL msg('Tracer <' // TRIM(var) // '> is missing => initialized to zero', modname)
     212      CALL msg('Missing tracer <'//TRIM(var)//'> => initialized to zero', modname)
    213213      q(ijb_u:ije_u, :, iq) = 0.
    214214      !--------------------------------------------------------------------------------------------------------------------------
  • LMDZ6/branches/Amaury_dev/libf/dyn3dmem/qminimum_loc.f90

    r5182 r5222  
    44  USE parallel_lmdz
    55  USE lmdz_infotrac, ONLY: niso, ntiso, iqIsoPha, tracers, &
    6           isoCheck, min_qParent
     6          isoCheck, min_qParent, addPhase
    77  USE lmdz_strings, ONLY: strIdx
    8   USE lmdz_readTracFiles, ONLY: addPhase
    98  USE lmdz_iniprint, ONLY: lunout, prt_level
    109
Note: See TracChangeset for help on using the changeset viewer.