Commit 3ac7fac8 authored by Kristin Berry's avatar Kristin Berry
Browse files

Update tgocassismos to look for the ObservationId in the Archive group, not the Instrument group

parent b65e5202
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>