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

missing bits from r5199 merge

File:
1 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        !--------------------------------------------------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.