from org.autoplot.datasource import URISplit

resourceURI = 'Str[s=file:/home/jbf/project/juno/git/juno/u/sadie/2020/20200206dig/pj7_flhr_s.dat]'
from org.autoplot.datasource import URISplit
split__CLASSTYPE = URISplit # (line895)









def makeBundleDescriptor( data ):
    bds= zeros(data.length(0),0)
    bds.putProperty(QDataSet.NAME,0,'x')
    bds.putProperty(QDataSet.UNITS,0,Units.t2000)
    bds.putProperty(QDataSet.NAME,1,'y')
    bds.putProperty(QDataSet.UNITS,1,Units.hertz)
    bds.putProperty(QDataSet.NAME,2,'BMag')
    bds.putProperty(QDataSet.UNITS,2,Units.nT)

    bds.putProperty(QDataSet.NAME,3,'Fce')
    bds.putProperty(QDataSet.UNITS,3,Units.nT)

    bds.putProperty(QDataSet.NAME,4,'Fci')
    bds.putProperty(QDataSet.UNITS,4,Units.nT)

    bds.putProperty(QDataSet.NAME,5,'Fpe')
    bds.putProperty(QDataSet.UNITS,5,Units.nT)

    bds.putProperty(QDataSet.NAME,6,'Fpe_Fce')
    bds.putProperty(QDataSet.UNITS,6,Units.dimensionless)

    bds.putProperty(QDataSet.NAME,7,'Fuhr')
    bds.putProperty(QDataSet.UNITS,7,Units.hertz)

    bds.putProperty(QDataSet.NAME,8,'Flhr')
    bds.putProperty(QDataSet.UNITS,8,Units.nT)

    bds.putProperty(QDataSet.NAME,9,'F_L0')
    bds.putProperty(QDataSet.UNITS,9,Units.hertz)

    bds.putProperty(QDataSet.NAME,10,'F_R0')
    bds.putProperty(QDataSet.UNITS,10,Units.hertz)

    bds.putProperty(QDataSet.NAME,11,'N_e')
    bds.putProperty(QDataSet.UNITS,11,Units.pcm3)
    
    bds.putProperty(QDataSet.NAME,12,'markedType')
    bds.putProperty(QDataSet.NAME,13,'visualFeature')
    bds.putProperty(QDataSet.NAME,14,'qualityIndex')
    bds.putProperty(QDataSet.NAME,15,'comment')
    
    return bds
    
data__CLASSTYPE = QDataSet    # return type from getDataSet (spot line789)
markedTypes__CLASSTYPE = QDataSet    # ( spot line 898 )
F_L__CLASSTYPE = QDataSet    # ( spot line 898 )
uu__CLASSTYPE = QDataSet    # return type from getDataSet (spot line789)
uu__CLASSTYPE = QDataSet    # return type from getDataSet (spot line789)
uu__CLASSTYPE = QDataSet    # return type from getDataSet (spot line789)
uu__CLASSTYPE = QDataSet    # return type from getDataSet (spot line789)
fci__CLASSTYPE = QDataSet    # ( spot line 898 )
fpe__CLASSTYPE = QDataSet    # ( spot line 898 )
fce__CLASSTYPE = QDataSet    # ( spot line 898 )
bmag__CLASSTYPE = QDataSet    # ( spot line 898 )
markedValue__CLASSTYPE = QDataSet    # ( spot line 898 )
























def putProperties( ds, label='', units='' ):
    if label!='':
        name= label
        name=name.replace('/','_')
        ds.putProperty( QDataSet.NAME, name )
        ds.putProperty( QDataSet.LABEL, label )
    if units!='':
        ds.putProperty( QDataSet.UNITS, units )