Data Rate of LABOCA

You can compute the data rate of LABOCA using this python script :

   1 from boa import BoaDataEntity
   2 
   3 BoaDir.setInDir('/apex_archive/rawdata/T-77.F-0002-2006/')
   4 BoaDir.findInDir()
   5 
   6 time  = 0
   7 space = 0
   8 for scan in BoaDir.CurrentList:
   9     if not scan['status']:
  10         continue
  11     space += scan['Size']
  12 
  13     data = BoaDataEntity.DataEntity()
  14     # Get a precise time measurement
  15     data.read(scan['filename'])
  16     time += (data.ScanParam.MJD[-1]-data.ScanParam.MJD[0])*86400/3600
  17     data = 0
  18 
  19 print "Laboca data filling rate : %f4.2 MB/h on sky"%(space/time)

On Thu Sep 21 2006, this script produce : Laboca data filling rate : 0.78 MB/h on sky

boawiki: Documentation/Boa_White_Board/DataRate (last edited 2009-12-17 15:40:31 by localhost)