Unverified Commit e2c8e6ed authored by Summer Stapleton's avatar Summer Stapleton Committed by GitHub
Browse files

Merge pull request #178 from AgoinsUSGS/cassis

Added spacecraftName and instrumentId to mosaic group
parents 13c1c190 dbaa14e3
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -172,6 +172,9 @@ void IsisMain() {
    // get the value from the original label blob
    QString startClock;
    QString startTime;
    QString instrumentId;
    QString spacecraftName;

    for(int i = 0; i < (int)clist.size(); i++) {
      // himos used original label here.

@@ -181,6 +184,8 @@ void IsisMain() {
      if(i == 0) {
        startClock = (QString)timegrp["SpacecraftClockStartCount"];
        startTime = (QString)timegrp["StartTime"];
        instrumentId = (QString) timegrp["InstrumentId"];
        spacecraftName = (QString) timegrp["SpacecraftName"];
      }
      else {
        QString testStartTime = (QString)timegrp["StartTime"];
@@ -214,6 +219,8 @@ void IsisMain() {

    PvlGroup mos("Mosaic");
    mos += PvlKeyword("ProductId ", ProdId);
    mos += PvlKeyword("SpacecraftName", spacecraftName);
    mos += PvlKeyword("InstrumentId", instrumentId);
//     mos += PvlKeyword(sourceProductId);
    mos += PvlKeyword("StartTime ", startTime);
    mos += PvlKeyword("SpacecraftClockStartCount ", startClock);
+6 −3
Original line number Diff line number Diff line
@@ -33,6 +33,9 @@
    <change name="Makayla Shepherd" date="2018-05-09">
      Original version.
    </change>
    <change name="Adam Goins" date="2018-05-17">
      Added SpacecraftName and InstrumentId to mosaic group.
    </change>
  </history>

  <groups>