Ignore:
Timestamp:
Feb 10, 2023, 2:35:11 PM (16 months ago)
Author:
dcugnet
Message:

Fix for old tracers files and inca: all the keys must be accessible using "getKey", even
the "explicit" keys from "tracers" accessible withe the "%" sign. "parent" was missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/infotrac_phy.F90

    r4403 r4429  
    271271      vadv(1:nqo+nqCO2) = vad(:); vadv(1+nqo+nqCO2:nqtrue) = vadv_inca
    272272      CALL MOVE_ALLOC(FROM=ttr, TO=tracers)
     273      DO iq = 1, nqtrue
     274         t1 => tracers(iq)
     275         CALL addKey_1('name',      t1%name,      t1%keys)
     276         CALL addKey_1('component', t1%component, t1%keys)
     277         CALL addKey_1('parent',    t1%parent,    t1%keys)
     278         CALL addKey_1('phase',     t1%phase,     t1%keys)
     279      END DO
    273280      IF(setGeneration(tracers)) CALL abort_gcm(modname,'See below',1) !- SET FIELDS %iGeneration, %gen0Name
    274281      DEALLOCATE(had, hadv_inca, vad, vadv_inca, conv_flg_inca, pbl_flg_inca, solsym_inca)
Note: See TracChangeset for help on using the changeset viewer.