Loading isis/src/tgo/apps/tgocassis2isis/tgocassis2isis.cpp +8 −2 Original line number Diff line number Diff line Loading @@ -216,7 +216,13 @@ void translateLabels(FileName &inputLabel, Cube *outputCube, QString instTransFi subXlater.Auto(*(outputLabel)); // Create YearDoy keyword in Archive group iTime stime(outputLabel->findGroup("Instrument", Pvl::Traverse)["StartTime"][0]); PvlKeyword *startTime = &outputLabel->findGroup("Instrument", Pvl::Traverse)["StartTime"]; QString startTimeString = startTime[0]; if (QString::compare(startTimeString.at(startTimeString.size() - 1), "Z", Qt::CaseInsensitive) == 0){ startTimeString = startTimeString.left(startTimeString.length() - 1); startTime->setValue(startTimeString); } iTime stime(startTimeString); PvlGroup &archive = outputLabel->findGroup("Archive", Pvl::Traverse); Loading isis/src/tgo/apps/tgocassis2isis/tgocassis2isis.xml +4 −0 Original line number Diff line number Diff line Loading @@ -115,6 +115,10 @@ <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> <change name="Summer Stapleton" date="2018-05-22"> Stripped the "Z" from the StartTime value in the "Instrument" group to handle re-ingestion of PDS4 compliant .xml files. </change> </history> <category> Loading Loading
isis/src/tgo/apps/tgocassis2isis/tgocassis2isis.cpp +8 −2 Original line number Diff line number Diff line Loading @@ -216,7 +216,13 @@ void translateLabels(FileName &inputLabel, Cube *outputCube, QString instTransFi subXlater.Auto(*(outputLabel)); // Create YearDoy keyword in Archive group iTime stime(outputLabel->findGroup("Instrument", Pvl::Traverse)["StartTime"][0]); PvlKeyword *startTime = &outputLabel->findGroup("Instrument", Pvl::Traverse)["StartTime"]; QString startTimeString = startTime[0]; if (QString::compare(startTimeString.at(startTimeString.size() - 1), "Z", Qt::CaseInsensitive) == 0){ startTimeString = startTimeString.left(startTimeString.length() - 1); startTime->setValue(startTimeString); } iTime stime(startTimeString); PvlGroup &archive = outputLabel->findGroup("Archive", Pvl::Traverse); Loading
isis/src/tgo/apps/tgocassis2isis/tgocassis2isis.xml +4 −0 Original line number Diff line number Diff line Loading @@ -115,6 +115,10 @@ <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> <change name="Summer Stapleton" date="2018-05-22"> Stripped the "Z" from the StartTime value in the "Instrument" group to handle re-ingestion of PDS4 compliant .xml files. </change> </history> <category> Loading