Commit 6ebb4f61 authored by Kristin Berry's avatar Kristin Berry
Browse files

Updated to use the tgoCassisExportMosaic.trn translation file if the input cube is a mosaic

parent 13141629
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -110,8 +110,16 @@ void IsisMain() {
  * Add additional pds label data here
  */
  QDomDocument &pdsLabel = process.GetLabel();
  PvlToXmlTranslationManager cubeLab(*(icube->label()),
                                    "$tgo/translations/tgoCassisExport.trn");


  // The default translation for for non-mosaicked output
  QString exportTranslationFile = "$tgo/translations/tgoCassisExport.trn"; 

  if (logicalId.contains("data_mosaic")) {
    exportTranslationFile = "$tgo/translations/tgoCassisExportMosaic.trn";
  }

  PvlToXmlTranslationManager cubeLab(*(icube->label()), exportTranslationFile);
  cubeLab.Auto(pdsLabel);

  ProcessExportPds4::translateUnits(pdsLabel);
+3 −0
Original line number Diff line number Diff line
@@ -38,6 +38,9 @@
      the Instrument group, the cube will have a Mosaic group. So, the ProductId
      will now be written to the Mosaic group.
    </change>
    <change name="Kristin Berry" date="2018-06-12">
      Updated to use the tgoCassisExportMosaic.trn translation file when the input cube is a mosaic.
    </change>
  </history>

  <category>