Ignore:
Timestamp:
07/04/17 23:15:53 (3 years ago)
Author:
mjuckes
Message:

01.00.06

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/src/framework/audit.py

    r967 r972  
    249249    badzm = set() 
    250250    badzmt = set() 
     251    spidmap = {'XY-AH':'XY-A/AH','XY-A':'XY-A/AH'} 
    251252    for i in self.dq.coll['CMORvar'].items: 
    252253      if i.mipTable in zmtabsi and (i.stid not in zmstr): 
     
    264265      else: 
    265266        st = self.dq.inx.uid[i.stid] 
    266         ccmv6[ (i.frequency,i.label,st.spid,st.tmid)].append((i,st)) 
     267        sp = self.dq.inx.uid[st.spid] 
     268        ccmv6[ (i.frequency,i.label,spidmap.get(sp.label,sp.label),st.tmid)].append((i,st)) 
    267269      if i.modeling_realm in ['','__unset__']: 
    268270        badRealm.add( (i.mipTable, i.label ) ) 
Note: See TracChangeset for help on using the changeset viewer.