Loading isis/src/tgo/apps/tgocassis2isis/tgocassis2isis.cpp +22 −12 Original line number Diff line number Diff line Loading @@ -52,6 +52,9 @@ void IsisMain() { } catch (IException &e) { translateLabels(xmlFileName, outputCube, transExportFile); // Try to translate a mapping group try { PvlGroup &dataDir = Preference::Preferences().findGroup("DataDirectory"); QString missionDir = (QString) dataDir["Tgo"]; FileName mapTransFile(missionDir + "/translations/tgoCassisMapping.trn"); Loading @@ -64,6 +67,13 @@ void IsisMain() { Pvl *outputLabel = outputCube->label(); labelXlater.Auto(*(outputLabel)); } catch (IException &e) { Pvl *outputLabel = outputCube->label(); if(outputLabel->hasGroup("Mapping")) { outputLabel->deleteGroup("Mapping"); } } } FileName outputCubeFileName(ui.GetFileName("TO")); Loading isis/src/tgo/apps/tgocassis2isis/tgocassis2isis.xml +3 −0 Original line number Diff line number Diff line Loading @@ -112,6 +112,9 @@ <change name="Kristin Berry and Makayla Shepherd" date="2018-05-15"> Updated to ingest images which have been exported using tgocassisrdrgen. Fixes #5418. </change> <change name="Kristin Berry and Makayla Shepherd" date="2018-05-15"> Updated to ingest Mapping groups from images have been exported using tgocassisrdrgen. Fixes #5418. </change> </history> <category> Loading isis/src/tgo/apps/tgocassis2isis/tsts/exportedFile/Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ commands: $(APPNAME) from=$(INPUT)/CAS-MCO-2016-11-26T22.50.30.181-RED-01012-B1_rdrgen.xml \ to=$(OUTPUT)/reingested_unproj.cub > /dev/null; catlab from=$(OUTPUT)/reingested_unproj.cub \ to=$(OUTPUT)/reingested_proj.pvl > /dev/null; to=$(OUTPUT)/reingested_unproj.pvl > /dev/null; # projected Loading Loading
isis/src/tgo/apps/tgocassis2isis/tgocassis2isis.cpp +22 −12 Original line number Diff line number Diff line Loading @@ -52,6 +52,9 @@ void IsisMain() { } catch (IException &e) { translateLabels(xmlFileName, outputCube, transExportFile); // Try to translate a mapping group try { PvlGroup &dataDir = Preference::Preferences().findGroup("DataDirectory"); QString missionDir = (QString) dataDir["Tgo"]; FileName mapTransFile(missionDir + "/translations/tgoCassisMapping.trn"); Loading @@ -64,6 +67,13 @@ void IsisMain() { Pvl *outputLabel = outputCube->label(); labelXlater.Auto(*(outputLabel)); } catch (IException &e) { Pvl *outputLabel = outputCube->label(); if(outputLabel->hasGroup("Mapping")) { outputLabel->deleteGroup("Mapping"); } } } FileName outputCubeFileName(ui.GetFileName("TO")); Loading
isis/src/tgo/apps/tgocassis2isis/tgocassis2isis.xml +3 −0 Original line number Diff line number Diff line Loading @@ -112,6 +112,9 @@ <change name="Kristin Berry and Makayla Shepherd" date="2018-05-15"> Updated to ingest images which have been exported using tgocassisrdrgen. Fixes #5418. </change> <change name="Kristin Berry and Makayla Shepherd" date="2018-05-15"> Updated to ingest Mapping groups from images have been exported using tgocassisrdrgen. Fixes #5418. </change> </history> <category> Loading
isis/src/tgo/apps/tgocassis2isis/tsts/exportedFile/Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ commands: $(APPNAME) from=$(INPUT)/CAS-MCO-2016-11-26T22.50.30.181-RED-01012-B1_rdrgen.xml \ to=$(OUTPUT)/reingested_unproj.cub > /dev/null; catlab from=$(OUTPUT)/reingested_unproj.cub \ to=$(OUTPUT)/reingested_proj.pvl > /dev/null; to=$(OUTPUT)/reingested_unproj.pvl > /dev/null; # projected Loading