pwd= '/home/jbf/ct/autoplot/script/bugs/1423/'

ds= getDataSet(pwd+'lanl-geo-LANL-02A_patag-detcal-l1_sopa_20130303_v01.cdf?Elec_Counts')
print ds, ' We will total over the 1st index, then the 1st index again.'
print ds[0,0,0,0]
ds1=  total(total(ds,1),1)/108.
print ds1
print ds1[0,1], ds1[1,1], ds1[2,1]

setLayoutOverplot(10)
for i in xrange(10):
    plot( i, ds1[:,i], ylog=1, yrange=[1e0,1e4] )
    
writeToPng('test037_demo1423.png')