Commit 555cc954 authored by Kristin Berry's avatar Kristin Berry
Browse files

PROG: Update location of Archive file for tgocassis2isis and add some units. References #4584

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@7395 41f8697f-d340-4b68-9986-7bafba869bb8
parent b4e18ac9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -267,7 +267,7 @@ void translateLabels(FileName &inputLabel, Cube *outputCube) {
  bandBin.findKeyword("Width").setUnits("nm");

  // Create the Archive Group
  FileName archiveTransFile(missionDir + "/translations/tgoArchive.trn");
  FileName archiveTransFile(missionDir + "/translations/tgoCassisArchive.trn");
  XmlTranslationManager archiveXlater(inputLabel, archiveTransFile.expanded());

  // Pvl output label
@@ -278,6 +278,8 @@ void translateLabels(FileName &inputLabel, Cube *outputCube) {
  iTime stime(outputLabel->findGroup("Instrument", Pvl::Traverse)["StartTime"][0]);
  PvlKeyword yeardoy("YearDoy", toString(stime.Year()*1000 + stime.DayOfYear()));
  outputLabel->findGroup("Archive", Pvl::Traverse).addKeyword(yeardoy);
  outputLabel->findGroup("Archive", Pvl::Traverse).findKeyword("PredictMaximumExposureTime").
                                                  setUnits("ms");

  // Setup the kernel group
  PvlGroup kern("Kernels");