Changeset 922


Ignore:
Timestamp:
03/24/06 13:29:57 (18 years ago)
Author:
mar637
Message:

fixed type azimuth and elevation types to be float. fixed pattern match fro Tid reference scans.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STFiller.cpp

    r905 r922  
    237237    RecordFieldPtr<Int> srctCol(rec, "SRCTYPE");
    238238    // try to auto-identify if it is on or off.
    239     Regex rx(".*_[e|w|R]$");
    240     Regex rx2("_[e|w|R|S]$");
     239    Regex rx(".*[e|w|_R]$");
     240    Regex rx2("[e|w|_R|_S]$");
    241241    Int match = srcName.matches(rx);
    242242    if (match) {
     
    278278    RecordFieldPtr<Array<Double> > dirCol(rec, "DIRECTION");
    279279    *dirCol = direction;
    280     RecordFieldPtr<Double> azCol(rec, "AZIMUTH");
     280    RecordFieldPtr<Float> azCol(rec, "AZIMUTH");
    281281    *azCol = azimuth;
    282     RecordFieldPtr<Double> elCol(rec, "ELEVATION");
     282    RecordFieldPtr<Float> elCol(rec, "ELEVATION");
    283283    *elCol = elevation;
    284284
Note: See TracChangeset for help on using the changeset viewer.