[kepler-dev] [Bug 5335] New: SpanToDT should write metadata first rather than data when it starts up

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Mar 3 11:32:25 PST 2011


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5335

           Summary: SpanToDT should write metadata first rather than data
                    when it starts up
           Product: Kepler
           Version: 1.x dev
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sensor-view
        AssignedTo: barseghian at nceas.ucsb.edu
        ReportedBy: tao at nceas.ucsb.edu
         QAContact: kepler-dev at kepler-project.org
   Estimated Hours: 0.0


When i starts the SpanToDT, here are the statement from sdtout:

      [run] archive size (in frames):1000000
      [run] cache size (in frames):2
      [run] flushing every 60 seconds
      [run] detaching every 60 flushes, which is every 3600 seconds
      [run] writing full metadata every 1 minutes
      [run] connected to span data.
      [run] connected to span metadata.
      [run] wrote data (PutDataAsFlaot64): 68.3531692080818 to channelIndex:0
for time:1.299178964002E9
      [run] wrote data (PutDataAsFlaot64): 93.76955538060749 to channelIndex:2
for time:1.299178964006E9
      [run] wrote data (PutDataAsFlaot64): 2.411074232369337 to channelIndex:0
for time:1.299178966003E9
       ....................................................
       ....................................................
      [run] wrote data (PutDataAsFlaot64): 98.79339411591688 to channelIndex:2
for time:1.299179022017E9

      [run] flushed at Thu Mar 03 11:03:43 PST 2011
      [run] wrote metadata (PutDataAsString): CR800_sensor0
coefficients=,conversion-type=Linear,isOn=true,latitude=32.884164,longitude=-117.239957,measurement-unit=degrees
Celsius,sampleMethod=average,samples-per-measurement=10,samplingPeriod=2,sensor-make=Vaisala,sensor-measurement=Temperature,sensor-model=HMP45A,serial-number=B3310000
to channelIndex:1 for time:1.299179023898E9
      [run] wrote metadata (PutDataAsString): CR800_sensor1
coefficients=,conversion-type=Linear,isOn=true,latitude=32.884243999999995,longitude=-117.239457,measurement-unit=degrees
Celsius,sampleMethod=average,samples-per-measurement=10,samplingPeriod=2,sensor-make=Vaisala,sensor-measurement=Temperature,sensor-model=HMP45A,serial-number=B3310001
to channelIndex:3 for time:1.299179023902E9


For sensor0, the first writing data happened at 1.299178964002E9, but the first
writing metadata at 1.299179023898E9.

So it wrote data first, then wrote metadata after a while. But we needs the
opposite way: writing metadata before writing data.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list