Unverified Commit 6fcc012f authored by jcwbacker's avatar jcwbacker Committed by GitHub
Browse files

Merge pull request #251 from kberryUSGS/CaSSIS_Pipeline

Update tgocassismos to look for the ObservationId in the Archive grou…
parents 465f7722 3ac7fac8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -175,11 +175,12 @@ void IsisMain() {

      Pvl *origLab = cubeList[i]->label();
      PvlGroup instGroup = origLab->findGroup("Instrument", Pvl::Traverse);
      PvlGroup archiveGroup = origLab->findGroup("Archive", Pvl::Traverse);

      if (i == 0) {
        spacecraftName = instGroup["SpacecraftName"][0];
        instrumentId =   instGroup["InstrumentId"][0];
        observationId =  instGroup["ObservationId"][0];
        observationId =  archiveGroup["ObservationId"][0];
        startTime =      instGroup["StartTime"][0];
        startClock =     instGroup["SpacecraftClockStartCount"][0];
      }
@@ -237,6 +238,7 @@ void IsisMain() {

  }
  catch(IException &e) {
    e.print();
    for (int i = 0; i < (int)cubeList.size(); i++) {
      cubeList[i]->close();
      delete cubeList[i];
+3 −0
Original line number Diff line number Diff line
@@ -39,6 +39,9 @@
    <change name="Kristin Berry" date="2018-06-12">
      Removed the "_filtername" from the ProductId. 
    </change>
    <change name="Kristin Berry" date="2018-06-16">
      Update to read the ObservationId from the Archive Group. 
    </change>
  </history>

  <groups>