Changeset 349


Ignore:
Timestamp:
15/07/15 07:17:37 (5 years ago)
Author:
mjuckes
Message:

new ccmi table .. satdaily

Location:
CCCC/trunk/ceda_cc
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • CCCC/trunk/ceda_cc/comp_mip.py

    r216 r349  
    261261  ml = ['CCMI1_Amon_v2_complete'] 
    262262  ml = ['CCMI1_annual_comp-v3.txt', 'CCMI1_daily_comp-v3.txt', 'CCMI1_fixed_comp-v2.txt', 'CCMI1_hourly_comp-v3.txt', 'CCMI1_monthly_comp-v3.txt'] 
    263   ml = ['CCMI1_annual', 'CCMI1_daily', 'CCMI1_fixed', 'CCMI1_hourly', 'CCMI1_monthly'] 
     263  ml = ['CCMI1_satdaily', 'CCMI1_annual', 'CCMI1_daily', 'CCMI1_fixed', 'CCMI1_hourly', 'CCMI1_monthly'] 
    264264  mpat = 'CCMI1_%s_v1_complete' 
    265265  newMipDir = 'ccmi1-cmor-tables/Tables/' 
  • CCCC/trunk/ceda_cc/extractMipInfo.py

    r343 r349  
    608608 
    609609ms = mipTableScan() 
     610print ms.al 
    610611snc = snlist() 
    611612snl, snla = snc.gen_sn_list( ) 
     
    618619"specs":NT_mip( 'specs', 'specs_vocabs/mip/', 'SPECS_*') } 
    619620 
    620 mipl = mips.keys() 
    621621mipl = ['specs'] 
    622622mipl = ['cordex','cmip5'] 
     623mipl = mips.keys() 
    623624mips = map( lambda x: mips[x], mipl ) 
    624625r = run() 
     
    644645s.exportHtml( 4 ) 
    645646s.exportHtml( 5 ) 
     647 
     648 
     649import collections 
     650ee = collections.defaultdict( int ) 
     651## e.m.td['CMIP5_6hrPlev']['va'][1].keys() 
     652for k1 in m.td.keys(): 
     653  for k2 in m.td[k1].keys(): 
     654    for k3 in m.td[k1][k2][1].keys(): 
     655      ee[k3] += 1 
Note: See TracChangeset for help on using the changeset viewer.