Ticket #56 (closed: fixed)

Opened 13 years ago

Last modified 5 years ago

Create a LoadLog algorthim (as a child to the LoadRaw algrothim)

Reported by: Nick Draper Owned by: Anders Markvardsen
Priority: major Milestone: Iteration 4
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Create a LoadLog algorthim (as a child to the LoadRaw algrothim).

This is to load the log files associated with a raw file. This will need to use a lookup table and best guesses to fill sample properties based on the log file name.

Change History

comment:1 Changed 13 years ago by Nick Draper

  • Owner set to Anders Markvardsen

comment:2 Changed 13 years ago by Anders Markvardsen

  • Status changed from new to assigned

comment:3 Changed 13 years ago by Russell Taylor

(In [373]) The outline of a class that holds properties as a time series. Re #56.

comment:4 Changed 13 years ago by Russell Taylor

(In [381]) Added a Sample class that hangs off Workspace. Will mainly hold data from logfiles. Re #56.

comment:5 Changed 13 years ago by Russell Taylor

(In [382]) Really adding it this time. Re #56.

comment:6 Changed 13 years ago by Russell Taylor

(In [383]) Must keep VS happy. Re #56.

comment:7 Changed 13 years ago by Anders Markvardsen

(In [390]) Added LoadLog class and implementation which allows a log files of .txt type to be loaded into a TimeSeriesProperty object. Changed the TimeSeriesProprety to use Boost data-and-time class ptime and added the win32 libries which these uses. Refs #56.

comment:8 Changed 13 years ago by Freddie Akeroyd

(In [391]) Change strstream to stringstream. Refs #56.

comment:9 Changed 13 years ago by Russell Taylor

(In [408]) Added tests for TimeSeriesProperty. Re #56.

comment:10 Changed 13 years ago by Russell Taylor

(In [409]) Added tests for TimeSeriesProperty. Re #56.

comment:11 Changed 13 years ago by Russell Taylor

(In [411]) Added a catch on a possible exception. Re #56.

comment:12 Changed 13 years ago by Nick Draper

About 85% done, needs to be linked to the properties classes and to add the unit tests

comment:13 Changed 13 years ago by Nick Draper

  • Milestone changed from Iteration 3 to Iteration 4

comment:14 Changed 13 years ago by Anders Markvardsen

(In [486]) Implemented the bulk of the code for LoadLog. Allow it accept either a raw datafile or a specific log filename as input. However, still needs to get the created Property objects to be accepted by the Sample object. Refs #56.

comment:15 Changed 13 years ago by Anders Markvardsen

(In [487]) Cleared Doxygen warnings from commit 486. Refs #56.

comment:16 Changed 13 years ago by Anders Markvardsen

(In [492]) LoadLog class doc and comments updated and log files now stored in Sample object. Refs #56.

comment:17 Changed 13 years ago by Anders Markvardsen

(In [528]) Added test to LoadLog. Refs #56.

comment:18 Changed 13 years ago by Anders Markvardsen

(In [529]) Added bool m_isChildAlgorithm to Algorithm in connection with improving the handling of a possible FileError exception thrown from LoadLog. Refs #56.

comment:19 Changed 13 years ago by Anders Markvardsen

(In [530]) Modified TimeSeriesPropertyTest. Required since method value() of TimeSeriesProperty was modified in commit 528. Refs #56.

comment:20 Changed 13 years ago by Anders Markvardsen

(In [571]) Added support for .s raw files to LoadLog. Refs #56.

comment:21 Changed 13 years ago by Anders Markvardsen

  • Status changed from assigned to closed
  • Resolution set to fixed

Code for LoadLog has been written. LoadLog accepts .s# .raw files and the filename of a specific log files (.txt format), where # is a some integer.

Log files are read into TimeSeriesProperty objects. In a TimeSeriesProperty object the log files are stored in a STL map. It was mentioned that we may consider replacing this map with another STL container at some point; when scanning through many log files it might be more efficient to use for instance a STL vector...

comment:22 Changed 13 years ago by Anders Markvardsen

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:23 Changed 13 years ago by Anders Markvardsen

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [632]) Improvement of the doc for a method of TimeSeriesProperty. Fixes #56.

comment:24 Changed 13 years ago by Anders Markvardsen

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:25 Changed 13 years ago by Anders Markvardsen

(In [671]) Boost data-and-time replaced by time_t and tm struct. Refs #56.

comment:26 Changed 13 years ago by Anders Markvardsen

  • Status changed from reopened to closed
  • Resolution set to fixed

comment:27 Changed 13 years ago by Nick Draper

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:28 Changed 13 years ago by Nick Draper

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [673]) Closes #56 Improved output date format to 2007-Dec-31 12:10:20

comment:29 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 904

Note: See TracTickets for help on using tickets.