Unverified Commit 10663193 authored by jcwbacker's avatar jcwbacker Committed by GitHub
Browse files

Merge pull request #247 from kberryUSGS/CaSSIS_Pipeline

Added geometry schema to pds4 header in tgocassisrdrgen when the inpu…
parents fc3a6cb0 3f3aa39b
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -74,17 +74,27 @@ void IsisMain() {
  targetGroup.addKeyword(productId);  
  logicalId += productId[0];
  process.setLogicalId(logicalId);

  // std PDS4 label
  process.StandardPds4Label();

  process.addSchema("PDS4_PSA_1000.sch", 
                    "PDS4_PSA_1000.xsd",
                    "xmlns:psa", 
                    "http://psa.esa.int/psa/v1");

  process.addSchema("PDS4_PSA_EM16_CAS_1000.sch", 
                    "PDS4_PSA_EM16_CAS_1000.xsd",
                    "xmlns",
                    "http://psa.esa.int/psa/em16/cas/v1");

  // std PDS4 label
  process.StandardPds4Label();
  // Add geometry schema for mosaics
  if (label->findObject("IsisCube").hasGroup("Mosaic")) {
    process.addSchema("PDS4_GEOM_1900_1510.sch", 
                      "PDS4_GEOM_1900_1510.xsd",
                      "xmlns:geom",
                      "https://pds.jpl.nasa.gov/datastandards/schema/released/geom/v1");
  }


 /*