Changeset 23 for readTracFiles_mod.f90


Ignore:
Timestamp:
Sep 22, 2022, 12:09:43 PM (2 years ago)
Author:
dcugnet
Message:

Fix to force the water phases to get the "lmdz" component tag in the case of older "traceur.def" files.
Needed because the computation of nqo now uses the %component key.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • readTracFiles_mod.f90

    r22 r23  
    158158        tracs(it)%phase = known_phases(ip:ip)                        !--- Set %phase:  tracer phase (default: "g"azeous)
    159159        tracs(it)%component = TRIM(type_trac)                        !--- Set %component: model component name
     160        IF(ANY([(addPhase('H2O', ip), ip=1, nphases)] == tracs(it)%name)) tracs(it)%component = 'lmdz'
    160161        tracs(it)%keys%key = ['hadv', 'vadv']                        !--- Set %keys%key
    161162        tracs(it)%keys%val = s(1:2)                                  !--- Set %keys%val
Note: See TracChangeset for help on using the changeset viewer.