Loading isis/src/tgo/apps/tgocassisrdrgen/tgocassisrdrgen.cpp +14 −3 Original line number Diff line number Diff line Loading @@ -43,6 +43,17 @@ void IsisMain() { throw IException(IException::User, msg, _FILEINFO_); } if ( ui.WasEntered("PRODID")) { PvlGroup &archiveGroup = label->findObject("IsisCube").findGroup("Archive"); try { PvlKeyword &prodId = archiveGroup.findKeyword("ProductId"); prodId.setValue( ui.GetString("PRODID") ); } catch (IException &e) { archiveGroup.addKeyword( PvlKeyword("ProductId", ui.GetString("PRODID")) ); } } /* * Add additional pds label data here */ Loading isis/src/tgo/apps/tgocassisrdrgen/tgocassisrdrgen.xml +18 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,10 @@ <change name="Marjorie Hahn" date="2017-06-08"> Moved code to write out .img and .xml PDS4 data to WritePds4 in ProcessExportPds4. </change> <change name="Kaitlyn Lee" date="2018-05-16"> Added parameter PRODID to set the ProductId keyword. If the keyword does not exist in the label, it will add it. </change> </history> <category> Loading Loading @@ -65,5 +69,18 @@ <filter>*.img</filter> </parameter> </group> <group name="Keywords"> <parameter name="PRODID"> <type>string</type> <brief> Poduct ID value </brief> <description> Update the default Product ID value. </description> </parameter> </group> </groups> </application> Loading
isis/src/tgo/apps/tgocassisrdrgen/tgocassisrdrgen.cpp +14 −3 Original line number Diff line number Diff line Loading @@ -43,6 +43,17 @@ void IsisMain() { throw IException(IException::User, msg, _FILEINFO_); } if ( ui.WasEntered("PRODID")) { PvlGroup &archiveGroup = label->findObject("IsisCube").findGroup("Archive"); try { PvlKeyword &prodId = archiveGroup.findKeyword("ProductId"); prodId.setValue( ui.GetString("PRODID") ); } catch (IException &e) { archiveGroup.addKeyword( PvlKeyword("ProductId", ui.GetString("PRODID")) ); } } /* * Add additional pds label data here */ Loading
isis/src/tgo/apps/tgocassisrdrgen/tgocassisrdrgen.xml +18 −1 Original line number Diff line number Diff line Loading @@ -29,6 +29,10 @@ <change name="Marjorie Hahn" date="2017-06-08"> Moved code to write out .img and .xml PDS4 data to WritePds4 in ProcessExportPds4. </change> <change name="Kaitlyn Lee" date="2018-05-16"> Added parameter PRODID to set the ProductId keyword. If the keyword does not exist in the label, it will add it. </change> </history> <category> Loading Loading @@ -65,5 +69,18 @@ <filter>*.img</filter> </parameter> </group> <group name="Keywords"> <parameter name="PRODID"> <type>string</type> <brief> Poduct ID value </brief> <description> Update the default Product ID value. </description> </parameter> </group> </groups> </application>