Loading isis/src/tgo/apps/tgocassisrdrgen/tgocassisrdrgen.cpp +10 −2 Original line number Diff line number Diff line Loading @@ -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); Loading isis/src/tgo/apps/tgocassisrdrgen/tgocassisrdrgen.xml +3 −0 Original line number Diff line number Diff line Loading @@ -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> Loading Loading
isis/src/tgo/apps/tgocassisrdrgen/tgocassisrdrgen.cpp +10 −2 Original line number Diff line number Diff line Loading @@ -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); Loading
isis/src/tgo/apps/tgocassisrdrgen/tgocassisrdrgen.xml +3 −0 Original line number Diff line number Diff line Loading @@ -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> Loading