Ignore:
Timestamp:
09/09/16 16:33:28 (4 years ago)
Author:
mjuckes
Message:

bug in scope_utils

File:
1 edited

Legend:

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

    r701 r744  
    2929 
    3030vars = {i.label: {'long_name':i.title, 'standard_name':i.sn, 'units':i.units, 'usage':sorted(list(vUsage[i.uid])), 'prov':'%s {%s}' % (i.prov,i.provmip)} for i in dq.coll['var'].items if i.uid in vUsage } 
    31 info = {'version':dq.version, 'source':'Data Request', 'author':'Martin Juckes', 'creation_date':time.ctime()} 
     31info = {'version':dq.version, 'source':'Data Request', 'author':'Martin Juckes (martin.juckes@stfc.ac.uk)', 'creation_date':time.ctime()} 
    3232oo = open( 'CV_var.json', 'w' ) 
    33 json.dump( {'info':info, 'data':vars}, oo, indent=4, sort_keys=True ) 
     33json.dump( {'info':info, 'variable':vars}, oo, indent=4, sort_keys=True ) 
    3434oo.close() 
Note: See TracChangeset for help on using the changeset viewer.